历史数据网盘共享

免费下载

 2025009  1569  查看评论 (1146)
分享到微信朋友圈
X
VNPY历史数据js
<

数据文件字段

 

ReqAuthenticate(UserProductInfo, AuthCode); void CTraderSpi::ReqAuthenticate(const char *UserProductInfo,const char *AuthCode) { if(pUserApi[accountid] == NULL ){return;} //认证码 CThostFtdcReqAuthenticateField pReqAuthenticateField; memset(&pReqAuthenticateField, 0, sizeof(CThostFtdcReqAuthenticateField)); strcpy(pReqAuthenticateField.BrokerID, BROKER_ID); strcpy(pReqAuthenticateField.UserID, INVESTOR_ID); strcpy(pReqAuthenticateField.UserProductInfo, UserProductInfo); //产品标识 strcpy(pReqAuthenticateField.AuthCode, AuthCode); //认证码 int iResult = pUserApi[accountid]->ReqAuthenticate(&pReqAuthenticateField, ++iRequestID); cerr << "--->>> 发送认证请求: " << ((iResult == 0) ? "成功" : "失败") << endl; }