EPAM B2BITS ICE Impact Handler C++
1.1.4
|
Best Bid/Offer data and trade statistics. More...
#include <B2BITS_IceImpactEvents.h>
Public Types | |
enum | UpdateTypeFlags { BidUpdate = 0x01, OfferUpdate = 0x02, HighLowUpdate = 0x04, OpenPriceUpdate = 0x08, LastTradeUpdate = 0x10, SettlementUpdate = 0x20, VolumeUpdate = 0x40, OpenInterestUpdate = 0x80, AllUpdate = 0xff } |
Public Member Functions | |
u8 | getUpdateType () const |
Returns update type flags. More... | |
unsigned long long | getTOBLastSentDateTime () const |
bool | hasTOBData () const |
bool | hasBid () const |
Returns true if instrument has a Bid value. More... | |
bool | hasAsk () const |
Returns true if instrument has an Ask value. More... | |
double | getBid () const |
Returns top Bid Price value with deal price denomitor applied. More... | |
int | getBidSize () const |
Returns top Bid Size value. More... | |
double | getAsk () const |
Returns top Ask Price value with deal price denomitor applied. More... | |
int | getAskSize () const |
Returns top Ask Size value. More... | |
double | getLastTradePrice () const |
Returns the price of Last Trade happened for the instrument (deal price denomitor applied) More... | |
int | getLastTradeSize () const |
Returns Last Trade Size value. More... | |
unsigned long long | getLastTradeDateTime () const |
Returns Last Trade Date Time value - Milliseconds since Jan 1st, 1970, 00:00:00 GMT. More... | |
IceImpact::AggressorSide::Enum | getLastTradeSide () const |
Returns Last Trade Aggrssor Side value. More... | |
int | getVolume () const |
int | getOpenInterest () const |
Returns OpenInterest value. More... | |
double | getHigh () const |
Returns High price for the instrument (deal price denomitor applied) More... | |
double | getLow () const |
Returns Low price for the instrument (deal price denomitor applied) More... | |
double | getOpen () const |
Returns Open price for the instrument (deal price denomitor applied) More... | |
double | getSettlement () const |
Returns Settlement price for the instrument (deal price denomitor applied) More... | |
double | getDealPrice (long long price) const |
double | getOrderPrice (long long price) const |
double | getSettlementPrice (long long price) const |
Static Public Member Functions | |
static double | getPrice (long long price, char denominatorCode) |
Public Attributes | |
union { | |
struct { | |
union { | |
struct { | |
long long bid | |
int bidSize | |
Bid size. More... | |
} | |
struct PriceLevel bid_ | |
} | |
union { | |
struct { | |
long long ask | |
int askSize | |
Ask size. More... | |
} | |
struct PriceLevel ask_ | |
} | |
} | |
struct PriceLevel bidAndAsk [2] | |
}; | |
u8 | updateType_ |
unsigned long long | tobLastSentDateTime |
long long | openPrice |
long long | settlementPrice |
long long | highPrice |
long long | lowPrice |
long long | lastTradePrice |
unsigned long long | lastTradeDateTime |
int | lastTradeSize |
Last Trade Size. More... | |
int | openInterest |
int | volume |
int | dealPriceMult |
int | orderPriceMult |
int | settlementPriceMult |
char | lastTradeAggressorSide |
copy of Aggressor Side from last trade message, see IceImpact::AggressorSide::Enum More... | |
Best Bid/Offer data and trade statistics.
|
inline |
Returns top Ask Price value with deal price denomitor applied.
no |
|
inline |
Returns top Ask Size value.
no |
|
inline |
Returns top Bid Price value with deal price denomitor applied.
no |
|
inline |
Returns top Bid Size value.
no |
|
inline |
|
inline |
Returns High price for the instrument (deal price denomitor applied)
no |
|
inline |
|
inline |
Returns the price of Last Trade happened for the instrument (deal price denomitor applied)
no |
|
inline |
|
inline |
|
inline |
Returns Low price for the instrument (deal price denomitor applied)
no |
|
inline |
Returns Open price for the instrument (deal price denomitor applied)
no |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
Returns Settlement price for the instrument (deal price denomitor applied)
no |
|
inline |
|
inline |
Sent DateTime" field is the timestamp of when the message block is sent by ICE server. It is the number of milliseconds since Jan 1st, 1970, 00:00:00 GMT Set to 0 for TCP replayed messages
|
inline |
Returns update type flags.
no |
|
inline |
Returns Volume value Note: this volume value includes electronic trades only, and does not include any off-the-market and block trades
no |
|
inline |
Returns true if instrument has an Ask value.
no |
|
inline |
Returns true if instrument has a Bid value.
no |
|
inline |
Returns true if instrument has any of Bid/Ask values if the function returns false, then the TOP level does not exist anymore and the BBO update signifies deletion of the top of the book
no |
union { ... } |
long long IceImpact::BBOData::ask |
struct PriceLevel IceImpact::BBOData::ask_ |
int IceImpact::BBOData::askSize |
Ask size.
long long IceImpact::BBOData::bid |
struct PriceLevel IceImpact::BBOData::bid_ |
struct PriceLevel IceImpact::BBOData::bidAndAsk[2] |
int IceImpact::BBOData::bidSize |
Bid size.
int IceImpact::BBOData::dealPriceMult |
long long IceImpact::BBOData::highPrice |
char IceImpact::BBOData::lastTradeAggressorSide |
copy of Aggressor Side from last trade message, see IceImpact::AggressorSide::Enum
unsigned long long IceImpact::BBOData::lastTradeDateTime |
long long IceImpact::BBOData::lastTradePrice |
int IceImpact::BBOData::lastTradeSize |
Last Trade Size.
long long IceImpact::BBOData::lowPrice |
int IceImpact::BBOData::openInterest |
long long IceImpact::BBOData::openPrice |
int IceImpact::BBOData::orderPriceMult |
long long IceImpact::BBOData::settlementPrice |
int IceImpact::BBOData::settlementPriceMult |
unsigned long long IceImpact::BBOData::tobLastSentDateTime |
Sent DateTime" field is the timestamp of when the message block is sent by ICE server. This field is updated only when top of the book (Bid/Ask fields) are changed, and is not updated when other fields are changing. It is the number of milliseconds since Jan 1st, 1970, 00:00:00 GMT Set to 0 for TCP replayed messages
u8 IceImpact::BBOData::updateType_ |
int IceImpact::BBOData::volume |