com.epam.cmemdp.marketdata.impl
Class ImpliedOrderBookImpl
java.lang.Object
com.epam.cmemdp.marketdata.impl.AbstractOrderBookImpl
com.epam.cmemdp.marketdata.impl.ImpliedOrderBookImpl
- All Implemented Interfaces:
- UpdatableImpliedOrderBook, UpdatableOrderBook, BasicOrderBook, ImpliedOrderBook
public class ImpliedOrderBookImpl
- extends AbstractOrderBookImpl
- implements UpdatableImpliedOrderBook
Fields inherited from class com.epam.cmemdp.marketdata.impl.AbstractOrderBookImpl |
ASK, ASK_CODE, BID, BID_CODE, EMPTY_BOOK, ENTRY_CHANGE, ENTRY_DELETE, ENTRY_DELETE_FROM, ENTRY_DELETE_THRU, ENTRY_NEW, ENTRY_OVERLAY, IMPLIED_ASK_CODE, IMPLIED_BID_CODE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImpliedOrderBookImpl
public ImpliedOrderBookImpl(SecurityDefinition securityDefinition,
double displayFactor,
ImpliedOrderBookListener listener)
addListener
public void addListener(ImpliedOrderBookListener orderBookListener)
- Specified by:
addListener
in interface UpdatableImpliedOrderBook
getSecurityDef
public SecurityDefinition getSecurityDef()
- Specified by:
getSecurityDef
in interface BasicOrderBook
getBookType
public OrderBookType getBookType()
- Specified by:
getBookType
in interface BasicOrderBook
getBookState
public OrderBookState getBookState()
- Specified by:
getBookState
in interface BasicOrderBook
getDepth
public int getDepth()
- Specified by:
getDepth
in interface BasicOrderBook
getDisplayFactor
public double getDisplayFactor()
- Specified by:
getDisplayFactor
in interface ImpliedOrderBook
getBidData
public ImpliedBookPriceLevel getBidData(int priceLevel)
- Specified by:
getBidData
in interface ImpliedOrderBook
getAskData
public ImpliedBookPriceLevel getAskData(int priceLevel)
- Specified by:
getAskData
in interface ImpliedOrderBook
getBidQuantity
public double getBidQuantity(int level)
- Specified by:
getBidQuantity
in interface ImpliedOrderBook
getBidPrice
public double getBidPrice(int level)
- Specified by:
getBidPrice
in interface ImpliedOrderBook
getAskQuantity
public double getAskQuantity(int level)
- Specified by:
getAskQuantity
in interface ImpliedOrderBook
getAskPrice
public double getAskPrice(int level)
- Specified by:
getAskPrice
in interface ImpliedOrderBook
updateFromSecurityDefinition
public void updateFromSecurityDefinition(SecurityDefinition securityDefinition)
- Specified by:
updateFromSecurityDefinition
in interface UpdatableOrderBook
updateFromSnapshot
public void updateFromSnapshot(FIXFieldList message)
- Specified by:
updateFromSnapshot
in interface UpdatableOrderBook
updateFromIncrement
public void updateFromIncrement(FIXFieldList entry)
- Specified by:
updateFromIncrement
in interface UpdatableOrderBook
reset
public void reset()
- Specified by:
reset
in interface UpdatableOrderBook
onRecoveryStarted
public void onRecoveryStarted()
- Specified by:
onRecoveryStarted
in interface UpdatableOrderBook
onRecoveryStopped
public void onRecoveryStopped()
- Specified by:
onRecoveryStopped
in interface UpdatableOrderBook
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.