com.epam.cmemdp.marketdata.impl
Class TradeStatisticImpl

java.lang.Object
  extended by com.epam.cmemdp.marketdata.impl.TradeStatisticImpl
All Implemented Interfaces:
UpdatableTradeStatistic, TradeStatistic

public class TradeStatisticImpl
extends java.lang.Object
implements UpdatableTradeStatistic


Constructor Summary
TradeStatisticImpl(java.lang.Long securityId)
           
 
Method Summary
 void addListener(SecurityEventsListener securityEventsListener)
           
 long getClearedVolume()
           
 double getFixingPrice()
           
 double getHiTradePrice()
           
 double getLastTradePrice()
           
 long getLastTradeVolume()
           
 double getLoTradePrice()
           
 double getOpenInterest()
           
 double getOpenTradePrice()
           
 double getSessionHighBid()
           
 double getSessionLowAsk()
           
 double getSettlementPrice()
           
 void notifyLastTradeListeners(java.lang.Long securityId, double size, double price, FIXFieldList source)
           
 void notifyStatisticsListeners(TradeStatistic statistic, StatisticType changeType, FIXFieldList source)
           
 void updateFromIncrement(FIXFieldList message)
           
 void updateFromSnapshot(FIXFieldList message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TradeStatisticImpl

public TradeStatisticImpl(java.lang.Long securityId)
Method Detail

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.