股票程序化量化交易接口1、// 上海股东代码, 下单深圳股票时需使用深圳股东代码 ↲ api.SendOrder(ClientId1, 0 , 0 ,"SHGD123456","600006", ↲ ↲23f, 100, BUF(Result), BUF(ErrorInfo)); ↲ if (NULL != ErrorInfo[0]) { 2、// 第 i 项委托的报价方式 ↲ 3、// 登录交易账户 ↲ typedef int (*LogonFn)(const char* Ip, short Port, const char* Version, ↲ short Yybid, const char* Account, ↲ const char* TradeAccount, const char* JyPassword, ↲ const char* TxPassword, char* ErrorInfo); ↲ 4、// 多账户批量获取五档报价 ↲ void GetMultiAccountsQuotes(int ClientId[], const char* Zqdm[], int Count, ↲ char* Result[], char* ErrorInfo[]) const { ↲ m_getMultiAccountsQuotesFn(ClientId, Zqdm, Count, Result, ErrorInfo); ↲ } ↲ 5、// 第 i 项委托的委托类别 ↲ EntrustTypes[i] = 0;