Package com.wombat.mamda
Class MamdaOrderImbalanceListener
- java.lang.Object
-
- com.wombat.mamda.MamdaOrderImbalanceListener
-
- All Implemented Interfaces:
MamdaBasicEvent
,MamdaBasicRecap
,MamdaMsgListener
,MamdaOrderImbalanceRecap
,MamdaOrderImbalanceUpdate
public class MamdaOrderImbalanceListener extends java.lang.Object implements MamdaMsgListener, MamdaBasicEvent, MamdaBasicRecap, MamdaOrderImbalanceRecap, MamdaOrderImbalanceUpdate
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.
-
-
Constructor Summary
Constructors Constructor Description MamdaOrderImbalanceListener()
constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHandler(MamdaOrderImbalanceHandler handler)
addHandler - Registers handler interested in receiving update update and recap events.void
clearCache(com.wombat.mamda.MamdaOrderImbalanceListener.MamdaOrderImbalanceCache cache)
clearCache - clears all cached data by resetting to default values.com.wombat.mama.MamaDateTime
getActivityTime()
getActivityTimeshort
getActivityTimeFieldState()
getActivityTimeFieldStatecom.wombat.mama.MamaDateTime
getAuctionTime()
getAuctionTimeshort
getAuctionTimeFieldState()
getAuctionTimeFieldStatelong
getBuyVolume()
getBuyVolume - Returns the buy volume of the imbalance ordershort
getBuyVolumeFieldState()
getBuyVolumeFieldState - Returns the buy volume of the imbalance orderchar
getCrossType()
short
getCrossTypeFieldState()
getCrossType return the imbalance cross typelong
getEventSeqNum()
getEventSeqNumshort
getEventSeqNumFieldState()
getEventSeqNumFieldStatecom.wombat.mama.MamaDateTime
getEventTime()
getEventTimeshort
getEventTimeFieldState()
getEventTimeFieldStatecom.wombat.mama.MamaPrice
getFarClearingPrice()
getFarClearingPrice - Returns the far clearing price for the imbalance order.short
getFarClearingPriceFieldState()
getFarClearingPriceFieldState - Returns the far clearing price for the imbalance order.com.wombat.mama.MamaPrice
getHighIndicationPrice()
getHighIndicationPrice - Returns the high indication price of the imbalance order.short
getHighIndicationPriceFieldState()
getHighIndicationPriceFieldState - Returns the high indication price of the imbalance order.com.wombat.mama.MamaPrice
getImbalancePrice()
getImbalancePrice - Returns the indication price for the imbalance order.short
getImbalancePriceFieldState()
getImbalancePriceFieldState - Returns the indication price for the imbalance order.MamdaOrderImbalanceSide
getImbalanceSide()
getImbalanceSide- Returns the imbalance side of the imbalance order.java.lang.String
getImbalanceState()
getImbalanceState - Returns the order imbalance stateshort
getImbalanceStateFieldState()
getImbalanceStateFieldState - Returns the order imbalance statelong
getImbalanceVolume()
getImbalanceVolume - Returns the imbalance volume, which is either the sell or buy volumejava.lang.String
getIssueSymbol()
getIssueSymbolshort
getIssueSymbolFieldState()
getIssueSymbolFieldStatecom.wombat.mama.MamaDateTime
getLineTime()
getLineTimeshort
getLineTimeFieldState()
getLineTimeFieldStatecom.wombat.mama.MamaPrice
getLowIndicationPrice()
getLowIndicationPrice - Returns the low indication price of the imbalance order.short
getLowIndicationPriceFieldState()
getLowIndicationPriceFieldState - Returns the low indication price of the imbalance order.com.wombat.mama.MamaPrice
getMatchPrice()
getMatchPrice - Returns the match price for the imbalance order.short
getMatchPriceFieldState()
getMatchPriceFieldState - Returns the match price for the imbalance order.long
getMatchVolume()
getMatchVolume - Returns the match volume of the imbalance ordershort
getMatchVolumeFieldState()
getMatchVolumeFieldState - Returns the match volume of the imbalance orderint
getMsgType()
getMsgTypeshort
getMsgTypeFieldState()
getMsgTypeFieldStatecom.wombat.mama.MamaPrice
getNearClearingPrice()
getNearClearingPrice - Returns the near clearing price for the imbalance order.short
getNearClearingPriceFieldState()
getNearClearingPriceFieldState - Returns the near clearing price for the imbalance order.char
getNoClearingPrice()
getNoClearingPrice - Returns the no clearing price for the imbalance order.short
getNoClearingPriceFieldState()
getNoClearingPriceFieldState - Returns the no clearing price for the imbalance order.java.lang.String
getPartId()
getPartIdshort
getPartIdFieldState()
getPartIdFieldStatechar
getPriceVarInd()
getPriceVarInd -short
getPriceVarIndFieldState()
getPriceVarIndFieldState -java.lang.String
getSecurityStatusOrig()
getSecurityStatusOrigshort
getSecurityStatusOrigFieldState()
getSecurityStatusOrigFieldStatecom.wombat.mama.MamaDateTime
getSecurityStatusTime()
getSecurityStatusTimeshort
getSecurityStatusTimeFieldState()
getSecurityStatusTimeFieldStatelong
getSellVolume()
getSellVolume - Returns the sell volume of the imbalance ordershort
getSellVolumeFieldState()
getSellVolumeFieldState - Returns the sell volume of the imbalance ordercom.wombat.mama.MamaDateTime
getSendTime()
getSendTimeshort
getSendTimeFieldState()
getSendTimeFieldStateint
getSeqNum()
getSeqNumshort
getSeqNumFieldState()
getSeqNumFieldStatecom.wombat.mama.MamaDateTime
getSrcTime()
getSrcTimeshort
getSrcTimeFieldState()
getSrcTimeFieldStatejava.lang.String
getSymbol()
getSymbolshort
getSymbolFieldState()
getSymbolFieldStatevoid
onMsg(MamdaSubscription subscription, com.wombat.mama.MamaMsg msg, short msgType)
Implementation of MamdaListener interface.
-
-
-
Method Detail
-
clearCache
public void clearCache(com.wombat.mamda.MamdaOrderImbalanceListener.MamdaOrderImbalanceCache cache)
clearCache - clears all cached data by resetting to default values.- Parameters:
cache
- The imbalance order cache to clear.
-
addHandler
public void addHandler(MamdaOrderImbalanceHandler handler)
addHandler - Registers handler interested in receiving update update and recap events. Currently only one handler can and must be registered.- Parameters:
handler
- - the handler to be registered.
-
getHighIndicationPrice
public com.wombat.mama.MamaPrice getHighIndicationPrice()
getHighIndicationPrice - Returns the high indication price of the imbalance order.- Specified by:
getHighIndicationPrice
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getHighIndicationPrice
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mHighIndicationPrice
-
getLowIndicationPrice
public com.wombat.mama.MamaPrice getLowIndicationPrice()
getLowIndicationPrice - Returns the low indication price of the imbalance order.- Specified by:
getLowIndicationPrice
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getLowIndicationPrice
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mLowIndicationPrice
-
getImbalancePrice
public com.wombat.mama.MamaPrice getImbalancePrice()
getImbalancePrice - Returns the indication price for the imbalance order.- Specified by:
getImbalancePrice
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getImbalancePrice
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mIndicationPrice
-
getBuyVolume
public long getBuyVolume()
getBuyVolume - Returns the buy volume of the imbalance order- Specified by:
getBuyVolume
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getBuyVolume
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mBuyVolume
-
getSellVolume
public long getSellVolume()
getSellVolume - Returns the sell volume of the imbalance order- Specified by:
getSellVolume
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getSellVolume
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mSellVolume
-
getMatchVolume
public long getMatchVolume()
getMatchVolume - Returns the match volume of the imbalance order- Specified by:
getMatchVolume
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getMatchVolume
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mMatchVolume
-
getImbalanceState
public java.lang.String getImbalanceState()
getImbalanceState - Returns the order imbalance state- Specified by:
getImbalanceState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getImbalanceState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mSecurityStatusQual
-
getMatchPrice
public com.wombat.mama.MamaPrice getMatchPrice()
getMatchPrice - Returns the match price for the imbalance order.- Specified by:
getMatchPrice
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getMatchPrice
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mInsideMatchPrice
-
getFarClearingPrice
public com.wombat.mama.MamaPrice getFarClearingPrice()
getFarClearingPrice - Returns the far clearing price for the imbalance order.- Specified by:
getFarClearingPrice
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getFarClearingPrice
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mFarClearingPrice
-
getNearClearingPrice
public com.wombat.mama.MamaPrice getNearClearingPrice()
getNearClearingPrice - Returns the near clearing price for the imbalance order.- Specified by:
getNearClearingPrice
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getNearClearingPrice
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mNearClearingPrice
-
getNoClearingPrice
public char getNoClearingPrice()
getNoClearingPrice - Returns the no clearing price for the imbalance order.- Specified by:
getNoClearingPrice
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getNoClearingPrice
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mNoClearingPrice
-
getPriceVarInd
public char getPriceVarInd()
getPriceVarInd -- Specified by:
getPriceVarInd
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getPriceVarInd
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mPriceVarInd
-
getCrossType
public char getCrossType()
- Specified by:
getCrossType
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getCrossType
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- Returns the CrossType.
-
getEventTime
public com.wombat.mama.MamaDateTime getEventTime()
getEventTime- Specified by:
getEventTime
in interfaceMamdaBasicEvent
- Specified by:
getEventTime
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getEventTime
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mEventTime
- See Also:
MamdaBasicEvent.getEventTime()
-
getEventSeqNum
public long getEventSeqNum()
getEventSeqNum- Specified by:
getEventSeqNum
in interfaceMamdaBasicEvent
- Specified by:
getEventSeqNum
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getEventSeqNum
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mEventSeqNum
- See Also:
MamdaBasicEvent.getEventSeqNum()
-
getActivityTime
public com.wombat.mama.MamaDateTime getActivityTime()
getActivityTime- Specified by:
getActivityTime
in interfaceMamdaBasicEvent
- Specified by:
getActivityTime
in interfaceMamdaBasicRecap
- Specified by:
getActivityTime
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getActivityTime
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mActTime
- See Also:
MamdaBasicEvent.getActivityTime()
-
getSrcTime
public com.wombat.mama.MamaDateTime getSrcTime()
getSrcTime- Specified by:
getSrcTime
in interfaceMamdaBasicEvent
- Specified by:
getSrcTime
in interfaceMamdaBasicRecap
- Returns:
- mSrcTime
- See Also:
MamdaBasicEvent.getSrcTime()
-
getSendTime
public com.wombat.mama.MamaDateTime getSendTime()
getSendTime- Specified by:
getSendTime
in interfaceMamdaBasicRecap
- Returns:
- mSendTime
- See Also:
MamdaBasicEvent#getSendTime
-
getLineTime
public com.wombat.mama.MamaDateTime getLineTime()
getLineTime- Specified by:
getLineTime
in interfaceMamdaBasicRecap
- Returns:
- mLineTime
- See Also:
MamdaBasicEvent#getLineTime
-
getMsgType
public int getMsgType()
getMsgType- Specified by:
getMsgType
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getMsgType
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mMsgType
-
getIssueSymbol
public java.lang.String getIssueSymbol()
getIssueSymbol- Specified by:
getIssueSymbol
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getIssueSymbol
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mIssueSymbol
-
getPartId
public java.lang.String getPartId()
getPartId- Specified by:
getPartId
in interfaceMamdaBasicRecap
- Specified by:
getPartId
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getPartId
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mPartId
-
getSymbol
public java.lang.String getSymbol()
getSymbol- Specified by:
getSymbol
in interfaceMamdaBasicRecap
- Returns:
- mSymbol
-
getSeqNum
public int getSeqNum()
getSeqNum- Specified by:
getSeqNum
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getSeqNum
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mSeqNum
-
getSecurityStatusOrig
public java.lang.String getSecurityStatusOrig()
getSecurityStatusOrig- Specified by:
getSecurityStatusOrig
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getSecurityStatusOrig
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mSecurityStatusOrig
-
getSecurityStatusTime
public com.wombat.mama.MamaDateTime getSecurityStatusTime()
getSecurityStatusTime- Specified by:
getSecurityStatusTime
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getSecurityStatusTime
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mSecurityStatusTime
-
getAuctionTime
public com.wombat.mama.MamaDateTime getAuctionTime()
getAuctionTime- Specified by:
getAuctionTime
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getAuctionTime
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mAuctionTime
-
getHighIndicationPriceFieldState
public short getHighIndicationPriceFieldState()
getHighIndicationPriceFieldState - Returns the high indication price of the imbalance order.- Specified by:
getHighIndicationPriceFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getHighIndicationPriceFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mHighIndicationPriceFieldState
-
getLowIndicationPriceFieldState
public short getLowIndicationPriceFieldState()
getLowIndicationPriceFieldState - Returns the low indication price of the imbalance order.- Specified by:
getLowIndicationPriceFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getLowIndicationPriceFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mLowIndicationPriceFieldState
-
getImbalancePriceFieldState
public short getImbalancePriceFieldState()
getImbalancePriceFieldState - Returns the indication price for the imbalance order.- Specified by:
getImbalancePriceFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getImbalancePriceFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mIndicationPriceFieldState
-
getBuyVolumeFieldState
public short getBuyVolumeFieldState()
getBuyVolumeFieldState - Returns the buy volume of the imbalance order- Specified by:
getBuyVolumeFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getBuyVolumeFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mBuyVolumeFieldState
-
getSellVolumeFieldState
public short getSellVolumeFieldState()
getSellVolumeFieldState - Returns the sell volume of the imbalance order- Specified by:
getSellVolumeFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getSellVolumeFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mSellVolumeFieldState
-
getMatchVolumeFieldState
public short getMatchVolumeFieldState()
getMatchVolumeFieldState - Returns the match volume of the imbalance order- Specified by:
getMatchVolumeFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getMatchVolumeFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mMatchVolume
-
getImbalanceStateFieldState
public short getImbalanceStateFieldState()
getImbalanceStateFieldState - Returns the order imbalance state- Specified by:
getImbalanceStateFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getImbalanceStateFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mSecurityStatusQual
-
getMatchPriceFieldState
public short getMatchPriceFieldState()
getMatchPriceFieldState - Returns the match price for the imbalance order.- Specified by:
getMatchPriceFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getMatchPriceFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mInsideMatchPrice
-
getFarClearingPriceFieldState
public short getFarClearingPriceFieldState()
getFarClearingPriceFieldState - Returns the far clearing price for the imbalance order.- Specified by:
getFarClearingPriceFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getFarClearingPriceFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mFarClearingPriceFieldState
-
getNearClearingPriceFieldState
public short getNearClearingPriceFieldState()
getNearClearingPriceFieldState - Returns the near clearing price for the imbalance order.- Specified by:
getNearClearingPriceFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getNearClearingPriceFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mNearClearingPriceFieldState
-
getNoClearingPriceFieldState
public short getNoClearingPriceFieldState()
getNoClearingPriceFieldState - Returns the no clearing price for the imbalance order.- Specified by:
getNoClearingPriceFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getNoClearingPriceFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mNoClearingPriceFieldState
-
getPriceVarIndFieldState
public short getPriceVarIndFieldState()
getPriceVarIndFieldState -- Specified by:
getPriceVarIndFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getPriceVarIndFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mPriceVarIndFieldState
-
getCrossTypeFieldState
public short getCrossTypeFieldState()
getCrossType return the imbalance cross type- Specified by:
getCrossTypeFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getCrossTypeFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mCrossType
-
getEventTimeFieldState
public short getEventTimeFieldState()
getEventTimeFieldState- Specified by:
getEventTimeFieldState
in interfaceMamdaBasicEvent
- Specified by:
getEventTimeFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getEventTimeFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mEventTimeFieldState
- See Also:
MamdaBasicEvent.getEventTimeFieldState()
-
getEventSeqNumFieldState
public short getEventSeqNumFieldState()
getEventSeqNumFieldState- Specified by:
getEventSeqNumFieldState
in interfaceMamdaBasicEvent
- Specified by:
getEventSeqNumFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getEventSeqNumFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mEventSeqNumFieldState
- See Also:
MamdaBasicEvent.getEventSeqNumFieldState()
-
getActivityTimeFieldState
public short getActivityTimeFieldState()
getActivityTimeFieldState- Specified by:
getActivityTimeFieldState
in interfaceMamdaBasicEvent
- Specified by:
getActivityTimeFieldState
in interfaceMamdaBasicRecap
- Specified by:
getActivityTimeFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getActivityTimeFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mActTimeFieldState
- See Also:
MamdaBasicEvent.getActivityTimeFieldState()
-
getSrcTimeFieldState
public short getSrcTimeFieldState()
getSrcTimeFieldState- Specified by:
getSrcTimeFieldState
in interfaceMamdaBasicEvent
- Specified by:
getSrcTimeFieldState
in interfaceMamdaBasicRecap
- Returns:
- mSrcTimeFieldState
- See Also:
MamdaBasicEvent.getSrcTimeFieldState()
-
getSendTimeFieldState
public short getSendTimeFieldState()
getSendTimeFieldState- Specified by:
getSendTimeFieldState
in interfaceMamdaBasicRecap
- Returns:
- mSendTimeFieldState
- See Also:
MamdaBasicEvent#getSendTimeFieldState
-
getLineTimeFieldState
public short getLineTimeFieldState()
getLineTimeFieldState- Specified by:
getLineTimeFieldState
in interfaceMamdaBasicRecap
- Returns:
- mLineTimeFieldState
- See Also:
MamdaBasicEvent#getLineTimeFieldState
-
getMsgTypeFieldState
public short getMsgTypeFieldState()
getMsgTypeFieldState- Specified by:
getMsgTypeFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getMsgTypeFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mMsgTypeFieldState
-
getIssueSymbolFieldState
public short getIssueSymbolFieldState()
getIssueSymbolFieldState- Specified by:
getIssueSymbolFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getIssueSymbolFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mIssueSymbolFieldState
-
getPartIdFieldState
public short getPartIdFieldState()
getPartIdFieldState- Specified by:
getPartIdFieldState
in interfaceMamdaBasicRecap
- Specified by:
getPartIdFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getPartIdFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mPartIdFieldState
-
getSymbolFieldState
public short getSymbolFieldState()
getSymbolFieldState- Specified by:
getSymbolFieldState
in interfaceMamdaBasicRecap
- Returns:
- mSymbolFieldState
-
getSeqNumFieldState
public short getSeqNumFieldState()
getSeqNumFieldState- Specified by:
getSeqNumFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getSeqNumFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mSeqNumFieldState
-
getSecurityStatusOrigFieldState
public short getSecurityStatusOrigFieldState()
getSecurityStatusOrigFieldState- Specified by:
getSecurityStatusOrigFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getSecurityStatusOrigFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mSecurityStatusOrigFieldState
-
getSecurityStatusTimeFieldState
public short getSecurityStatusTimeFieldState()
getSecurityStatusTimeFieldState- Specified by:
getSecurityStatusTimeFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getSecurityStatusTimeFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mSecurityStatusTimeFieldState
-
getAuctionTimeFieldState
public short getAuctionTimeFieldState()
getAuctionTimeFieldState- Specified by:
getAuctionTimeFieldState
in interfaceMamdaOrderImbalanceRecap
- Specified by:
getAuctionTimeFieldState
in interfaceMamdaOrderImbalanceUpdate
- Returns:
- mAuctionTimeFieldState
-
getImbalanceSide
public MamdaOrderImbalanceSide getImbalanceSide()
getImbalanceSide- Returns the imbalance side of the imbalance order. This is determined by the Buy and Sell Volumes.- Returns:
- mSide
-
getImbalanceVolume
public long getImbalanceVolume()
getImbalanceVolume - Returns the imbalance volume, which is either the sell or buy volume- Returns:
- long
-
onMsg
public void onMsg(MamdaSubscription subscription, com.wombat.mama.MamaMsg msg, short msgType)
Implementation of MamdaListener interface.- Specified by:
onMsg
in interfaceMamdaMsgListener
- Parameters:
subscription
- The MamdaSubscription to which this listener was registered.msg
- The MamaMsg received by the underlying MAMA API and which resulted in this callback being invoked.msgType
- The message type. e.g. INITIAL, RECAP, UPDATE etc.
-
-