示例#1
0
 public void Run()
 {
     _t.OnFrontConnected += _t_OnFrontConnected;
     _t.OnRspUserLogout  += _t_OnRspUserLogout;
     _t.OnRspUserLogin   += _t_OnRspUserLogin;
     _t.OnRtnOrder       += _t_OnRtnOrder;
     _t.OnRtnTrade       += _t_OnRtnTrade;
     _t.OnRtnCancel      += _t_OnRtnCancel;
     _t.ReqConnect("tcp://180.168.146.187:10000");
 }
示例#2
0
 public void Run()
 {
     _t.OnFrontConnected += _t_OnFrontConnected;
     _t.OnRspUserLogout  += _t_OnRspUserLogout;
     _t.OnRspUserLogin   += _t_OnRspUserLogin;
     _t.OnRtnOrder       += _t_OnRtnOrder;
     _t.OnRtnTrade       += _t_OnRtnTrade;
     _t.OnRtnCancel      += _t_OnRtnCancel;
     _t.ReqConnect(_tcp_ip_trade);
 }
示例#3
0
 public void Run()
 {
     _t.OnFrontConnected += _t_OnFrontConnected;
     _t.OnRspUserLogout  += _t_OnRspUserLogout;
     _t.OnRspUserLogin   += _t_OnRspUserLogin;
     _t.OnRtnOrder       += _t_OnRtnOrder;
     _t.OnRtnTrade       += _t_OnRtnTrade;
     _t.OnRtnCancel      += _t_OnRtnCancel;
     _t.OnRtnNotice      += _t_OnRtnNotice;
     _t.ReqConnect("tcp://180.168.146.187:10000");
     //_t.ReqConnect("tcp://218.202.237.33:10002");
     //_t.ReqConnect("tcp://172.20.28.57:41205");
 }