Classes Files

Wombat::MamdaBookAtomicLevel

More…

Inherits from Wombat.MamdaBasicRecap

Inherited by Wombat.MamdaBookAtomicListener

Public Functions

  Name
long getPriceLevelNumLevels()
Return the number of price levels in the order book update.
long getPriceLevelNum()
Return at which position this level is within an update containing a number of levels. (i.e. level m of n levels in the update)
double getPriceLevelPrice()
Return the price for this price level.
MamaPrice getPriceLevelMamaPrice()
Return the Mamaprice for this price level.
double getPriceLevelSize()
Return the number of order entries comprising this price level.
long getPriceLevelSizeChange()
Aggregate size at current price level.
char getPriceLevelAction()
The action to apply to the orderbook for this price level. Can have a value of: A : Add a new price level U : Update an existing price level D : Delete an existing price level C : Closing information for price level (often treat the same as Update).
char getPriceLevelSide()
Side of book at current price level. B : Bid side. Same as ‘buy’ side. A : Ask side. Same as ‘sell’ side.
DateTime getPriceLevelTime()
Time of order book price level.
double getPriceLevelNumEntries()
Number of order book entries at current price level.

Additional inherited members

Public Functions inherited from Wombat.MamdaBasicRecap

  Name
string getSymbol()
Symbol. This is the “well-known” symbol for the security, including any symbology mapping performed by the publisher.
MamdaFieldState getSymbolFieldState()
Returns the field state.
string getPartId()
Participant ID. This may be an exchange identifier, a market maker ID, etc., or NULL (if this is not related to any specific participant).
MamdaFieldState getPartIdFieldState()
Returns the field state.
DateTime getSrcTime()
Source time. Typically, the exchange generated feed time stamp. This is often the same as the “event time”, because many feeds do not distinguish between the actual event time and when the exchange sent the message.
MamdaFieldState getSrcTimeFieldState()
Returns the field state.
DateTime getActivityTime()
Activity time. A feed handler generated time stamp representing when the data item was last updated.
MamdaFieldState getActivityTimeFieldState()
Returns the field state.
DateTime getLineTime()
Line time. A feed handler (or similar publisher) time stamp representing the time that such publisher received the update message pertaining to the event. If clocks are properly synchronized and the source time (see above) is accurate enough, then the difference between the source time and line time is the latency between the data source and the feed handler.
MamdaFieldState getLineTimeFieldState()
Returns the field state.
DateTime getSendTime()
Send time. A feed handler (or similar publisher) time stamp representing the time that such publisher sent the current message. The difference between the line time and send time is the latency within the feed handler itself. Also, if clocks are properly synchronized then the difference between the send time and current time is the latency within the market data distribution framework (i.e. MAMA and the underlying middleware). See MAMA API: MamaDateTime::currentTime()).
MamdaFieldState getSendTimeFieldState()
Returns the field state.

Detailed Description

class Wombat::MamdaBookAtomicLevel;

MamdaBookAtomicLevel is an interface that provides access to trade related fields.

Public Functions Documentation

function getPriceLevelNumLevels

long getPriceLevelNumLevels()

Return the number of price levels in the order book update.

Return: The number of price levels.

Reimplemented by: Wombat::MamdaBookAtomicListener::getPriceLevelNumLevels

function getPriceLevelNum

long getPriceLevelNum()

Return at which position this level is within an update containing a number of levels. (i.e. level m of n levels in the update)

Reimplemented by: Wombat::MamdaBookAtomicListener::getPriceLevelNum

returns>The position of this level in the update received.

function getPriceLevelPrice

double getPriceLevelPrice()

Return the price for this price level.

Return: The price level price.

Reimplemented by: Wombat::MamdaBookAtomicListener::getPriceLevelPrice

function getPriceLevelMamaPrice

MamaPrice getPriceLevelMamaPrice()

Return the Mamaprice for this price level.

Return: The price level Mama price.

Reimplemented by: Wombat::MamdaBookAtomicListener::getPriceLevelMamaPrice

function getPriceLevelSize

double getPriceLevelSize()

Return the number of order entries comprising this price level.

Return: The number of entries in this price level.

Reimplemented by: Wombat::MamdaBookAtomicListener::getPriceLevelSize

function getPriceLevelSizeChange

long getPriceLevelSizeChange()

Aggregate size at current price level.

Return: The aggregate size at the current price level.

Reimplemented by: Wombat::MamdaBookAtomicListener::getPriceLevelSizeChange

function getPriceLevelAction

char getPriceLevelAction()

The action to apply to the orderbook for this price level. Can have a value of: A : Add a new price level U : Update an existing price level D : Delete an existing price level C : Closing information for price level (often treat the same as Update).

Return: The price level action.

Reimplemented by: Wombat::MamdaBookAtomicListener::getPriceLevelAction

function getPriceLevelSide

char getPriceLevelSide()

Side of book at current price level. B : Bid side. Same as ‘buy’ side. A : Ask side. Same as ‘sell’ side.

Return: The price level side.

Reimplemented by: Wombat::MamdaBookAtomicListener::getPriceLevelSide

function getPriceLevelTime

DateTime getPriceLevelTime()

Time of order book price level.

Return: The time of the orderbook price level.

Reimplemented by: Wombat::MamdaBookAtomicListener::getPriceLevelTime

function getPriceLevelNumEntries

double getPriceLevelNumEntries()

Number of order book entries at current price level.

Return: The number of entries at the current price level.

Reimplemented by: Wombat::MamdaBookAtomicListener::getPriceLevelNumEntries


Updated on 2023-03-31 at 15:30:16 +0100