Esempio n. 1
0
        private void button5_Click(object sender, EventArgs e)
        {
            MdApi md  = MdApi.Instance;
            int   ret = md.Init("*****@*****.**", "Chs771005", MDMode.MD_MODE_NULL);

            if (ret != 0)
            {
                //登录失败
                return;
            }
            List <FinancialIndex> finance = md.GetLastNFinancialIndex("SHSE.600006", 3);

            ShowData(finance.OfType <object>().ToList());
        }