Inherited by com.wombat.mamda.orderbook.MamdaOrderBookSimpleDelta
Name | |
---|---|
MamdaOrderBookBasicDelta() | |
MamdaOrderBookBasicDelta(MamdaOrderBookBasicDelta source) | |
void | clear() |
void | set(MamdaOrderBookEntry entry, MamdaOrderBookPriceLevel level, double plDeltaSize, char plAction, char entryAction) |
void | setPriceLevel(MamdaOrderBookPriceLevel level) |
void | setPlDeltaAction(char action) |
MamdaOrderBookPriceLevel | getPriceLevel() |
MamdaOrderBookEntry | getEntry() |
double | getPlDeltaSize() |
char | getPlDeltaAction() |
char | getEntryDeltaAction() |
MamdaOrderBook | getOrderBook() |
void | dump(OutputStream output) |
void | dump() |
class com::wombat::mamda::orderbook::MamdaOrderBookBasicDelta;
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.
inline MamdaOrderBookBasicDelta()
inline MamdaOrderBookBasicDelta(
MamdaOrderBookBasicDelta source
)
inline void clear()
Clear the delta.
inline void set(
MamdaOrderBookEntry entry,
MamdaOrderBookPriceLevel level,
double plDeltaSize,
char plAction,
char entryAction
)
Parameters:
Set the delta info.
inline void setPriceLevel(
MamdaOrderBookPriceLevel level
)
Parameters:
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.
inline void setPlDeltaAction(
char action
)
Parameters:
Set the delta action with respect to the price level.
inline MamdaOrderBookPriceLevel getPriceLevel()
Return: The price level.
Get the MamdaOrderBookPriceLevel object related to this basic delta.
inline MamdaOrderBookEntry getEntry()
Return: The entry.
Get the MamdaOrderBookEntry object related to this basic delta.
inline double getPlDeltaSize()
Return: The price level size delta.
Get the difference in size for the price level.
inline char getPlDeltaAction()
Return: The price level action.
Get the delta action with respect to the price level.
inline char getEntryDeltaAction()
Return: The entry action.
Get the delta action with respect to the entry.
inline MamdaOrderBook getOrderBook()
Return: The order book related to this delta.
Get the MamdaOrderBook object to which this delta belongs.
inline void dump(
OutputStream output
)
Parameters:
OutputStream
to write the update to.Dump the simple update to the output stream.
inline void dump()
Dump the simple update to the output stream.
Updated on 2023-03-31 at 15:30:38 +0100