Example #1
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CThostFtdcInputExecOrderActionField obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public override void OnRspExecOrderAction(CThostFtdcInputExecOrderActionField pInputExecOrderAction, CThostFtdcRspInfoField pRspInfo,
                                           int nRequestID, bool bIsLast)
 {
     _callbackApi.OnRspExecOrderAction(pInputExecOrderAction, pRspInfo, nRequestID, bIsLast);
 }
    public virtual int ReqExecOrderAction(CThostFtdcInputExecOrderActionField pInputExecOrderAction, int nRequestID)
    {
        int ret = thosttradeapiPINVOKE.CThostFtdcTraderApi_ReqExecOrderAction(swigCPtr, CThostFtdcInputExecOrderActionField.getCPtr(pInputExecOrderAction), nRequestID);

        return(ret);
    }
 ///执行宣告操作请求响应
 public void OnRspExecOrderAction(CThostFtdcInputExecOrderActionField pInputExecOrderAction,
                                  CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     Console.WriteLine("OnRspExecOrderAction");
 }
Example #5
0
 public int ReqExecOrderAction(CThostFtdcInputExecOrderActionField pInputExecOrderAction, int nRequestID)
 {
     return(_traderApi.ReqExecOrderAction(pInputExecOrderAction, nRequestID));
 }