Classes Files

com::wombat::mamda::examples::MamdaAtomicBookBuilder::AtomicBookBuilder

Inherits from com.wombat.mamda.orderbook.MamdaBookAtomicBookHandler, com.wombat.mamda.orderbook.MamdaBookAtomicLevelEntryHandler, com.wombat.mamda.orderbook.MamdaBookAtomicLevelHandler, com.wombat.mamda.MamdaStaleListener, com.wombat.mamda.MamdaErrorListener

Public Functions

  Name
  AtomicBookBuilder(String symbol)
void onBookAtomicBeginBook(MamdaSubscription subscription, MamdaBookAtomicListener listener, boolean isRecap)
void onBookAtomicClear(MamdaSubscription subscription, MamdaBookAtomicListener listener, MamaMsg msg)
void onBookAtomicGap(MamdaSubscription subscription, MamdaBookAtomicListener listener, MamaMsg msg, MamdaBookAtomicGap event)
void onBookAtomicEndBook(MamdaSubscription subscription, MamdaBookAtomicListener listener)
void onBookAtomicLevelRecap(MamdaSubscription subscription, MamdaBookAtomicListener listener, MamaMsg msg, MamdaBookAtomicLevel level)
void onBookAtomicLevelDelta(MamdaSubscription subscription, MamdaBookAtomicListener listener, MamaMsg msg, MamdaBookAtomicLevel level)
void onBookAtomicLevelEntryRecap(MamdaSubscription subscription, MamdaBookAtomicListener listener, MamaMsg msg, MamdaBookAtomicLevelEntry levelEntry)
void onBookAtomicLevelEntryDelta(MamdaSubscription subscription, MamdaBookAtomicListener listener, MamaMsg msg, MamdaBookAtomicLevelEntry levelEntry)
void onError(MamdaSubscription subscription, short severity, short errorCode, String errorStr)
void onStale(MamdaSubscription subscription, short quality)
void setShowMarketOrders(boolean showMarketOrders)
void prettyPrint(final MamdaOrderBook book)
void prettyPrintLevels(final MamdaOrderBook book)
void prettyPrintEntries(final MamdaOrderBook book)

Public Functions Documentation

function AtomicBookBuilder

inline AtomicBookBuilder(
    String symbol
)

function onBookAtomicBeginBook

inline void onBookAtomicBeginBook(
    MamdaSubscription subscription,
    MamdaBookAtomicListener listener,
    boolean isRecap
)

function onBookAtomicClear

inline void onBookAtomicClear(
    MamdaSubscription subscription,
    MamdaBookAtomicListener listener,
    MamaMsg msg
)

function onBookAtomicGap

inline void onBookAtomicGap(
    MamdaSubscription subscription,
    MamdaBookAtomicListener listener,
    MamaMsg msg,
    MamdaBookAtomicGap event
)

function onBookAtomicEndBook

inline void onBookAtomicEndBook(
    MamdaSubscription subscription,
    MamdaBookAtomicListener listener
)

function onBookAtomicLevelRecap

inline void onBookAtomicLevelRecap(
    MamdaSubscription subscription,
    MamdaBookAtomicListener listener,
    MamaMsg msg,
    MamdaBookAtomicLevel level
)

function onBookAtomicLevelDelta

inline void onBookAtomicLevelDelta(
    MamdaSubscription subscription,
    MamdaBookAtomicListener listener,
    MamaMsg msg,
    MamdaBookAtomicLevel level
)

function onBookAtomicLevelEntryRecap

inline void onBookAtomicLevelEntryRecap(
    MamdaSubscription subscription,
    MamdaBookAtomicListener listener,
    MamaMsg msg,
    MamdaBookAtomicLevelEntry levelEntry
)

function onBookAtomicLevelEntryDelta

inline void onBookAtomicLevelEntryDelta(
    MamdaSubscription subscription,
    MamdaBookAtomicListener listener,
    MamaMsg msg,
    MamdaBookAtomicLevelEntry levelEntry
)

function onError

inline void onError(
    MamdaSubscription subscription,
    short severity,
    short errorCode,
    String errorStr
)

function onStale

inline void onStale(
    MamdaSubscription subscription,
    short quality
)

function setShowMarketOrders

inline void setShowMarketOrders(
    boolean showMarketOrders
)

function prettyPrint

inline void prettyPrint(
    final MamdaOrderBook book
)

function prettyPrintLevels

inline void prettyPrintLevels(
    final MamdaOrderBook book
)

function prettyPrintEntries

inline void prettyPrintEntries(
    final MamdaOrderBook book
)

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