예제 #1
0
 ///请求查询交易编码响应
 public void OnRspQryTradingCode(ThostFtdcTradingCodeField pTradingCode, ThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     if (!IsErrorRspInfo(pRspInfo))
     {
     }
 }
예제 #2
0
        /// <summary>
        /// 查询交易编码应答
        /// </summary>
        /// <param name="pTradingCode"></param>
        /// <param name="pRspInfo"></param>
        /// <param name="nRequestID"></param>
        /// <param name="bIsLast"></param>
        void OnRspQryTradingCode(ThostFtdcTradingCodeField pTradingCode, ThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
        {
            DebugPrintFunc(new StackTrace());

            if (bIsLast && !IsErrorRspInfo(pRspInfo))
            {
                //请求查询开盘前持仓
                ReqQueryInvestorOpenPosition();
            }
        }