Inherits from com.wombat.mamda.MamdaMsgListener, com.wombat.mamda.MamdaBasicEvent, com.wombat.mamda.MamdaBasicRecap, com.wombat.mamda.MamdaOrderImbalanceRecap, com.wombat.mamda.MamdaOrderImbalanceUpdate
Name | |
---|---|
final MamdaOrderImbalanceCache | orderImbalanceCache |
class com::wombat::mamda::MamdaOrderImbalanceListener;
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.
inline void clearCache(
MamdaOrderImbalanceCache cache
)
Parameters:
clearCache - clears all cached data by resetting to default values.
inline MamdaOrderImbalanceListener()
constructor
inline void addHandler(
MamdaOrderImbalanceHandler handler
)
Parameters:
addHandler - Registers handler interested in receiving update update and recap events. Currently only one handler can and must be registered.
inline MamaPrice getHighIndicationPrice()
Return: mHighIndicationPrice
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getHighIndicationPrice
getHighIndicationPrice - Returns the high indication price of the imbalance order.
inline MamaPrice getLowIndicationPrice()
Return: mLowIndicationPrice
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getLowIndicationPrice
getLowIndicationPrice - Returns the low indication price of the imbalance order.
inline MamaPrice getImbalancePrice()
Return: mIndicationPrice
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getImbalancePrice
getImbalancePrice - Returns the indication price for the imbalance order.
inline long getBuyVolume()
Return: mBuyVolume
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getBuyVolume
getBuyVolume - Returns the buy volume of the imbalance order
inline long getSellVolume()
Return: mSellVolume
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getSellVolume
getSellVolume - Returns the sell volume of the imbalance order
inline long getMatchVolume()
Return: mMatchVolume
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getMatchVolume
getMatchVolume - Returns the match volume of the imbalance order
inline String getImbalanceState()
Return: mSecurityStatusQual
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getImbalanceState
getImbalanceState - Returns the order imbalance state
inline MamaPrice getMatchPrice()
Return: mInsideMatchPrice
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getMatchPrice
getMatchPrice - Returns the match price for the imbalance order.
inline MamaPrice getFarClearingPrice()
Return: mFarClearingPrice
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getFarClearingPrice
getFarClearingPrice - Returns the far clearing price for the imbalance order.
inline MamaPrice getNearClearingPrice()
Return: mNearClearingPrice
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getNearClearingPrice
getNearClearingPrice - Returns the near clearing price for the imbalance order.
inline char getNoClearingPrice()
Return: mNoClearingPrice
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getNoClearingPrice
getNoClearingPrice - Returns the no clearing price for the imbalance order.
inline char getPriceVarInd()
Return: mPriceVarInd
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getPriceVarInd
getPriceVarInd -
inline char getCrossType()
Return: Returns the CrossType.
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getCrossType
inline MamaDateTime getEventTime()
See: MamdaBasicEvent::getEventTime
Return: mEventTime
Reimplements: com::wombat::mamda::MamdaBasicEvent::getEventTime
getEventTime
inline long getEventSeqNum()
See: MamdaBasicEvent::getEventSeqNum
Return: mEventSeqNum
Reimplements: com::wombat::mamda::MamdaBasicEvent::getEventSeqNum
getEventSeqNum
inline MamaDateTime getActivityTime()
See: MamdaBasicEvent::getActivityTime
Return: mActTime
Reimplements: com::wombat::mamda::MamdaBasicEvent::getActivityTime
getActivityTime
inline MamaDateTime getSrcTime()
See: MamdaBasicEvent::getSrcTime
Return: mSrcTime
Reimplements: com::wombat::mamda::MamdaBasicEvent::getSrcTime
getSrcTime
inline MamaDateTime getSendTime()
Return: mSendTime
Reimplements: com::wombat::mamda::MamdaBasicRecap::getSendTime
getSendTime
inline MamaDateTime getLineTime()
Return: mLineTime
Reimplements: com::wombat::mamda::MamdaBasicRecap::getLineTime
getLineTime
inline int getMsgType()
Return: mMsgType
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getMsgType
getMsgType
inline String getIssueSymbol()
Return: mIssueSymbol
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getIssueSymbol
getIssueSymbol
inline String getPartId()
Return: mPartId
Reimplements: com::wombat::mamda::MamdaBasicRecap::getPartId
getPartId
inline String getSymbol()
Return: mSymbol
Reimplements: com::wombat::mamda::MamdaBasicRecap::getSymbol
getSymbol
inline int getSeqNum()
Return: mSeqNum
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getSeqNum
getSeqNum
inline String getSecurityStatusOrig()
Return: mSecurityStatusOrig
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getSecurityStatusOrig
getSecurityStatusOrig
inline MamaDateTime getSecurityStatusTime()
Return: mSecurityStatusTime
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getSecurityStatusTime
getSecurityStatusTime
inline MamaDateTime getAuctionTime()
Return: mAuctionTime
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getAuctionTime
getAuctionTime
inline short getHighIndicationPriceFieldState()
Return: mHighIndicationPriceFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getHighIndicationPriceFieldState
getHighIndicationPriceFieldState - Returns the high indication price of the imbalance order.
inline short getLowIndicationPriceFieldState()
Return: mLowIndicationPriceFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getLowIndicationPriceFieldState
getLowIndicationPriceFieldState - Returns the low indication price of the imbalance order.
inline short getImbalancePriceFieldState()
Return: mIndicationPriceFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getImbalancePriceFieldState
getImbalancePriceFieldState - Returns the indication price for the imbalance order.
inline short getBuyVolumeFieldState()
Return: mBuyVolumeFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getBuyVolumeFieldState
getBuyVolumeFieldState - Returns the buy volume of the imbalance order
inline short getSellVolumeFieldState()
Return: mSellVolumeFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getSellVolumeFieldState
getSellVolumeFieldState - Returns the sell volume of the imbalance order
inline short getMatchVolumeFieldState()
Return: mMatchVolume
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getMatchVolumeFieldState
getMatchVolumeFieldState - Returns the match volume of the imbalance order
inline short getImbalanceStateFieldState()
Return: mSecurityStatusQual
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getImbalanceStateFieldState
getImbalanceStateFieldState - Returns the order imbalance state
inline short getMatchPriceFieldState()
Return: mInsideMatchPrice
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getMatchPriceFieldState
getMatchPriceFieldState - Returns the match price for the imbalance order.
inline short getFarClearingPriceFieldState()
Return: mFarClearingPriceFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getFarClearingPriceFieldState
getFarClearingPriceFieldState - Returns the far clearing price for the imbalance order.
inline short getNearClearingPriceFieldState()
Return: mNearClearingPriceFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getNearClearingPriceFieldState
getNearClearingPriceFieldState - Returns the near clearing price for the imbalance order.
inline short getNoClearingPriceFieldState()
Return: mNoClearingPriceFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getNoClearingPriceFieldState
getNoClearingPriceFieldState - Returns the no clearing price for the imbalance order.
inline short getPriceVarIndFieldState()
Return: mPriceVarIndFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getPriceVarIndFieldState
getPriceVarIndFieldState -
inline short getCrossTypeFieldState()
Return: mCrossType
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getCrossTypeFieldState
getCrossType return the imbalance cross type
inline short getEventTimeFieldState()
See: MamdaBasicEvent::getEventTimeFieldState
Return: mEventTimeFieldState
Reimplements: com::wombat::mamda::MamdaBasicEvent::getEventTimeFieldState
getEventTimeFieldState
inline short getEventSeqNumFieldState()
See: MamdaBasicEvent::getEventSeqNumFieldState
Return: mEventSeqNumFieldState
Reimplements: com::wombat::mamda::MamdaBasicEvent::getEventSeqNumFieldState
getEventSeqNumFieldState
inline short getActivityTimeFieldState()
See: MamdaBasicEvent::getActivityTimeFieldState
Return: mActTimeFieldState
Reimplements: com::wombat::mamda::MamdaBasicEvent::getActivityTimeFieldState
getActivityTimeFieldState
inline short getSrcTimeFieldState()
See: MamdaBasicEvent::getSrcTimeFieldState
Return: mSrcTimeFieldState
Reimplements: com::wombat::mamda::MamdaBasicEvent::getSrcTimeFieldState
getSrcTimeFieldState
inline short getSendTimeFieldState()
Return: mSendTimeFieldState
Reimplements: com::wombat::mamda::MamdaBasicRecap::getSendTimeFieldState
getSendTimeFieldState
inline short getLineTimeFieldState()
Return: mLineTimeFieldState
Reimplements: com::wombat::mamda::MamdaBasicRecap::getLineTimeFieldState
getLineTimeFieldState
inline short getMsgTypeFieldState()
Return: mMsgTypeFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getMsgTypeFieldState
getMsgTypeFieldState
inline short getIssueSymbolFieldState()
Return: mIssueSymbolFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getIssueSymbolFieldState
getIssueSymbolFieldState
inline short getPartIdFieldState()
Return: mPartIdFieldState
Reimplements: com::wombat::mamda::MamdaBasicRecap::getPartIdFieldState
getPartIdFieldState
inline short getSymbolFieldState()
Return: mSymbolFieldState
Reimplements: com::wombat::mamda::MamdaBasicRecap::getSymbolFieldState
getSymbolFieldState
inline short getSeqNumFieldState()
Return: mSeqNumFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getSeqNumFieldState
getSeqNumFieldState
inline short getSecurityStatusOrigFieldState()
Return: mSecurityStatusOrigFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getSecurityStatusOrigFieldState
getSecurityStatusOrigFieldState
inline short getSecurityStatusTimeFieldState()
Return: mSecurityStatusTimeFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getSecurityStatusTimeFieldState
getSecurityStatusTimeFieldState
inline short getAuctionTimeFieldState()
Return: mAuctionTimeFieldState
Reimplements: com::wombat::mamda::MamdaOrderImbalanceRecap::getAuctionTimeFieldState
getAuctionTimeFieldState
inline MamdaOrderImbalanceSide getImbalanceSide()
Return: mSide
getImbalanceSide- Returns the imbalance side of the imbalance order. This is determined by the Buy and Sell Volumes.
inline long getImbalanceVolume()
Return: long
getImbalanceVolume - Returns the imbalance volume, which is either the sell or buy volume
inline void onMsg(
MamdaSubscription subscription,
final MamaMsg msg,
short msgType
)
Reimplements: com::wombat::mamda::MamdaMsgListener::onMsg
Implementation of MamdaListener interface.
final MamdaOrderImbalanceCache orderImbalanceCache = new
MamdaOrderImbalanceCache ();
Updated on 2023-03-31 at 15:30:33 +0100