Inherits from com.wombat.mamda.MamdaTradeHandler, com.wombat.mamda.MamdaQuoteHandler
Name | |
---|---|
OptionContractTicker(MamdaOptionContract contract, MamdaOptionChainView view, OptionChainDisplay display) | |
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 event, 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::MamdaOptionChainViewExample::OptionContractTicker;
OptionContractTicker is a class that we can use to handle updates to individual option contracts. This example just prints individual trades and quotes. Instances of this class are associated with actual option contracts in the OptionChainDisplay.onOptionSeriesUpdate method, above. The trade and quote information of the underlying is accessible via the chain argument.
inline OptionContractTicker(
MamdaOptionContract contract,
MamdaOptionChainView view,
OptionChainDisplay display
)
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 event,
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