Inherits from com.wombat.mamda.MamdaTradeHandler, com.wombat.mamda.MamdaQuoteHandler
Name | |
---|---|
void | onTradeRecap(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeRecap recap) |
void | onTradeReport(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeReport trade, final MamdaTradeRecap recap) |
void | onTradeGap(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeGap event, final MamdaTradeRecap recap) |
void | onTradeCancelOrError(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeCancelOrError event, final MamdaTradeRecap recap) |
void | onTradeCorrection(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeCorrection event, final MamdaTradeRecap recap) |
void | onTradeClosing(final MamdaSubscription sub, final MamdaTradeListener listener, final MamaMsg msg, final MamdaTradeClosing event, final MamdaTradeRecap recap) |
void | onQuoteRecap(final MamdaSubscription sub, final MamdaQuoteListener listener, final MamaMsg msg, final MamdaQuoteRecap recap) |
void | onQuoteUpdate(final MamdaSubscription sub, final MamdaQuoteListener listener, final MamaMsg msg, final MamdaQuoteUpdate quote, final MamdaQuoteRecap recap) |
void | onQuoteGap(final MamdaSubscription sub, final MamdaQuoteListener listener, final MamaMsg msg, final MamdaQuoteGap event, final MamdaQuoteRecap recap) |
void | onQuoteClosing(final MamdaSubscription sub, final MamdaQuoteListener listener, final MamaMsg msg, final MamdaQuoteClosing event, final MamdaQuoteRecap recap) |
class com::wombat::mamda::examples::MamdaOptionChainExample::UnderlyingTicker;
UnderlyingTicker is a class that we can use to handle updates to the underlying security. This example just prints individual trades and quotes.
inline void onTradeRecap(
final MamdaSubscription sub,
final MamdaTradeListener listener,
final MamaMsg msg,
final MamdaTradeRecap recap
)
inline void onTradeReport(
final MamdaSubscription sub,
final MamdaTradeListener listener,
final MamaMsg msg,
final MamdaTradeReport trade,
final MamdaTradeRecap recap
)
inline void onTradeGap(
final MamdaSubscription sub,
final MamdaTradeListener listener,
final MamaMsg msg,
final MamdaTradeGap event,
final MamdaTradeRecap recap
)
inline void onTradeCancelOrError(
final MamdaSubscription sub,
final MamdaTradeListener listener,
final MamaMsg msg,
final MamdaTradeCancelOrError event,
final MamdaTradeRecap recap
)
inline void onTradeCorrection(
final MamdaSubscription sub,
final MamdaTradeListener listener,
final MamaMsg msg,
final MamdaTradeCorrection event,
final MamdaTradeRecap recap
)
inline void onTradeClosing(
final MamdaSubscription sub,
final MamdaTradeListener listener,
final MamaMsg msg,
final MamdaTradeClosing event,
final MamdaTradeRecap recap
)
inline void onQuoteRecap(
final MamdaSubscription sub,
final MamdaQuoteListener listener,
final MamaMsg msg,
final MamdaQuoteRecap recap
)
inline void onQuoteUpdate(
final MamdaSubscription sub,
final MamdaQuoteListener listener,
final MamaMsg msg,
final MamdaQuoteUpdate quote,
final MamdaQuoteRecap recap
)
inline void onQuoteGap(
final MamdaSubscription sub,
final MamdaQuoteListener listener,
final MamaMsg msg,
final MamdaQuoteGap event,
final MamdaQuoteRecap recap
)
inline void onQuoteClosing(
final MamdaSubscription sub,
final MamdaQuoteListener listener,
final MamaMsg msg,
final MamdaQuoteClosing event,
final MamdaQuoteRecap recap
)
Updated on 2023-03-31 at 15:30:37 +0100