Process updates on the order book. Concrete instances of this interface are passed to the More…
Name | |
---|---|
void | onBookRecap(MamdaSubscription subscription, MamdaOrderBookListener listener, MamaMsg msg, MamdaOrderBookDelta delta, MamdaOrderBookRecap fullBook) Method invoked when an updated full order book image is available. The reason for the invocation may be any of the following: |
void | onBookDelta(MamdaSubscription subscription, MamdaOrderBookListener listener, MamaMsg msg, MamdaOrderBookDelta delta, MamdaOrderBookRecap fullBook) Method invoked when a regular update for an order book is available. |
void | onBookClear(MamdaSubscription subscription, MamdaOrderBookListener listener, MamaMsg msg, MamdaOrderBookDelta delta, MamdaOrderBookRecap fullBook) Method invoked when an order book is cleared. |
void | onBookGap(MamdaSubscription subscription, MamdaOrderBookListener listener, MamaMsg msg, MamdaOrderBookGap gapEvent, MamdaOrderBookRecap fullBook) Method invoked when a gap in order book updates is discovered. |
class Wombat::MamdaOrderBookHandler;
Process updates on the order book. Concrete instances of this interface are passed to the
[MamdaOrderBookListener](classWombat_1_1MamdaOrderBookListener.html)
in order for an application to receive callbacks on order book update events.
void onBookRecap(
MamdaSubscription subscription,
MamdaOrderBookListener listener,
MamaMsg msg,
MamdaOrderBookDelta delta,
MamdaOrderBookRecap fullBook
)
Method invoked when an updated full order book image is available. The reason for the invocation may be any of the following:
Parameters:
fullBook The full order book
void onBookDelta(
MamdaSubscription subscription,
MamdaOrderBookListener listener,
MamaMsg msg,
MamdaOrderBookDelta delta,
MamdaOrderBookRecap fullBook
)
Method invoked when a regular update for an order book is available.
Parameters:
void onBookClear(
MamdaSubscription subscription,
MamdaOrderBookListener listener,
MamaMsg msg,
MamdaOrderBookDelta delta,
MamdaOrderBookRecap fullBook
)
Method invoked when an order book is cleared.
Parameters:
void onBookGap(
MamdaSubscription subscription,
MamdaOrderBookListener listener,
MamaMsg msg,
MamdaOrderBookGap gapEvent,
MamdaOrderBookRecap fullBook
)
Method invoked when a gap in order book updates is discovered.
Parameters:
Updated on 2023-03-31 at 15:30:17 +0100