public int ReqOrderAction(string exchangeId, string orderSysId, string instrumentId, EnumActionFlagType actionFlag = EnumActionFlagType.Delete) { var req = new ThostFtdcInputOrderActionField { ActionFlag = actionFlag, ExchangeID = exchangeId, OrderSysID = orderSysId, InstrumentID = instrumentId }; int ret = ReqOrderAction(req, ++RequestId); return(ret); }
public int ReqOrderAction(int frontId, int sessionId, string orderRef, string instrumentId, EnumActionFlagType actionFlag = EnumActionFlagType.Delete) { var req = new ThostFtdcInputOrderActionField { ActionFlag = actionFlag, BrokerID = _brokerId, InvestorID = _investorId, FrontID = frontId, SessionID = sessionId, OrderRef = orderRef, InstrumentID = instrumentId }; int ret = ReqOrderAction(req, ++RequestId); return(ret); }