public static extern int TdReqQryTradingNotice(IntPtr pApi, ThostFtdcQryTradingNoticeField pQryTradingNotice, int nRequestID);
/// <summary> ///请求查询交易通知 /// </summary> public int ReqQryTradingNotice(ThostFtdcQryTradingNoticeField pQryTradingNotice, int nRequestID) { return(Interop.TdReqQryTradingNotice(Handle, pQryTradingNotice, nRequestID)); }
/// <summary> /// 请求查询交易通知 /// </summary> void ReqQryTradingNotice() { ThostFtdcQryTradingNoticeField req = new ThostFtdcQryTradingNoticeField(); req.BrokerID = BROKER_ID; req.InvestorID = INVESTOR_ID; int iResult = api.ReqQryTradingNotice(req, ++iRequestID); Console.WriteLine("--->>> 请求查询交易通知:" + ((iResult == 0) ? "成功" : "失败")); }