public interface MamdaTradeHandler
Modifier and Type | Method and Description |
---|---|
void |
onTradeCancelOrError(MamdaSubscription subscription,
MamdaTradeListener listener,
com.wombat.mama.MamaMsg msg,
MamdaTradeCancelOrError event,
MamdaTradeRecap recap)
Method invoked when a trade cancel or error is reported.
|
void |
onTradeClosing(MamdaSubscription subscription,
MamdaTradeListener listener,
com.wombat.mama.MamaMsg msg,
MamdaTradeClosing event,
MamdaTradeRecap recap)
Method invoked for a closing report.
|
void |
onTradeCorrection(MamdaSubscription subscription,
MamdaTradeListener listener,
com.wombat.mama.MamaMsg msg,
MamdaTradeCorrection event,
MamdaTradeRecap recap)
Method invoked when a trade correction is reported.
|
void |
onTradeGap(MamdaSubscription subscription,
MamdaTradeListener listener,
com.wombat.mama.MamaMsg msg,
MamdaTradeGap event,
MamdaTradeRecap recap)
Method invoked when a gap in trade reports is discovered.
|
void |
onTradeRecap(MamdaSubscription subscription,
MamdaTradeListener listener,
com.wombat.mama.MamaMsg msg,
MamdaTradeRecap recap)
Method invoked when the current last-trade information for the
security is available.
|
void |
onTradeReport(MamdaSubscription subscription,
MamdaTradeListener listener,
com.wombat.mama.MamaMsg msg,
MamdaTradeReport event,
MamdaTradeRecap recap)
Method invoked when a trade is reported.
|
void onTradeRecap(MamdaSubscription subscription, MamdaTradeListener listener, com.wombat.mama.MamaMsg msg, MamdaTradeRecap recap)
subscription
- The subscription which received the update.listener
- The listener which invoked this callback.msg
- The MamaMsg that triggered this invocation.recap
- Access to the trade fields in the recap update.void onTradeReport(MamdaSubscription subscription, MamdaTradeListener listener, com.wombat.mama.MamaMsg msg, MamdaTradeReport event, MamdaTradeRecap recap)
subscription
- The subscription which received the update.listener
- The listener which invoked the callback.msg
- The MamaMsg that triggered this invocation.event
- Access to the trade data from the update.recap
- Access to complete trade data.void onTradeGap(MamdaSubscription subscription, MamdaTradeListener listener, com.wombat.mama.MamaMsg msg, MamdaTradeGap event, MamdaTradeRecap recap)
subscription
- The subscription which received the update.listener
- The listener which invoked this callback.msg
- The MamaMsg that triggered this invocation.event
- Access to details from the trade gap event.recap
- Access to complete trade data.void onTradeCancelOrError(MamdaSubscription subscription, MamdaTradeListener listener, com.wombat.mama.MamaMsg msg, MamdaTradeCancelOrError event, MamdaTradeRecap recap)
subscription
- The subscription which received the update.listener
- The listener which invoked this callback.msg
- The MamaMsg that triggered this invocation.event
- Access to the details from the cancel/error event.recap
- Access to the complete trade data.void onTradeCorrection(MamdaSubscription subscription, MamdaTradeListener listener, com.wombat.mama.MamaMsg msg, MamdaTradeCorrection event, MamdaTradeRecap recap)
subscription
- The subscription which received the update.listener
- The listener which invoked this callback.msg
- The MamaMsg that triggered this invocation.event
- Access to the details from the trade correction
event.recap
- Access to the complete trade data.void onTradeClosing(MamdaSubscription subscription, MamdaTradeListener listener, com.wombat.mama.MamaMsg msg, MamdaTradeClosing event, MamdaTradeRecap recap)
subscription
- The subscription which received the update.listener
- The listener which invoked this callback.msg
- The MamaMsg that triggered this invocation.event
- Access to the details from the trade closing event.recap
- Access to the complete trade data.Copyright 2007 Wombat Financial Software, Inc.