Package com.longbridge.quote
Class PushQuote
- java.lang.Object
-
- com.longbridge.quote.PushQuote
-
public class PushQuote extends Object
Real-time quote push event.
-
-
Constructor Summary
Constructors Constructor Description PushQuote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetCurrentTurnover()Returns the turnover of the trade that triggered this push.longgetCurrentVolume()Returns the volume of the trade that triggered this push.BigDecimalgetHigh()Returns the highest price of the day.BigDecimalgetLastDone()Returns the latest price.BigDecimalgetLow()Returns the lowest price of the day.BigDecimalgetOpen()Returns the opening price.OffsetDateTimegetTimestamp()Returns the timestamp of the latest price.TradeSessiongetTradeSession()Returns the trade session that generated this quote.TradeStatusgetTradeStatus()Returns the security trading status.BigDecimalgetTurnover()Returns the cumulative turnover for the day.longgetVolume()Returns the cumulative trading volume for the day.StringtoString()
-
-
-
Method Detail
-
getLastDone
public BigDecimal getLastDone()
Returns the latest price.- Returns:
- the latest price
-
getOpen
public BigDecimal getOpen()
Returns the opening price.- Returns:
- the opening price
-
getHigh
public BigDecimal getHigh()
Returns the highest price of the day.- Returns:
- the highest price of the day
-
getLow
public BigDecimal getLow()
Returns the lowest price of the day.- Returns:
- the lowest price of the day
-
getTimestamp
public OffsetDateTime getTimestamp()
Returns the timestamp of the latest price.- Returns:
- the timestamp of the latest price
-
getVolume
public long getVolume()
Returns the cumulative trading volume for the day.- Returns:
- the cumulative trading volume for the day
-
getTurnover
public BigDecimal getTurnover()
Returns the cumulative turnover for the day.- Returns:
- the cumulative turnover for the day
-
getTradeStatus
public TradeStatus getTradeStatus()
Returns the security trading status.- Returns:
- the security trading status
-
getTradeSession
public TradeSession getTradeSession()
Returns the trade session that generated this quote.- Returns:
- the trade session
-
getCurrentVolume
public long getCurrentVolume()
Returns the volume of the trade that triggered this push.- Returns:
- the current trade volume
-
getCurrentTurnover
public BigDecimal getCurrentTurnover()
Returns the turnover of the trade that triggered this push.- Returns:
- the current trade turnover
-
-