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 voidaddHandler(MamdaOrderImbalanceHandler handler)addHandler - Registers handler interested in receiving update update and recap events.voidclearCache(com.wombat.mamda.MamdaOrderImbalanceListener.MamdaOrderImbalanceCache cache)clearCache - clears all cached data by resetting to default values.com.wombat.mama.MamaDateTimegetActivityTime()getActivityTimeshortgetActivityTimeFieldState()getActivityTimeFieldStatecom.wombat.mama.MamaDateTimegetAuctionTime()getAuctionTimeshortgetAuctionTimeFieldState()getAuctionTimeFieldStatelonggetBuyVolume()getBuyVolume - Returns the buy volume of the imbalance ordershortgetBuyVolumeFieldState()getBuyVolumeFieldState - Returns the buy volume of the imbalance orderchargetCrossType()shortgetCrossTypeFieldState()getCrossType return the imbalance cross typelonggetEventSeqNum()getEventSeqNumshortgetEventSeqNumFieldState()getEventSeqNumFieldStatecom.wombat.mama.MamaDateTimegetEventTime()getEventTimeshortgetEventTimeFieldState()getEventTimeFieldStatecom.wombat.mama.MamaPricegetFarClearingPrice()getFarClearingPrice - Returns the far clearing price for the imbalance order.shortgetFarClearingPriceFieldState()getFarClearingPriceFieldState - Returns the far clearing price for the imbalance order.com.wombat.mama.MamaPricegetHighIndicationPrice()getHighIndicationPrice - Returns the high indication price of the imbalance order.shortgetHighIndicationPriceFieldState()getHighIndicationPriceFieldState - Returns the high indication price of the imbalance order.com.wombat.mama.MamaPricegetImbalancePrice()getImbalancePrice - Returns the indication price for the imbalance order.shortgetImbalancePriceFieldState()getImbalancePriceFieldState - Returns the indication price for the imbalance order.MamdaOrderImbalanceSidegetImbalanceSide()getImbalanceSide- Returns the imbalance side of the imbalance order.java.lang.StringgetImbalanceState()getImbalanceState - Returns the order imbalance stateshortgetImbalanceStateFieldState()getImbalanceStateFieldState - Returns the order imbalance statelonggetImbalanceVolume()getImbalanceVolume - Returns the imbalance volume, which is either the sell or buy volumejava.lang.StringgetIssueSymbol()getIssueSymbolshortgetIssueSymbolFieldState()getIssueSymbolFieldStatecom.wombat.mama.MamaDateTimegetLineTime()getLineTimeshortgetLineTimeFieldState()getLineTimeFieldStatecom.wombat.mama.MamaPricegetLowIndicationPrice()getLowIndicationPrice - Returns the low indication price of the imbalance order.shortgetLowIndicationPriceFieldState()getLowIndicationPriceFieldState - Returns the low indication price of the imbalance order.com.wombat.mama.MamaPricegetMatchPrice()getMatchPrice - Returns the match price for the imbalance order.shortgetMatchPriceFieldState()getMatchPriceFieldState - Returns the match price for the imbalance order.longgetMatchVolume()getMatchVolume - Returns the match volume of the imbalance ordershortgetMatchVolumeFieldState()getMatchVolumeFieldState - Returns the match volume of the imbalance orderintgetMsgType()getMsgTypeshortgetMsgTypeFieldState()getMsgTypeFieldStatecom.wombat.mama.MamaPricegetNearClearingPrice()getNearClearingPrice - Returns the near clearing price for the imbalance order.shortgetNearClearingPriceFieldState()getNearClearingPriceFieldState - Returns the near clearing price for the imbalance order.chargetNoClearingPrice()getNoClearingPrice - Returns the no clearing price for the imbalance order.shortgetNoClearingPriceFieldState()getNoClearingPriceFieldState - Returns the no clearing price for the imbalance order.java.lang.StringgetPartId()getPartIdshortgetPartIdFieldState()getPartIdFieldStatechargetPriceVarInd()getPriceVarInd -shortgetPriceVarIndFieldState()getPriceVarIndFieldState -java.lang.StringgetSecurityStatusOrig()getSecurityStatusOrigshortgetSecurityStatusOrigFieldState()getSecurityStatusOrigFieldStatecom.wombat.mama.MamaDateTimegetSecurityStatusTime()getSecurityStatusTimeshortgetSecurityStatusTimeFieldState()getSecurityStatusTimeFieldStatelonggetSellVolume()getSellVolume - Returns the sell volume of the imbalance ordershortgetSellVolumeFieldState()getSellVolumeFieldState - Returns the sell volume of the imbalance ordercom.wombat.mama.MamaDateTimegetSendTime()getSendTimeshortgetSendTimeFieldState()getSendTimeFieldStateintgetSeqNum()getSeqNumshortgetSeqNumFieldState()getSeqNumFieldStatecom.wombat.mama.MamaDateTimegetSrcTime()getSrcTimeshortgetSrcTimeFieldState()getSrcTimeFieldStatejava.lang.StringgetSymbol()getSymbolshortgetSymbolFieldState()getSymbolFieldStatevoidonMsg(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:
getHighIndicationPricein interfaceMamdaOrderImbalanceRecap- Specified by:
getHighIndicationPricein interfaceMamdaOrderImbalanceUpdate- Returns:
- mHighIndicationPrice
-
getLowIndicationPrice
public com.wombat.mama.MamaPrice getLowIndicationPrice()
getLowIndicationPrice - Returns the low indication price of the imbalance order.- Specified by:
getLowIndicationPricein interfaceMamdaOrderImbalanceRecap- Specified by:
getLowIndicationPricein interfaceMamdaOrderImbalanceUpdate- Returns:
- mLowIndicationPrice
-
getImbalancePrice
public com.wombat.mama.MamaPrice getImbalancePrice()
getImbalancePrice - Returns the indication price for the imbalance order.- Specified by:
getImbalancePricein interfaceMamdaOrderImbalanceRecap- Specified by:
getImbalancePricein interfaceMamdaOrderImbalanceUpdate- Returns:
- mIndicationPrice
-
getBuyVolume
public long getBuyVolume()
getBuyVolume - Returns the buy volume of the imbalance order- Specified by:
getBuyVolumein interfaceMamdaOrderImbalanceRecap- Specified by:
getBuyVolumein interfaceMamdaOrderImbalanceUpdate- Returns:
- mBuyVolume
-
getSellVolume
public long getSellVolume()
getSellVolume - Returns the sell volume of the imbalance order- Specified by:
getSellVolumein interfaceMamdaOrderImbalanceRecap- Specified by:
getSellVolumein interfaceMamdaOrderImbalanceUpdate- Returns:
- mSellVolume
-
getMatchVolume
public long getMatchVolume()
getMatchVolume - Returns the match volume of the imbalance order- Specified by:
getMatchVolumein interfaceMamdaOrderImbalanceRecap- Specified by:
getMatchVolumein interfaceMamdaOrderImbalanceUpdate- Returns:
- mMatchVolume
-
getImbalanceState
public java.lang.String getImbalanceState()
getImbalanceState - Returns the order imbalance state- Specified by:
getImbalanceStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getImbalanceStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mSecurityStatusQual
-
getMatchPrice
public com.wombat.mama.MamaPrice getMatchPrice()
getMatchPrice - Returns the match price for the imbalance order.- Specified by:
getMatchPricein interfaceMamdaOrderImbalanceRecap- Specified by:
getMatchPricein interfaceMamdaOrderImbalanceUpdate- Returns:
- mInsideMatchPrice
-
getFarClearingPrice
public com.wombat.mama.MamaPrice getFarClearingPrice()
getFarClearingPrice - Returns the far clearing price for the imbalance order.- Specified by:
getFarClearingPricein interfaceMamdaOrderImbalanceRecap- Specified by:
getFarClearingPricein interfaceMamdaOrderImbalanceUpdate- Returns:
- mFarClearingPrice
-
getNearClearingPrice
public com.wombat.mama.MamaPrice getNearClearingPrice()
getNearClearingPrice - Returns the near clearing price for the imbalance order.- Specified by:
getNearClearingPricein interfaceMamdaOrderImbalanceRecap- Specified by:
getNearClearingPricein interfaceMamdaOrderImbalanceUpdate- Returns:
- mNearClearingPrice
-
getNoClearingPrice
public char getNoClearingPrice()
getNoClearingPrice - Returns the no clearing price for the imbalance order.- Specified by:
getNoClearingPricein interfaceMamdaOrderImbalanceRecap- Specified by:
getNoClearingPricein interfaceMamdaOrderImbalanceUpdate- Returns:
- mNoClearingPrice
-
getPriceVarInd
public char getPriceVarInd()
getPriceVarInd -- Specified by:
getPriceVarIndin interfaceMamdaOrderImbalanceRecap- Specified by:
getPriceVarIndin interfaceMamdaOrderImbalanceUpdate- Returns:
- mPriceVarInd
-
getCrossType
public char getCrossType()
- Specified by:
getCrossTypein interfaceMamdaOrderImbalanceRecap- Specified by:
getCrossTypein interfaceMamdaOrderImbalanceUpdate- Returns:
- Returns the CrossType.
-
getEventTime
public com.wombat.mama.MamaDateTime getEventTime()
getEventTime- Specified by:
getEventTimein interfaceMamdaBasicEvent- Specified by:
getEventTimein interfaceMamdaOrderImbalanceRecap- Specified by:
getEventTimein interfaceMamdaOrderImbalanceUpdate- Returns:
- mEventTime
- See Also:
MamdaBasicEvent.getEventTime()
-
getEventSeqNum
public long getEventSeqNum()
getEventSeqNum- Specified by:
getEventSeqNumin interfaceMamdaBasicEvent- Specified by:
getEventSeqNumin interfaceMamdaOrderImbalanceRecap- Specified by:
getEventSeqNumin interfaceMamdaOrderImbalanceUpdate- Returns:
- mEventSeqNum
- See Also:
MamdaBasicEvent.getEventSeqNum()
-
getActivityTime
public com.wombat.mama.MamaDateTime getActivityTime()
getActivityTime- Specified by:
getActivityTimein interfaceMamdaBasicEvent- Specified by:
getActivityTimein interfaceMamdaBasicRecap- Specified by:
getActivityTimein interfaceMamdaOrderImbalanceRecap- Specified by:
getActivityTimein interfaceMamdaOrderImbalanceUpdate- Returns:
- mActTime
- See Also:
MamdaBasicEvent.getActivityTime()
-
getSrcTime
public com.wombat.mama.MamaDateTime getSrcTime()
getSrcTime- Specified by:
getSrcTimein interfaceMamdaBasicEvent- Specified by:
getSrcTimein interfaceMamdaBasicRecap- Returns:
- mSrcTime
- See Also:
MamdaBasicEvent.getSrcTime()
-
getSendTime
public com.wombat.mama.MamaDateTime getSendTime()
getSendTime- Specified by:
getSendTimein interfaceMamdaBasicRecap- Returns:
- mSendTime
- See Also:
MamdaBasicEvent#getSendTime
-
getLineTime
public com.wombat.mama.MamaDateTime getLineTime()
getLineTime- Specified by:
getLineTimein interfaceMamdaBasicRecap- Returns:
- mLineTime
- See Also:
MamdaBasicEvent#getLineTime
-
getMsgType
public int getMsgType()
getMsgType- Specified by:
getMsgTypein interfaceMamdaOrderImbalanceRecap- Specified by:
getMsgTypein interfaceMamdaOrderImbalanceUpdate- Returns:
- mMsgType
-
getIssueSymbol
public java.lang.String getIssueSymbol()
getIssueSymbol- Specified by:
getIssueSymbolin interfaceMamdaOrderImbalanceRecap- Specified by:
getIssueSymbolin interfaceMamdaOrderImbalanceUpdate- Returns:
- mIssueSymbol
-
getPartId
public java.lang.String getPartId()
getPartId- Specified by:
getPartIdin interfaceMamdaBasicRecap- Specified by:
getPartIdin interfaceMamdaOrderImbalanceRecap- Specified by:
getPartIdin interfaceMamdaOrderImbalanceUpdate- Returns:
- mPartId
-
getSymbol
public java.lang.String getSymbol()
getSymbol- Specified by:
getSymbolin interfaceMamdaBasicRecap- Returns:
- mSymbol
-
getSeqNum
public int getSeqNum()
getSeqNum- Specified by:
getSeqNumin interfaceMamdaOrderImbalanceRecap- Specified by:
getSeqNumin interfaceMamdaOrderImbalanceUpdate- Returns:
- mSeqNum
-
getSecurityStatusOrig
public java.lang.String getSecurityStatusOrig()
getSecurityStatusOrig- Specified by:
getSecurityStatusOrigin interfaceMamdaOrderImbalanceRecap- Specified by:
getSecurityStatusOrigin interfaceMamdaOrderImbalanceUpdate- Returns:
- mSecurityStatusOrig
-
getSecurityStatusTime
public com.wombat.mama.MamaDateTime getSecurityStatusTime()
getSecurityStatusTime- Specified by:
getSecurityStatusTimein interfaceMamdaOrderImbalanceRecap- Specified by:
getSecurityStatusTimein interfaceMamdaOrderImbalanceUpdate- Returns:
- mSecurityStatusTime
-
getAuctionTime
public com.wombat.mama.MamaDateTime getAuctionTime()
getAuctionTime- Specified by:
getAuctionTimein interfaceMamdaOrderImbalanceRecap- Specified by:
getAuctionTimein interfaceMamdaOrderImbalanceUpdate- Returns:
- mAuctionTime
-
getHighIndicationPriceFieldState
public short getHighIndicationPriceFieldState()
getHighIndicationPriceFieldState - Returns the high indication price of the imbalance order.- Specified by:
getHighIndicationPriceFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getHighIndicationPriceFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mHighIndicationPriceFieldState
-
getLowIndicationPriceFieldState
public short getLowIndicationPriceFieldState()
getLowIndicationPriceFieldState - Returns the low indication price of the imbalance order.- Specified by:
getLowIndicationPriceFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getLowIndicationPriceFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mLowIndicationPriceFieldState
-
getImbalancePriceFieldState
public short getImbalancePriceFieldState()
getImbalancePriceFieldState - Returns the indication price for the imbalance order.- Specified by:
getImbalancePriceFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getImbalancePriceFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mIndicationPriceFieldState
-
getBuyVolumeFieldState
public short getBuyVolumeFieldState()
getBuyVolumeFieldState - Returns the buy volume of the imbalance order- Specified by:
getBuyVolumeFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getBuyVolumeFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mBuyVolumeFieldState
-
getSellVolumeFieldState
public short getSellVolumeFieldState()
getSellVolumeFieldState - Returns the sell volume of the imbalance order- Specified by:
getSellVolumeFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getSellVolumeFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mSellVolumeFieldState
-
getMatchVolumeFieldState
public short getMatchVolumeFieldState()
getMatchVolumeFieldState - Returns the match volume of the imbalance order- Specified by:
getMatchVolumeFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getMatchVolumeFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mMatchVolume
-
getImbalanceStateFieldState
public short getImbalanceStateFieldState()
getImbalanceStateFieldState - Returns the order imbalance state- Specified by:
getImbalanceStateFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getImbalanceStateFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mSecurityStatusQual
-
getMatchPriceFieldState
public short getMatchPriceFieldState()
getMatchPriceFieldState - Returns the match price for the imbalance order.- Specified by:
getMatchPriceFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getMatchPriceFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mInsideMatchPrice
-
getFarClearingPriceFieldState
public short getFarClearingPriceFieldState()
getFarClearingPriceFieldState - Returns the far clearing price for the imbalance order.- Specified by:
getFarClearingPriceFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getFarClearingPriceFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mFarClearingPriceFieldState
-
getNearClearingPriceFieldState
public short getNearClearingPriceFieldState()
getNearClearingPriceFieldState - Returns the near clearing price for the imbalance order.- Specified by:
getNearClearingPriceFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getNearClearingPriceFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mNearClearingPriceFieldState
-
getNoClearingPriceFieldState
public short getNoClearingPriceFieldState()
getNoClearingPriceFieldState - Returns the no clearing price for the imbalance order.- Specified by:
getNoClearingPriceFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getNoClearingPriceFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mNoClearingPriceFieldState
-
getPriceVarIndFieldState
public short getPriceVarIndFieldState()
getPriceVarIndFieldState -- Specified by:
getPriceVarIndFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getPriceVarIndFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mPriceVarIndFieldState
-
getCrossTypeFieldState
public short getCrossTypeFieldState()
getCrossType return the imbalance cross type- Specified by:
getCrossTypeFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getCrossTypeFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mCrossType
-
getEventTimeFieldState
public short getEventTimeFieldState()
getEventTimeFieldState- Specified by:
getEventTimeFieldStatein interfaceMamdaBasicEvent- Specified by:
getEventTimeFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getEventTimeFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mEventTimeFieldState
- See Also:
MamdaBasicEvent.getEventTimeFieldState()
-
getEventSeqNumFieldState
public short getEventSeqNumFieldState()
getEventSeqNumFieldState- Specified by:
getEventSeqNumFieldStatein interfaceMamdaBasicEvent- Specified by:
getEventSeqNumFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getEventSeqNumFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mEventSeqNumFieldState
- See Also:
MamdaBasicEvent.getEventSeqNumFieldState()
-
getActivityTimeFieldState
public short getActivityTimeFieldState()
getActivityTimeFieldState- Specified by:
getActivityTimeFieldStatein interfaceMamdaBasicEvent- Specified by:
getActivityTimeFieldStatein interfaceMamdaBasicRecap- Specified by:
getActivityTimeFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getActivityTimeFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mActTimeFieldState
- See Also:
MamdaBasicEvent.getActivityTimeFieldState()
-
getSrcTimeFieldState
public short getSrcTimeFieldState()
getSrcTimeFieldState- Specified by:
getSrcTimeFieldStatein interfaceMamdaBasicEvent- Specified by:
getSrcTimeFieldStatein interfaceMamdaBasicRecap- Returns:
- mSrcTimeFieldState
- See Also:
MamdaBasicEvent.getSrcTimeFieldState()
-
getSendTimeFieldState
public short getSendTimeFieldState()
getSendTimeFieldState- Specified by:
getSendTimeFieldStatein interfaceMamdaBasicRecap- Returns:
- mSendTimeFieldState
- See Also:
MamdaBasicEvent#getSendTimeFieldState
-
getLineTimeFieldState
public short getLineTimeFieldState()
getLineTimeFieldState- Specified by:
getLineTimeFieldStatein interfaceMamdaBasicRecap- Returns:
- mLineTimeFieldState
- See Also:
MamdaBasicEvent#getLineTimeFieldState
-
getMsgTypeFieldState
public short getMsgTypeFieldState()
getMsgTypeFieldState- Specified by:
getMsgTypeFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getMsgTypeFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mMsgTypeFieldState
-
getIssueSymbolFieldState
public short getIssueSymbolFieldState()
getIssueSymbolFieldState- Specified by:
getIssueSymbolFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getIssueSymbolFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mIssueSymbolFieldState
-
getPartIdFieldState
public short getPartIdFieldState()
getPartIdFieldState- Specified by:
getPartIdFieldStatein interfaceMamdaBasicRecap- Specified by:
getPartIdFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getPartIdFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mPartIdFieldState
-
getSymbolFieldState
public short getSymbolFieldState()
getSymbolFieldState- Specified by:
getSymbolFieldStatein interfaceMamdaBasicRecap- Returns:
- mSymbolFieldState
-
getSeqNumFieldState
public short getSeqNumFieldState()
getSeqNumFieldState- Specified by:
getSeqNumFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getSeqNumFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mSeqNumFieldState
-
getSecurityStatusOrigFieldState
public short getSecurityStatusOrigFieldState()
getSecurityStatusOrigFieldState- Specified by:
getSecurityStatusOrigFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getSecurityStatusOrigFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mSecurityStatusOrigFieldState
-
getSecurityStatusTimeFieldState
public short getSecurityStatusTimeFieldState()
getSecurityStatusTimeFieldState- Specified by:
getSecurityStatusTimeFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getSecurityStatusTimeFieldStatein interfaceMamdaOrderImbalanceUpdate- Returns:
- mSecurityStatusTimeFieldState
-
getAuctionTimeFieldState
public short getAuctionTimeFieldState()
getAuctionTimeFieldState- Specified by:
getAuctionTimeFieldStatein interfaceMamdaOrderImbalanceRecap- Specified by:
getAuctionTimeFieldStatein 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:
onMsgin 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.
-
-