EPAM B2BITS ICE Impact Handler C++
1.1.4
|
Classes | |
struct | IceImpact::ResetReason |
Reasons why instrument resets its state. More... | |
struct | IceImpact::PriceLevel |
PriceBook level. More... | |
struct | IceImpact::TOP5PriceData |
Price/size information for top 5 price levels. More... | |
struct | IceImpact::TOP10PriceData |
struct | IceImpact::BBOData |
Best Bid/Offer data and trade statistics. More... | |
struct | IceImpact::BBOUpdateEvent |
Best Bid/Offer event. More... | |
struct | IceImpact::BBOSnapshot |
Best Bid/Offer current snapshot. More... | |
struct | IceImpact::InstrumentResetEvent |
Instrument book reset. More... | |
struct | IceImpact::InstrumentRecoveryEvent |
Instrument book recovered. More... | |
struct | IceImpact::MessageFlowResetEvent |
Message flow reset. More... | |
struct | IceImpact::MessageEvent |
Ice Impact Message delivered to user callback. More... | |
|
inlinevirtual |
onBBO user callback is called when top of the book entry is updated for subscribed instrument. An update is triggered whenever the changes in Bid/Ask/Low/High/Open/Settlement fields happen (note, changes in Last Trade price/size are just piggy backed with other updates). onBBO() callback is called in the context of a thread from internally managed set of threads. The updates from particular multicast channel are lined up and delivered sequentially keeping the designated cpu core affined to UDP data flow.
ev | BBOUpdateEvent |
|
inlinevirtual |
onInstrumentRecovered user callback is called to inform that the order book of particular instrument is recovered from Snapshot.
ev | - InstrumentRecoveryEvent |
|
inlinevirtual |
onInstrumentReset user callback is called to inform that the order book of particular instrument is to be cleared. If the user does not build their own order books, this event can be skipped.
ev | - InstrumentResetEvent |
|
inlinevirtual |
onMarketTypesAvail called when market types are available
marketTypeSet | a set of market types available. |
|
inlinevirtual |
onMessage user callback is called when new message is received for subscribed instrument onMessage callback is called in the context of a thread from internally managed set of threads. The updates from particular multicast channel are lined up and delivered sequentially keeping the designated cpu core affined to UDP data flow.
event | MessageEvent |
isLastMessageInBlock | - specifies whether the received message will be the last one and no more messages from the current UDP packet will be delivered Use MessageEvent::eventFlowId field to identify previous onMessage events. |
|
inlinevirtual |
This user callback is called to inform that the message flow on a UDP channel is broken and is restarted. It usually happens after the seqnuence number loss and recovery. The user code which depends on particular sequence of ICE messages should reset its state (e.g. MessageBundleMarker messages, isLastMessageinBlock indicators) The eventFlowId member of the event indicates the event flow which is affected. The value is correlated with eventFlowId of MessageEvent and BBOUpdateEvent.
ev | - MessageFlowResetEvent |
|
inlinevirtual |
onProductDefinitionsAvail called when product definitions requests is completed
requestTag | request tag that was passed to request function |
requestMarketTypes | market types that were requested excluding those which were not actually found at ICE. |
productDirectory | product directory that contains product definitions data. |
|
inlinevirtual |
onServiceNotification user callback is called when there's service state change. This event is informational.
channelId | Id of the channel, corresponds to <multicastGroup name="the name"> in XML file |
bookDepth | depth of book |
type |