Exemple #1
0
 public static extern int TdReqQryTradingNotice(IntPtr pApi, ThostFtdcQryTradingNoticeField pQryTradingNotice, int nRequestID);
Exemple #2
0
 /// <summary>
 ///请求查询交易通知
 /// </summary>
 public int ReqQryTradingNotice(ThostFtdcQryTradingNoticeField pQryTradingNotice, int nRequestID)
 {
     return(Interop.TdReqQryTradingNotice(Handle, pQryTradingNotice, nRequestID));
 }
Exemple #3
0
        /// <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) ? "成功" : "失败"));
        }