Name | |
---|---|
void | onOrderImbalance(MamdaSubscription subscription, MamdaOrderImbalanceListener listener, final MamaMsg msg, MamdaOrderImbalanceRecap imbalance, MamdaOrderImbalanceUpdate update) |
void | onNoOrderImbalance(MamdaSubscription subscription, MamdaOrderImbalanceListener listener, final MamaMsg msg, MamdaOrderImbalanceRecap imbalance, MamdaOrderImbalanceUpdate update) |
void | onOrderImbalanceRecap(MamdaSubscription subscription, MamdaOrderImbalanceListener listener, final MamaMsg msg, MamdaOrderImbalanceRecap imbalance) |
class com::wombat::mamda::MamdaOrderImbalanceHandler;
MamdaOrderImbalanceHandler is an interface for applications that want to have an easy way to handle order imbalance updates. The interface defines callback methods for different types of order-imbalance events:
void onOrderImbalance(
MamdaSubscription subscription,
MamdaOrderImbalanceListener listener,
final MamaMsg msg,
MamdaOrderImbalanceRecap imbalance,
MamdaOrderImbalanceUpdate update
)
Parameters:
Method invoked when a order imbalance is reported.
void onNoOrderImbalance(
MamdaSubscription subscription,
MamdaOrderImbalanceListener listener,
final MamaMsg msg,
MamdaOrderImbalanceRecap imbalance,
MamdaOrderImbalanceUpdate update
)
Parameters:
Method invoked when a no order imbalance is reported.
void onOrderImbalanceRecap(
MamdaSubscription subscription,
MamdaOrderImbalanceListener listener,
final MamaMsg msg,
MamdaOrderImbalanceRecap imbalance
)
Method invoked when the current order imbalance information is available. The reason for the invocation may be any of the following:
listenerThe listener which invoked this callback.
msgThe MamaMsg that triggered this invocation.
imbalanceProvides access to imbalance details.
Updated on 2023-03-31 at 15:30:33 +0100