private void OnRspUserLogin(ThostFtdcRspUserLoginField pRspUserLogin, ThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast) { if (bIsLast && !IsErrorRspInfo(pRspInfo)) { ///获取当前交易日 _logger.Info("--->>> 获取当前交易日 = " + api.GetTradingDay()); // 请求订阅行情 SubscribeMarketData(); } }
void OnRspUserLogin(ThostFtdcRspUserLoginField pRspUserLogin, ThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast) { __DEBUGPF__(); if (bIsLast && !IsErrorRspInfo(pRspInfo)) { ///获取当前交易日 Console.WriteLine("--->>> 获取当前交易日 = " + api.GetTradingDay()); // 请求订阅行情 SubscribeMarketData(); } }