Name | |
---|---|
void | onTradeRecap(MamdaSubscription subscription, MamdaTradeListener listener, MamaMsg msg, MamdaTradeRecap recap) |
void | onTradeReport(MamdaSubscription subscription, MamdaTradeListener listener, MamaMsg msg, MamdaTradeReport event, MamdaTradeRecap recap) |
void | onTradeGap(MamdaSubscription subscription, MamdaTradeListener listener, MamaMsg msg, MamdaTradeGap event, MamdaTradeRecap recap) |
void | onTradeCancelOrError(MamdaSubscription subscription, MamdaTradeListener listener, MamaMsg msg, MamdaTradeCancelOrError event, MamdaTradeRecap recap) |
void | onTradeCorrection(MamdaSubscription subscription, MamdaTradeListener listener, MamaMsg msg, MamdaTradeCorrection event, MamdaTradeRecap recap) |
void | onTradeClosing(MamdaSubscription subscription, MamdaTradeListener listener, MamaMsg msg, MamdaTradeClosing event, MamdaTradeRecap recap) |
class com::wombat::mamda::MamdaTradeHandler;
MamdaTradeHandler is an interface for applications that want to have an easy way to handle trade updates. The interface defines callback methods for different types of trade-related events: trades, errors/cancels, corrections, recaps and closing reports.
void onTradeRecap(
MamdaSubscription subscription,
MamdaTradeListener listener,
MamaMsg msg,
MamdaTradeRecap recap
)
Parameters:
Method invoked when the current last-trade information for the security is available. The reason for the invocation may be any of the following:
void onTradeReport(
MamdaSubscription subscription,
MamdaTradeListener listener,
MamaMsg msg,
MamdaTradeReport event,
MamdaTradeRecap recap
)
Parameters:
Method invoked when a trade is reported.
void onTradeGap(
MamdaSubscription subscription,
MamdaTradeListener listener,
MamaMsg msg,
MamdaTradeGap event,
MamdaTradeRecap recap
)
Parameters:
Method invoked when a gap in trade reports is discovered.
void onTradeCancelOrError(
MamdaSubscription subscription,
MamdaTradeListener listener,
MamaMsg msg,
MamdaTradeCancelOrError event,
MamdaTradeRecap recap
)
Parameters:
Method invoked when a trade cancel or error is reported.
void onTradeCorrection(
MamdaSubscription subscription,
MamdaTradeListener listener,
MamaMsg msg,
MamdaTradeCorrection event,
MamdaTradeRecap recap
)
Parameters:
Method invoked when a trade correction is reported.
void onTradeClosing(
MamdaSubscription subscription,
MamdaTradeListener listener,
MamaMsg msg,
MamdaTradeClosing event,
MamdaTradeRecap recap
)
Parameters:
Method invoked for a closing report.
Updated on 2023-03-31 at 15:30:35 +0100