Exemplo n.º 1
0
 public TraderApiWrapper()
 {
     //_fnOnConnect_Holder = OnConnect_callback;
     //_fnOnDisconnect_Holder = OnDisconnect_callback;
     //_fnOnErrRtnOrderAction_Holder = OnErrRtnOrderAction_callback;
     //_fnOnErrRtnOrderInsert_Holder = OnErrRtnOrderInsert_callback;
     //_fnOnRspError_Holder = OnRspError_callback;
     //_fnOnRspOrderAction_Holder = OnRspOrderAction_callback;
     //_fnOnRspOrderInsert_Holder = OnRspOrderInsert_callback;
     //_fnOnRspQryDepthMarketData_Holder = OnRspQryDepthMarketData_callback;
     //_fnOnRspQryInstrument_Holder = OnRspQryInstrument_callback;
     //_fnOnRspQryInstrumentCommissionRate_Holder = OnRspQryInstrumentCommissionRate_callback;
     //_fnOnRspQryInstrumentMarginRate_Holder = OnRspQryInstrumentMarginRate_callback;
     //_fnOnRspQryInvestorPosition_Holder = OnRspQryInvestorPosition_callback;
     //_fnOnRspQryInvestorPositionDetail_Holder = OnRspQryInvestorPositionDetail_callback;
     //_fnOnRspQryOrder_Holder = OnRspQryOrder_callback;
     //_fnOnRspQryTrade_Holder = OnRspQryTrade_callback;
     //_fnOnRspQryTradingAccount_Holder = OnRspQryTradingAccount_callback;
     //_fnOnRtnInstrumentStatus_Holder = OnRtnInstrumentStatus_callback;
     //_fnOnRtnOrder_Holder = OnRtnOrder_callback;
     //_fnOnRtnTrade_Holder = OnRtnTrade_callback;
     m_pMsgQueue = new MsgQueue();
     m_Api = new TradeApi(m_pMsgQueue);
 }
Exemplo n.º 2
0
 public TraderApiWrapper()
 {
     m_pMsgQueue = new MsgQueue();
     m_Api = new TradeApi(m_pMsgQueue);
 }