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,
com.epam.fix.message.FIXFieldList source) |
void |
notifyStatisticsListeners(TradeStatistic statistic,
StatisticType changeType,
com.epam.fix.message.FIXFieldList source) |
void |
updateFromIncrement(com.epam.fix.message.FIXFieldList message) |
void |
updateFromSnapshot(com.epam.fix.message.FIXFieldList message) |
public TradeStatisticImpl(Long securityId)
public void addListener(SecurityEventsListener securityEventsListener)
addListener in interface UpdatableTradeStatisticpublic void updateFromSnapshot(com.epam.fix.message.FIXFieldList message)
updateFromSnapshot in interface UpdatableTradeStatisticpublic void updateFromIncrement(com.epam.fix.message.FIXFieldList message)
updateFromIncrement in interface UpdatableTradeStatisticpublic void notifyStatisticsListeners(TradeStatistic statistic, StatisticType changeType, com.epam.fix.message.FIXFieldList source)
public void notifyLastTradeListeners(Long securityId, double size, double price, com.epam.fix.message.FIXFieldList source)
public double getLoTradePrice()
getLoTradePrice in interface TradeStatisticpublic double getHiTradePrice()
getHiTradePrice in interface TradeStatisticpublic double getLastTradePrice()
getLastTradePrice in interface TradeStatisticpublic double getOpenTradePrice()
getOpenTradePrice in interface TradeStatisticpublic double getCloseTradePrice()
getCloseTradePrice in interface TradeStatisticpublic long getLastTradeVolume()
getLastTradeVolume in interface TradeStatisticpublic double getSettlementPrice()
getSettlementPrice in interface TradeStatisticpublic long getClearedVolume()
getClearedVolume in interface TradeStatisticpublic double getOpenInterest()
getOpenInterest in interface TradeStatisticpublic double getSimulatedSell()
getSimulatedSell in interface TradeStatisticpublic double getSimulatedBuy()
getSimulatedBuy in interface TradeStatisticpublic double getSessionHighBid()
getSessionHighBid in interface TradeStatisticpublic double getSessionLowAsk()
getSessionLowAsk in interface TradeStatisticpublic double getFixingPrice()
getFixingPrice in interface TradeStatisticCopyright © 2000–2025 EPAM Systems. All rights reserved.