初步完成回调和主动函数,尚未测试。
This commit is contained in:
parent
3c7745c7c1
commit
60ebbad1d0
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<SubscriptionDataContainer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:Microsoft.VisualStudio.WindowsAzure.CommonAzureTools.Authentication.CacheManagement">
|
<SubscriptionDataContainer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:Microsoft.VisualStudio.WindowsAzure.CommonAzureTools.Authentication.CacheManagement">
|
||||||
<Items />
|
<Items />
|
||||||
<TokenCache>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAhuIZgFnYcU6wvp5DI4FozAAAAAACAAAAAAAQZgAAAAEAACAAAACfxQZLqGgIlYaHRNvaMP1104wne69yDm3hT5jSkViJrwAAAAAOgAAAAAIAACAAAACEoYIxmu9X+z/pKyvKYVXdWTl6zqCrHe3ExYUwAcJwxxAAAABGePzLyKMDeM4WJVJQQCN+QAAAAEywH3Ecv+0PlTkK8x594oWHzQCnUgiXkPjdiAJHqE3sO/L19xiNs2JqW9giCiOVPNL2VS6Pue9CQLjRouK8HHE=</TokenCache>
|
<TokenCache>AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAhuIZgFnYcU6wvp5DI4FozAAAAAACAAAAAAAQZgAAAAEAACAAAADMEWBgvMml8Fe/qlmDdXKVEz/jG/RgK0H6G1lBilzBPQAAAAAOgAAAAAIAACAAAAC8JAGts1zJr37kkU1UoUus+a4SF8Oyln3wjVlbyYIblhAAAABr4GPtXHIoY0LtD2t3alpQQAAAAAnG9PILjcZQiOgioc5/N1ULeW03QwNYi0ywjnh2ln3ICpGXHAgkUc7ZEzHv32wBqCZeOkE7YxhPtohHvDpGzi8=</TokenCache>
|
||||||
</SubscriptionDataContainer>
|
</SubscriptionDataContainer>
|
File diff suppressed because it is too large
Load Diff
@ -274,8 +274,6 @@ public:
|
|||||||
|
|
||||||
virtual void accountSummaryEnd(int reqId){};
|
virtual void accountSummaryEnd(int reqId){};
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
virtual void tickPrice(TickerId tickerId, TickType field, double price, int canAutoExecute){};
|
virtual void tickPrice(TickerId tickerId, TickType field, double price, int canAutoExecute){};
|
||||||
|
|
||||||
virtual void tickSize(TickerId tickerId, TickType field, int size){};
|
virtual void tickSize(TickerId tickerId, TickType field, int size){};
|
||||||
@ -323,8 +321,6 @@ public:
|
|||||||
|
|
||||||
virtual void execDetailsEnd(int reqId) = 0{};
|
virtual void execDetailsEnd(int reqId) = 0{};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
virtual void updateMktDepth(TickerId id, int position, int operation, int side,
|
virtual void updateMktDepth(TickerId id, int position, int operation, int side,
|
||||||
double price, int size){};
|
double price, int size){};
|
||||||
|
|
||||||
@ -351,8 +347,6 @@ public:
|
|||||||
virtual void realtimeBar(TickerId reqId, long time, double open, double high, double low, double close,
|
virtual void realtimeBar(TickerId reqId, long time, double open, double high, double low, double close,
|
||||||
long volume, double wap, int count){};
|
long volume, double wap, int count){};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
virtual void fundamentalData(TickerId reqId, const std::string& data){};
|
virtual void fundamentalData(TickerId reqId, const std::string& data){};
|
||||||
|
|
||||||
virtual void deltaNeutralValidation(int reqId, const UnderComp& underComp){};
|
virtual void deltaNeutralValidation(int reqId, const UnderComp& underComp){};
|
||||||
@ -367,8 +361,6 @@ public:
|
|||||||
|
|
||||||
virtual void positionEnd(){};
|
virtual void positionEnd(){};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
virtual void verifyMessageAPI(const std::string& apiData){};
|
virtual void verifyMessageAPI(const std::string& apiData){};
|
||||||
|
|
||||||
virtual void verifyCompleted(bool isSuccessful, const std::string& errorText){};
|
virtual void verifyCompleted(bool isSuccessful, const std::string& errorText){};
|
||||||
@ -381,8 +373,6 @@ public:
|
|||||||
|
|
||||||
virtual void verifyAndAuthCompleted(bool isSuccessful, const std::string& errorText){};
|
virtual void verifyAndAuthCompleted(bool isSuccessful, const std::string& errorText){};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
virtual void positionMulti(int reqId, const std::string& account, const std::string& modelCode, const Contract& contract, double pos,
|
virtual void positionMulti(int reqId, const std::string& account, const std::string& modelCode, const Contract& contract, double pos,
|
||||||
double avgCost){};
|
double avgCost){};
|
||||||
|
|
||||||
@ -398,8 +388,6 @@ public:
|
|||||||
|
|
||||||
virtual void securityDefinitionOptionalParameterEnd(int reqId){};
|
virtual void securityDefinitionOptionalParameterEnd(int reqId){};
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
//-------------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------------
|
||||||
//主动函数
|
//主动函数
|
||||||
//-------------------------------------------------------------------------------------
|
//-------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user