EPAM B2BITS ICE Impact Handler C++
1.1.4
|
Functions | |
virtual bool | IceImpact::Application::start (int waitTimeS=0)=0 |
Starts market data services. More... | |
virtual std::string | IceImpact::Application::getMarketTypeDescription (IceImpact::MarketTypeValue marketType)=0 |
Returns description of a Market Type. More... | |
virtual IceImpact::MarketTypeValue | IceImpact::Application::getMarketTypeByDescription (const std::string &marketType)=0 |
Returns Market Type ID by description. More... | |
virtual bool | IceImpact::Application::requestProductDefinitions (IceImpact::u64 requestTag, const UserRequestMarketTypesSet &marketTypeSet, int waitTimeS, InstrumentLoadParams *instrumentLoadParams=NULL)=0 |
virtual bool | IceImpact::Application::requestProductDefinitionsForAllMarkets (IceImpact::u64 requestTag, int waitTimeS, InstrumentLoadParams *instrumentLoadParams=NULL)=0 |
Requests all market types products' definitions. More... | |
virtual const ProductDirectoryPtr | IceImpact::Application::getProductDirectory ()=0 |
Returns a ref-counted pointer to operational product directory. More... | |
virtual bool | IceImpact::Application::isBookTypeSupported (IceImpact::Int32 marketID, bool useFullImplied, BookDepth bookDepth)=0 |
virtual void | IceImpact::Application::subscribeToInstrument (const std::string &symbol, bool useFullImplied, BookDepth bookDepth, subscription_mask_t subscrMask, unsigned long long UserCookie)=0 |
virtual void | IceImpact::Application::subscribeToInstrument (IceImpact::MarketID marketID, bool useFullImplied, BookDepth bookDepth, subscription_mask_t subscrMask, unsigned long long UserCookie)=0 |
virtual void | IceImpact::Application::unsubscribeFromInstrument (const std::string &symbol, bool useFullImplied, BookDepth bookDepth, subscription_mask_t subscrMask=SubscriptionType::ALL, bool disconnectIfNoMoreSubscribed=true)=0 |
virtual void | IceImpact::Application::unsubscribeFromInstrument (IceImpact::MarketID marketID, bool useFullImplied, BookDepth bookDepth, subscription_mask_t subscrMask=SubscriptionType::ALL, bool disconnectIfNoMoreSubscribed=true)=0 |
virtual bool | IceImpact::Application::getInstrumentBBO (const std::string &symbol, bool useFullImplied, BBOSnapshot &bbo, enum BookDepth depth=PriceLevelDepth)=0 |
virtual bool | IceImpact::Application::getInstrumentBBO (IceImpact::MarketID marketID, bool useFullImplied, BBOSnapshot &bbo, enum BookDepth depth=PriceLevelDepth)=0 |
virtual bool | IceImpact::Application::getInstrumentTOP5Prices (IceImpact::MarketID marketID, bool useFullImplied, TOP5PriceData &top5data, unsigned long long *UserCookie, enum BookDepth depth=PriceLevelDepth)=0 |
virtual bool | IceImpact::Application::getInstrumentTOP10Prices (IceImpact::MarketID marketID, bool useFullImplied, TOP10PriceData &top10data, unsigned long long *UserCookie, enum BookDepth depth=PriceLevelDepth)=0 |
virtual bool | IceImpact::Application::getInstrumentTOP5Prices (const std::string &symbol, bool useFullImplied, TOP5PriceData &top5data, unsigned long long *UserCookie, enum BookDepth depth=PriceLevelDepth)=0 |
virtual bool | IceImpact::Application::getSubscription (const std::string &symbol, bool useFullImplied, BookDepth bookDepth, subscription_mask_t &mask)=0 |
Get the instrument's current subscription mask. More... | |
virtual bool | IceImpact::Application::getSubscription (IceImpact::MarketID marketID, bool useFullImplied, BookDepth bookDepth, subscription_mask_t &mask)=0 |
Get instrument subscription mask. More... | |
virtual void | IceImpact::Application::release () const =0 |
|
pure virtual |
getInstrumentBBO by symbol With SubscriptionParams::tickerPlantMode enabled returns the BBO data regardless if instrument was previously subscribed or not.
symbol | to get data for |
useFullImplied | whether the multicast group is fully implied |
bbo | |
depth | - pass PriceLevelDepth for Futures(TOP5 book) and Options(TOB book), pass PriceLevelDepth10 for Options TOP10 book |
std::runtime_error |
|
pure virtual |
getInstrumentBBO by marketID With SubscriptionParams::tickerPlantMode enabled returns the BBO data regardless if instrument was previously subscribed or not.
marketID | to get data for |
useFullImplied | whether the multicast group is fully implied |
bbo | |
depth | - pass PriceLevelDepth for Futures(TOP5 book) and Options(TOB book), pass PriceLevelDepth10 for Options TOP10 book |
std::runtime_error |
|
pure virtual |
getInstrumentTOP10Prices by marketID With SubscriptionParams::tickerPlantMode enabled returns data regardless if instrument was previously subscribed or not.
marketID | to get data for |
useFullImplied | whether the multicast group is fully implied |
depth | should be set to PriceLevelDepth for Futures TOP5/Options TOB, and PriceLevel10Depth for Options TOP10 |
top10data | TOP10 levels of the price book |
UserCookie | User cookie supplied when subscribing to the insttrument |
std::runtime_error |
|
pure virtual |
getInstrumentTOP5Prices by marketID With SubscriptionParams::tickerPlantMode enabled returns data regardless if instrument was previously subscribed or not.
marketID | to get data for |
useFullImplied | whether the multicast group is fully implied |
top5data | TOP5 levels of the price book |
UserCookie | User cookie supplied when subscribing to the insttrument |
depth | should be set to PriceLevelDepth for Futures TOP5/Options TOB, and PriceLevel10Depth for Options TOP10 |
std::runtime_error |
|
pure virtual |
getInstrumentTOP5Prices by symbol With SubscriptionParams::tickerPlantMode enabled returns data regardless if instrument was previously subscribed or not.
symbol | to get data for |
useFullImplied | whether the multicast group is fully implied |
top5data | TOP5 levels of the price book |
UserCookie | User cookie supplied when subscribing to the insttrument |
depth | should be set to PriceLevelDepth for Futures TOP5/Options TOB, and PriceLevel10Depth for Options TOP10 |
std::runtime_error |
|
pure virtual |
Returns Market Type ID by description.
marketType | Market type |
no |
|
pure virtual |
Returns description of a Market Type.
marketType | Market type |
no |
|
pure virtual |
Returns a ref-counted pointer to operational product directory.
no |
|
pure virtual |
Get the instrument's current subscription mask.
symbol | name of the instrument |
useFullImplied | whether the multicast group is fully implied |
bookDepth | depth of book to use |
mask | subscription mask |
std::runtime_error |
|
pure virtual |
Get instrument subscription mask.
marketID | to get for |
useFullImplied | whether the multicast group is fully implied |
bookDepth | depth of book to use |
mask | subscription mask |
std::runtime_error |
|
pure virtual |
Checks if specific book type and full implied flag is supported for given marketID This method should be called after requestProductDefinitions() is called for appropriate markets
marketID | Id of the market |
useFullImplied | whatever multicast group is fully implied |
bookDepth | depth of book to use |
no |
|
pure virtual |
Destroys application Note: this function should not be called from user callbacks (onBBO(), etc) to avoid potental deadlock situation Disconnects and destroys all running services and threads.
no |
|
pure virtual |
Request market types products definitions by TCP or load them from a file on disk onProductDefinitionsAvail is called when the request has been processed.
requestTag | user request tag. This value is passed back to onProductDefinitionsAvail callback routine. |
marketTypeSet | set of market types to request definitions for. This value is passed back to callback routine. |
waitTimeS | wait specified time for completion. -1 means wait forever. 0 means exit immediately. |
instrumentLoadParams | parameters controlling file cache usage. Default value: NULL, means don't use cache. |
no |
|
pure virtual |
Requests all market types products' definitions.
requestTag | user request tag. This value is passed back to onProductDefinitionsAvail callback routine. |
waitTimeS | wait specified time for completion. -1 means wait forever. 0 means exit immediately. |
instrumentLoadParams | parameters controlling cache usage. Default value: NULL, means don't use cache. |
no |
|
pure virtual |
Starts market data services.
waitTimeS | wait specified time for completion. -1 means wait forever. 0 means exit immediately. |
no |
|
pure virtual |
Subscribe to a symbol. This call OR's current instrument subscription mask with the passed value. When called intra-day will trigger Snapshot recovery procedure unless SubscriptionParams::tickerPlantMode was enabled. Note: this function should not be called from user callbacks (onBBO(), etc) to avoid potental deadlock situation
symbol | to subscribe to |
useFullImplied | whether the multicast group is fully implied |
bookDepth | depth of book to use |
subscrMask | |
UserCookie |
std::runtime_error |
|
pure virtual |
Subscribes to symbol by marketID. This call OR's current instrument subscription mask with the passed value. When called intra-day will trigger Snapshot recovery procedure unless SubscriptionParams::tickerPlantMode was enabled. Note: this function should not be called from user callbacks (onBBO(), etc) to avoid potental deadlock situation
marketID | to subscribe to |
useFullImplied | whether the multicast group is fully implied |
bookDepth | depth of book to use |
subscrMask | |
UserCookie |
std::runtime_error |
|
pure virtual |
Unsubscribes from symbol Note: this function should not be called from user callbacks (onBBO(), etc) to avoid potental deadlock situation
symbol | to unsubscribe from. This call removes passed subscriptions bits from the current instrument's subscription mask. |
useFullImplied | whether the multicast group is fully implied |
bookDepth | depth of book to use |
subscrMask | subscription mask to use |
disconnectIfNoMoreSubscribed | will disconnect the service from UDP Multicast source if this has been the last instrument subscribed provided service is not in ticker plant mode |
std::runtime_error |
|
pure virtual |
Unsubscribes from symbol by marketID. This call removes passed subscriptions bits from the current instrument's subscription mask. Note: this function should not be called from user callbacks (onBBO(), etc) to avoid potental deadlock situation
marketID | to unsubscribe from |
useFullImplied | whether the multicast group is fully implied |
bookDepth | depth of book to use |
subscrMask | |
disconnectIfNoMoreSubscribed | will disconnect the service from UDP Multicast source if this has been the last instrument subscribed provided service is not in ticker plant mode |
std::runtime_error |