public class TradeStatisticImpl extends Object implements UpdatableTradeStatistic
Constructor and Description |
---|
TradeStatisticImpl(Long securityId) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(SecurityEventsListener securityEventsListener) |
long |
getClearedVolume() |
double |
getCloseTradePrice() |
double |
getFixingPrice() |
double |
getHiTradePrice() |
double |
getLastTradePrice() |
long |
getLastTradeVolume() |
double |
getLoTradePrice() |
double |
getOpenInterest() |
double |
getOpenTradePrice() |
double |
getSessionHighBid() |
double |
getSessionLowAsk() |
double |
getSettlementPrice() |
double |
getSimulatedBuy() |
double |
getSimulatedSell() |
void |
notifyLastTradeListeners(Long securityId,
double size,
double price,
FIXFieldList source) |
void |
notifyStatisticsListeners(TradeStatistic statistic,
StatisticType changeType,
FIXFieldList source) |
void |
updateFromIncrement(FIXFieldList message) |
void |
updateFromSnapshot(FIXFieldList message) |
public TradeStatisticImpl(Long securityId)
public void addListener(SecurityEventsListener securityEventsListener)
addListener
in interface UpdatableTradeStatistic
public void updateFromSnapshot(FIXFieldList message)
updateFromSnapshot
in interface UpdatableTradeStatistic
public void updateFromIncrement(FIXFieldList message)
updateFromIncrement
in interface UpdatableTradeStatistic
public void notifyStatisticsListeners(TradeStatistic statistic, StatisticType changeType, FIXFieldList source)
public void notifyLastTradeListeners(Long securityId, double size, double price, FIXFieldList source)
public double getLoTradePrice()
getLoTradePrice
in interface TradeStatistic
public double getHiTradePrice()
getHiTradePrice
in interface TradeStatistic
public double getLastTradePrice()
getLastTradePrice
in interface TradeStatistic
public double getOpenTradePrice()
getOpenTradePrice
in interface TradeStatistic
public double getCloseTradePrice()
getCloseTradePrice
in interface TradeStatistic
public long getLastTradeVolume()
getLastTradeVolume
in interface TradeStatistic
public double getSettlementPrice()
getSettlementPrice
in interface TradeStatistic
public long getClearedVolume()
getClearedVolume
in interface TradeStatistic
public double getOpenInterest()
getOpenInterest
in interface TradeStatistic
public double getSimulatedSell()
getSimulatedSell
in interface TradeStatistic
public double getSimulatedBuy()
getSimulatedBuy
in interface TradeStatistic
public double getSessionHighBid()
getSessionHighBid
in interface TradeStatistic
public double getSessionLowAsk()
getSessionLowAsk
in interface TradeStatistic
public double getFixingPrice()
getFixingPrice
in interface TradeStatistic
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.