A MamdaOrderImbalanceListener is class that specializes in handling imbalance order updates. An imbalance order occurs when too many orders of a particular type - either buy, sell or limit - for listed securities and not enough of the other, matching orders are received by an exchange. Developers provide their own implementation of the MamdaOrderImbalanceHandler interface and will be delivered notifications for imbalance updates.
Inherits from Wombat.MamdaMsgListener, Wombat.MamdaBasicEvent, Wombat.MamdaBasicRecap, Wombat.MamdaOrderImbalanceRecap
Name | |
---|---|
class | MamdaOrderImbalanceCache |
Name | |
---|---|
MamdaOrderImbalanceListener() | |
void | addHandler(MamdaOrderImbalanceHandler handler) Registers handler interested in receiving update and recap events. |
MamaPrice | getHighIndicationPrice() Returns the high indication price of the imbalance order. |
MamaPrice | getLowIndicationPrice() Returns the low indication price of the imbalance order. |
MamaPrice | getImbalancePrice() Returns the indication price for the imbalance order. |
long | getBuyVolume() Returns the buy volume of the imbalance order |
long | getSellVolume() Returns the sell volume of the imbalance order |
long | getMatchVolume() Returns the match volume of the imbalance order |
String | getImbalanceState() Returns the order imbalance state |
MamaPrice | getMatchPrice() Returns the match price for the imbalance order. |
MamaPrice | getFarClearingPrice() Returns the far clearing price for the imbalance order. |
MamaPrice | getNearClearingPrice() Returns the near clearing price for the imbalance order. |
char | getNoClearingPrice() Returns the no clearing price for the imbalance order. |
char | getPriceVarInd() |
char | getCrossType() Returns the imbalance cross type |
DateTime | getEventTime() MamdaBasicEvent.getEventTime |
long | getEventSeqNum() MamdaBasicEvent.getEventSeqNum |
DateTime | getActivityTime() MamdaBasicEvent.getActivityTime |
DateTime | getSrcTime() |
DateTime | getLineTime() |
DateTime | getSendTime() |
int | getMsgType() |
String | getIssueSymbol() |
String | getSymbol() |
String | getPartId() |
int | getSeqNum() |
String | getSecurityStatusOrig() |
DateTime | getSecurityStatusTime() |
DateTime | getAuctionTime() |
MamdaFieldState | getHighIndicationPriceFieldState() Returns the high indication price field state |
MamdaFieldState | getLowIndicationPriceFieldState() Returns the low indication price field state |
MamdaFieldState | getImbalancePriceFieldState() Returns the indication price field state |
MamdaFieldState | getBuyVolumeFieldState() Returns the buy volume field state of the imbalance order |
MamdaFieldState | getSellVolumeFieldState() Returns the sell volume field state of the imbalance order |
MamdaFieldState | getMatchVolumeFieldState() Returns the match volume field state of the imbalance order |
MamdaFieldState | getImbalanceStateFieldState() Returns the order imbalance state field state |
MamdaFieldState | getMatchPriceFieldState() Returns the match price field state for the imbalance order. |
MamdaFieldState | getFarClearingPriceFieldState() Returns the far clearing price field state for the imbalance order. |
MamdaFieldState | getNearClearingPriceFieldState() Returns the near clearing price field state for the imbalance order. |
MamdaFieldState | getNoClearingPriceFieldState() Returns the no clearing price field state for the imbalance order. |
MamdaFieldState | getPriceVarIndFieldState() |
MamdaFieldState | getCrossTypeFieldState() Returns the imbalance cross type field state |
MamdaFieldState | getEventTimeFieldState() MamdaBasicEvent.getEventTimeFieldState |
MamdaFieldState | getEventSeqNumFieldState() MamdaBasicEvent.getEventSeqNumFieldState |
MamdaFieldState | getActivityTimeFieldState() MamdaBasicEvent.getActivityTimeFieldState |
MamdaFieldState | getSrcTimeFieldState() MamdaBasicEvent.getSrcTimeFieldState |
MamdaFieldState | getLineTimeFieldState() |
MamdaFieldState | getSendTimeFieldState() |
MamdaFieldState | getMsgTypeFieldState() |
MamdaFieldState | getIssueSymbolFieldState() |
MamdaFieldState | getSymbolFieldState() |
MamdaFieldState | getPartIdFieldState() |
MamdaFieldState | getSeqNumFieldState() |
MamdaFieldState | getSecurityStatusOrigFieldState() |
MamdaFieldState | getSecurityStatusTimeFieldState() |
MamdaFieldState | getAuctionTimeFieldState() |
void | populateRecap(MamdaConcreteOrderImbalanceRecap recap) Resets the recap object to cached values. |
MamdaOrderImbalanceSide | getImbalanceSide() Returns the imbalance side of the imbalance order. This is determined by the Buy and Sell volumes. |
long | getImbalanceVolume() Returns the imbalance volume, which is either the sell or buy volume |
void | onMsg(MamdaSubscription subscription, MamaMsg msg, mamaMsgType msgType) Implementation of MamdaListener interface. |
Name | |
---|---|
void | clearCache(MamdaOrderImbalanceCache cache) Clears all cached data by reseting to default values. |
Name | |
---|---|
readonly MamdaOrderImbalanceCache | mOrderImbalanceCache |
MamdaOrderImbalanceListener()
void addHandler(
MamdaOrderImbalanceHandler handler
)
Registers handler interested in receiving update and recap events.
Parameters:
MamaPrice getHighIndicationPrice()
Returns the high indication price of the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getHighIndicationPrice
MamaPrice getLowIndicationPrice()
Returns the low indication price of the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getLowIndicationPrice
MamaPrice getImbalancePrice()
Returns the indication price for the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getImbalancePrice
long getBuyVolume()
Returns the buy volume of the imbalance order
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getBuyVolume
long getSellVolume()
Returns the sell volume of the imbalance order
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getSellVolume
long getMatchVolume()
Returns the match volume of the imbalance order
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getMatchVolume
String getImbalanceState()
Returns the order imbalance state
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getImbalanceState
MamaPrice getMatchPrice()
Returns the match price for the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getMatchPrice
MamaPrice getFarClearingPrice()
Returns the far clearing price for the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getFarClearingPrice
MamaPrice getNearClearingPrice()
Returns the near clearing price for the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getNearClearingPrice
char getNoClearingPrice()
Returns the no clearing price for the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getNoClearingPrice
char getPriceVarInd()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getPriceVarInd
char getCrossType()
Returns the imbalance cross type
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getCrossType
DateTime getEventTime()
Return:
Reimplements: Wombat::MamdaBasicEvent::getEventTime
long getEventSeqNum()
MamdaBasicEvent.getEventSeqNum
Return:
Reimplements: Wombat::MamdaBasicEvent::getEventSeqNum
DateTime getActivityTime()
MamdaBasicEvent.getActivityTime
Return:
Reimplements: Wombat::MamdaBasicEvent::getActivityTime
DateTime getSrcTime()
Return:
Reimplements: Wombat::MamdaBasicEvent::getSrcTime
DateTime getLineTime()
Return:
Reimplements: Wombat::MamdaBasicRecap::getLineTime
DateTime getSendTime()
Return:
Reimplements: Wombat::MamdaBasicRecap::getSendTime
int getMsgType()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getMsgType
String getIssueSymbol()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getIssueSymbol
String getSymbol()
Return:
Reimplements: Wombat::MamdaBasicRecap::getSymbol
String getPartId()
Return:
Reimplements: Wombat::MamdaBasicRecap::getPartId
int getSeqNum()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getSeqNum
String getSecurityStatusOrig()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getSecurityStatusOrig
DateTime getSecurityStatusTime()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getSecurityStatusTime
DateTime getAuctionTime()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getAuctionTime
MamdaFieldState getHighIndicationPriceFieldState()
Returns the high indication price field state
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getHighIndicationPriceFieldState
MamdaFieldState getLowIndicationPriceFieldState()
Returns the low indication price field state
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getLowIndicationPriceFieldState
MamdaFieldState getImbalancePriceFieldState()
Returns the indication price field state
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getImbalancePriceFieldState
MamdaFieldState getBuyVolumeFieldState()
Returns the buy volume field state of the imbalance order
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getBuyVolumeFieldState
MamdaFieldState getSellVolumeFieldState()
Returns the sell volume field state of the imbalance order
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getSellVolumeFieldState
MamdaFieldState getMatchVolumeFieldState()
Returns the match volume field state of the imbalance order
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getMatchVolumeFieldState
MamdaFieldState getImbalanceStateFieldState()
Returns the order imbalance state field state
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getImbalanceStateFieldState
MamdaFieldState getMatchPriceFieldState()
Returns the match price field state for the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getMatchPriceFieldState
MamdaFieldState getFarClearingPriceFieldState()
Returns the far clearing price field state for the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getFarClearingPriceFieldState
MamdaFieldState getNearClearingPriceFieldState()
Returns the near clearing price field state for the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getNearClearingPriceFieldState
MamdaFieldState getNoClearingPriceFieldState()
Returns the no clearing price field state for the imbalance order.
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getNoClearingPriceFieldState
MamdaFieldState getPriceVarIndFieldState()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getPriceVarIndFieldState
MamdaFieldState getCrossTypeFieldState()
Returns the imbalance cross type field state
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getCrossTypeFieldState
MamdaFieldState getEventTimeFieldState()
MamdaBasicEvent.getEventTimeFieldState
Return:
Reimplements: Wombat::MamdaBasicEvent::getEventTimeFieldState
MamdaFieldState getEventSeqNumFieldState()
MamdaBasicEvent.getEventSeqNumFieldState
Return:
Reimplements: Wombat::MamdaBasicEvent::getEventSeqNumFieldState
MamdaFieldState getActivityTimeFieldState()
MamdaBasicEvent.getActivityTimeFieldState
Return:
Reimplements: Wombat::MamdaBasicEvent::getActivityTimeFieldState
MamdaFieldState getSrcTimeFieldState()
MamdaBasicEvent.getSrcTimeFieldState
Return:
Reimplements: Wombat::MamdaBasicEvent::getSrcTimeFieldState
MamdaFieldState getLineTimeFieldState()
Return:
Reimplements: Wombat::MamdaBasicRecap::getLineTimeFieldState
MamdaFieldState getSendTimeFieldState()
Return:
Reimplements: Wombat::MamdaBasicRecap::getSendTimeFieldState
MamdaFieldState getMsgTypeFieldState()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getMsgTypeFieldState
MamdaFieldState getIssueSymbolFieldState()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getIssueSymbolFieldState
MamdaFieldState getSymbolFieldState()
Return:
Reimplements: Wombat::MamdaBasicRecap::getSymbolFieldState
MamdaFieldState getPartIdFieldState()
Return:
Reimplements: Wombat::MamdaBasicRecap::getPartIdFieldState
MamdaFieldState getSeqNumFieldState()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getSeqNumFieldState
MamdaFieldState getSecurityStatusOrigFieldState()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getSecurityStatusOrigFieldState
MamdaFieldState getSecurityStatusTimeFieldState()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getSecurityStatusTimeFieldState
MamdaFieldState getAuctionTimeFieldState()
Return:
Reimplements: Wombat::MamdaOrderImbalanceRecap::getAuctionTimeFieldState
void populateRecap(
MamdaConcreteOrderImbalanceRecap recap
)
Resets the recap object to cached values.
Parameters:
MamdaOrderImbalanceSide getImbalanceSide()
Returns the imbalance side of the imbalance order. This is determined by the Buy and Sell volumes.
Return:
long getImbalanceVolume()
Returns the imbalance volume, which is either the sell or buy volume
Return:
void onMsg(
MamdaSubscription subscription,
MamaMsg msg,
mamaMsgType msgType
)
Implementation of MamdaListener interface.
Reimplements: Wombat::MamdaMsgListener::onMsg
static void clearCache(
MamdaOrderImbalanceCache cache
)
Clears all cached data by reseting to default values.
Parameters:
readonly MamdaOrderImbalanceCache mOrderImbalanceCache =
new MamdaOrderImbalanceCache ();
Updated on 2023-03-31 at 15:30:12 +0100