Exemple #1
0
 static void Main(string[] args)
 {
     _mdapi = MarketApi.CreateMarketApi("tmp/", false, false);
     _mdapi.OnFrontConnected     += OnFrontConnectd;
     _mdapi.OnRspUserLogin       += OnRspUserLogin;
     _mdapi.OnRtnDepthMarketData += OnRtnDepthMarketData;
     _mdapi.RegisterFront("tcp://180.168.146.187:10131");
     _mdapi.Init();
     Console.ReadLine();
     _mdapi.Release();
 }