Excel VBA functions

支援VBA下单、删改单、查询账务、主推回报。

引用TCExcelLib

Initial TCExcelLib

Public WithEvents m_eventSourceMain As TCExcelLib.TCExcelLibCom

Set m_eventSourceMain = New TCExcelLib.TCExcelLibCom

Connect

连接

int Connect(string SystemName);

Logout

断开

void Logout(string SystemName);

SendOrder

下单

int SendOrder(string SystemName, string OrderInfo);

DeleteOrder

删单

void DeleteOrder(string SystemName, string reportID);

ReplaceOrder

改单

void ReplaceOrder(string SystemName, string ReplaceInfo);

QueryAllInstrument

查询全部合约列表Return

string QueryAllInstrumentInfo(string SystemName, string type);

QueryInstrumentInfo

查询合约资讯Return

string QueryInstrumentInfo(string SystemName, string symbol):

Last updated