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:
Name | |
---|---|
void | onOrderImbalance(MamdaSubscription subscription, MamdaOrderImbalanceListener listener, MamaMsg msg) Method invoked when a order imbalance is reported. |
void | onNoOrderImbalance(MamdaSubscription subscription, MamdaOrderImbalanceListener listener, MamaMsg msg) Method invoked when a no order imbalance is reported. |
void | onOrderImbalanceRecap(MamdaSubscription subscription, MamdaOrderImbalanceListener listener, MamaMsg msg) Method invoked when the current order imbalance information is available. The reason for the invocation may be any of the following: |
void onOrderImbalance(
MamdaSubscription subscription,
MamdaOrderImbalanceListener listener,
MamaMsg msg
)
Method invoked when a order imbalance is reported.
Parameters:
void onNoOrderImbalance(
MamdaSubscription subscription,
MamdaOrderImbalanceListener listener,
MamaMsg msg
)
Method invoked when a no order imbalance is reported.
Parameters:
void onOrderImbalanceRecap(
MamdaSubscription subscription,
MamdaOrderImbalanceListener listener,
MamaMsg msg
)
Method invoked when the current order imbalance information is available. The reason for the invocation may be any of the following:
Parameters:
msg The MamaMsg that triggered this invocation.
Updated on 2023-03-31 at 15:30:12 +0100