MamdaOrderBookBasicDelta is a class that saves information about a basic order book delta.
More...
#include <MamdaOrderBookBasicDelta.h>
MamdaOrderBookBasicDelta is a class that saves information about a basic order book delta.
A basic delta is one that affects a single order book entry.
◆ MamdaOrderBookBasicDelta() [1/2]
| Wombat::MamdaOrderBookBasicDelta::MamdaOrderBookBasicDelta |
( |
| ) |
|
◆ MamdaOrderBookBasicDelta() [2/2]
◆ ~MamdaOrderBookBasicDelta()
| virtual Wombat::MamdaOrderBookBasicDelta::~MamdaOrderBookBasicDelta |
( |
| ) |
|
|
virtual |
◆ clear()
| virtual void Wombat::MamdaOrderBookBasicDelta::clear |
( |
| ) |
|
|
virtual |
◆ set()
◆ setPriceLevel()
Set the MamdaOrderBookPriceLevel object to which this entry belongs.
This method is invoked internally, by the MAMDA API, when an entry is added to a price level.
- Parameters
-
| level | The price level to be associated with. |
◆ setPlDeltaAction()
Set the delta action with respect to the price level.
- Parameters
-
| action | The price level action |
◆ setPlDeltaSize()
| void Wombat::MamdaOrderBookBasicDelta::setPlDeltaSize |
( |
mama_quantity_t |
size | ) |
|
Set the price level delta size.
- Parameters
-
| action | The price level action |
◆ applyPlDeltaSize()
| void Wombat::MamdaOrderBookBasicDelta::applyPlDeltaSize |
( |
mama_quantity_t |
size | ) |
|
Apply the price level delta size to the existing size, giving the net effect.
- Parameters
-
| action | The price level action |
◆ getPriceLevel()
◆ getEntry()
◆ getPlDeltaSize()
| mama_quantity_t Wombat::MamdaOrderBookBasicDelta::getPlDeltaSize |
( |
| ) |
const |
Get the difference in size for the price level.
- Returns
- The price level size delta.
◆ getPlDeltaAction()
Get the delta action with respect to the price level.
- Returns
- The price level action.
◆ getEntryDeltaAction()
Get the delta action with respect to the entry.
- Returns
- The entry action.
◆ setEntryDeltaAction()
Get the delta action with respect to the entry.
◆ getOrderBook()
| virtual const MamdaOrderBook* Wombat::MamdaOrderBookBasicDelta::getOrderBook |
( |
| ) |
const |
|
virtual |
Get the MamdaOrderBook object to which this delta belongs.
- Returns
- The order book related to this delta.
◆ dump()
| void Wombat::MamdaOrderBookBasicDelta::dump |
( |
ostream & |
output | ) |
const |
Dump the simple update to the output stream.
- Parameters
-
| output | The ostream to write the update to. |
◆ mPriceLevel
◆ mEntry
◆ mPlDeltaSize
| mama_quantity_t Wombat::MamdaOrderBookBasicDelta::mPlDeltaSize |
|
protected |
◆ mPlAction
◆ mEntryAction
The documentation for this class was generated from the following file: