Exemplo n.º 1
0
 protected override void OnRspError(CLRDFITCErrorRtnField RspInfo)
 {
     if (ProgramTradeEvents.RspEventHandler.ContainsKey(RspSpiModules.RspError) && null != ProgramTradeEvents.RspEventHandler[RspSpiModules.RspError])
     {
         TypedRspEventArgs <CLRDFITCErrorRtnField, object> evt = new TypedRspEventArgs <CLRDFITCErrorRtnField, object> {
             RequestID = RspInfo.requestID, ErrorID = RspInfo.nErrorID, Message = RspInfo.errorMsg, Data = RspInfo, Error = null, IsLast = true
         };
         Parallel.ForEach(ProgramTradeEvents.RspEventHandler[RspSpiModules.RspError].GetInvocationList(), handler =>
         {
             (handler as EventHandler <RspEventArgs>).BeginInvoke(this, evt, null, null);
         });
     }
 }
Exemplo n.º 2
0
 protected override void OnRspQryTradeCode(CLRDFITCQryTradeCodeRtnField TradeCode, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 3
0
 protected override void OnRspSubForQuoteRsp(CLRDFITCSpecificInstrumentField SpecificInstrument, CLRDFITCErrorRtnField RspInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 protected override void OnRspExtInsertOrder(CLRDFITCExtOrderRspDataField OrderRsp, CLRDFITCErrorRtnField ErrorInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 5
0
 protected override void OnRspCancelAllOrder(CLRDFITCCancelAllOrderRspField RspCancelAllOrderData, CLRDFITCErrorRtnField ErrorInfo)
 {
     if (ProgramTradeEvents.RspEventHandler.ContainsKey(RspSpiModules.CancelAll) && null != ProgramTradeEvents.RspEventHandler[RspSpiModules.CancelAll])
     {
         TypedRspEventArgs <CLRDFITCCancelAllOrderRspField, CLRDFITCErrorRtnField> evt = new TypedRspEventArgs <CLRDFITCCancelAllOrderRspField, CLRDFITCErrorRtnField> {
             RequestID = RspCancelAllOrderData.lRequestID, ErrorID = ErrorInfo.nErrorID, Message = ErrorInfo.errorMsg, Data = RspCancelAllOrderData, Error = ErrorInfo, IsLast = true
         };
         Parallel.ForEach(ProgramTradeEvents.RspEventHandler[RspSpiModules.CancelAll].GetInvocationList(), handler =>
         {
             (handler as EventHandler <RspEventArgs>).BeginInvoke(this, evt, null, null);
         });
     }
 }
Exemplo n.º 6
0
 protected override void OnRtnFromFutureToBankByFuture(CLRDFITCTransferRtnField RtnTransfer, CLRDFITCErrorRtnField ErrorInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 7
0
 protected override void OnRtnErrorMsg(CLRDFITCErrorRtnField ErrorInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 8
0
 protected override void OnRspResetPassword(CLRDFITCResetPwdRspField ResetPassword, CLRDFITCErrorRtnField ErrorInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 9
0
 protected override void OnRspQryForQuote(CLRDFITCQryForQuoteRtnField QryForQuoteData, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 10
0
 protected override void OnRspQryExchangeRate(CLRDFITCExchangeRateField ExchangeRate, CLRDFITCErrorRtnField RspInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 11
0
 protected override void OnRspQryDepthMarketData(CLRDFITCDepthMarketDataField DepthMarketData, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 12
0
 protected override void OnRspQryBill(CLRDFITCQryBillRtnField QryBill, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 13
0
 protected override void OnRspFromBankToFutureByFuture(CLRDFITCTransferRspField RspTransfer, CLRDFITCErrorRtnField ErrorInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 14
0
 protected override void OnRspUnSubMarketData(CLRDFITCSpecificInstrumentField SpecificInstrument, CLRDFITCErrorRtnField RspInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 15
0
 protected override void OnRspSubMarketData(CLRDFITCSpecificInstrumentField SpecificInstrument, CLRDFITCErrorRtnField RspInfo)
 {
     if (ProgramTradeEvents.RspEventHandler.ContainsKey(RspSpiModules.SubMarket) && null != ProgramTradeEvents.RspEventHandler[RspSpiModules.SubMarket])
     {
         TypedRspEventArgs <CLRDFITCSpecificInstrumentField, CLRDFITCErrorRtnField> evt = new TypedRspEventArgs <CLRDFITCSpecificInstrumentField, CLRDFITCErrorRtnField> {
             RequestID = SpecificInstrument.lRequestID, ErrorID = RspInfo.nErrorID, Message = RspInfo.errorMsg, Data = SpecificInstrument, Error = RspInfo, IsLast = true
         };
         Parallel.ForEach(ProgramTradeEvents.RspEventHandler[RspSpiModules.SubMarket].GetInvocationList(), handler =>
         {
             (handler as EventHandler <RspEventArgs>).BeginInvoke(this, evt, null, null);
         });
     }
 }
Exemplo n.º 16
0
 protected override void OnRspQryTransferSerial(CLRDFITCTransferSerialRspField TransferSerial, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 17
0
 protected override void OnRspQuoteInsert(CLRDFITCQuoteRspField RspQuote, CLRDFITCErrorRtnField ErrorInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 18
0
 protected override void OnRspQryMatchInfo(CLRDFITCMatchedRtnField MatchData, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 19
0
 protected override void OnRspUserLogout(CLRDFITCUserLogoutInfoRtnField RspUserLogout, CLRDFITCErrorRtnField ErrorInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 20
0
 protected override void OnRspQryPosition(CLRDFITCPositionInfoRtnField PositionInfo, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     if (ProgramTradeEvents.RspEventHandler.ContainsKey(RspSpiModules.QryPosition) && null != ProgramTradeEvents.RspEventHandler[RspSpiModules.QryPosition])
     {
         TypedRspEventArgs <CLRDFITCPositionInfoRtnField, CLRDFITCErrorRtnField> evt = new TypedRspEventArgs <CLRDFITCPositionInfoRtnField, CLRDFITCErrorRtnField> {
             RequestID = PositionInfo.lRequestID, ErrorID = ErrorInfo.nErrorID, Message = ErrorInfo.errorMsg, Data = PositionInfo, Error = ErrorInfo, IsLast = bIsLast
         };
         Parallel.ForEach(ProgramTradeEvents.RspEventHandler[RspSpiModules.QryPosition].GetInvocationList(), handler =>
         {
             (handler as EventHandler <RspEventArgs>).BeginInvoke(this, evt, null, null);
         });
     }
 }
Exemplo n.º 21
0
 protected override void OnRspArbitrageInstrument(CLRDFITCAbiInstrumentRtnField AbiInstrumentData, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 22
0
 protected override void OnRspQryPositionDetail(CLRDFITCPositionDetailRtnField PositionDetail, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 23
0
 protected override void OnRspBillConfirm(CLRDFITCBillConfirmRspField BillConfirm, CLRDFITCErrorRtnField ErrorInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 24
0
 protected override void OnRspQryPricesTrigger(CLRDFITCQryPricesTriggerField QryPricesTriggerRspData, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 25
0
 protected override void OnRspCustomerCapital(CLRDFITCCapitalInfoRtnField CapitalInfo, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 26
0
 protected override void OnRspQryQuoteOrderInfo(CLRDFITCQuoteOrderRtnField QuoteOrderData, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 27
0
 protected override void OnRspForQuote(CLRDFITCForQuoteRspField RspForQuoteData, CLRDFITCErrorRtnField ErrorInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 28
0
 protected override void OnRspQrySpecifyInstrument(CLRDFITCInstrumentRtnField Instrument, CLRDFITCErrorRtnField ErrorInfo, bool bIsLast)
 {
     throw new NotImplementedException();
 }