com.epam.cmemdp.marketdata.impl
Class TradeStatisticImpl
java.lang.Object
com.epam.cmemdp.marketdata.impl.TradeStatisticImpl
- All Implemented Interfaces:
- UpdatableTradeStatistic, TradeStatistic
public class TradeStatisticImpl
- extends java.lang.Object
- implements UpdatableTradeStatistic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TradeStatisticImpl
public TradeStatisticImpl(java.lang.Long securityId)
addListener
public void addListener(SecurityEventsListener securityEventsListener)
- Specified by:
addListener
in interface UpdatableTradeStatistic
updateFromSnapshot
public void updateFromSnapshot(FIXFieldList message)
- Specified by:
updateFromSnapshot
in interface UpdatableTradeStatistic
updateFromIncrement
public void updateFromIncrement(FIXFieldList message)
- Specified by:
updateFromIncrement
in interface UpdatableTradeStatistic
notifyStatisticsListeners
public void notifyStatisticsListeners(TradeStatistic statistic,
StatisticType changeType,
FIXFieldList source)
notifyLastTradeListeners
public void notifyLastTradeListeners(java.lang.Long securityId,
double size,
double price,
FIXFieldList source)
getLoTradePrice
public double getLoTradePrice()
- Specified by:
getLoTradePrice
in interface TradeStatistic
getHiTradePrice
public double getHiTradePrice()
- Specified by:
getHiTradePrice
in interface TradeStatistic
getLastTradePrice
public double getLastTradePrice()
- Specified by:
getLastTradePrice
in interface TradeStatistic
getOpenTradePrice
public double getOpenTradePrice()
- Specified by:
getOpenTradePrice
in interface TradeStatistic
getLastTradeVolume
public long getLastTradeVolume()
- Specified by:
getLastTradeVolume
in interface TradeStatistic
getSettlementPrice
public double getSettlementPrice()
- Specified by:
getSettlementPrice
in interface TradeStatistic
getClearedVolume
public long getClearedVolume()
- Specified by:
getClearedVolume
in interface TradeStatistic
getOpenInterest
public double getOpenInterest()
- Specified by:
getOpenInterest
in interface TradeStatistic
getSessionHighBid
public double getSessionHighBid()
- Specified by:
getSessionHighBid
in interface TradeStatistic
getSessionLowAsk
public double getSessionLowAsk()
- Specified by:
getSessionLowAsk
in interface TradeStatistic
getFixingPrice
public double getFixingPrice()
- Specified by:
getFixingPrice
in interface TradeStatistic
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.