Package com.longbridge.quote
Class PrePostQuote
- java.lang.Object
-
- com.longbridge.quote.PrePostQuote
-
public class PrePostQuote extends Object
Quote of US pre/post market.
-
-
Constructor Summary
Constructors Constructor Description PrePostQuote()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetHigh()Returns the highest price.BigDecimalgetLastDone()Returns the latest price.BigDecimalgetLow()Returns the lowest price.BigDecimalgetPrevClose()Returns the close price of the last regular trading session.OffsetDateTimegetTimestamp()Returns the timestamp of the latest price.BigDecimalgetTurnover()Returns the turnover.longgetVolume()Returns the trading volume.StringtoString()
-
-
-
Method Detail
-
getLastDone
public BigDecimal getLastDone()
Returns the latest price.- Returns:
- the latest price
-
getTimestamp
public OffsetDateTime getTimestamp()
Returns the timestamp of the latest price.- Returns:
- the timestamp of the latest price
-
getVolume
public long getVolume()
Returns the trading volume.- Returns:
- the trading volume
-
getTurnover
public BigDecimal getTurnover()
Returns the turnover.- Returns:
- the turnover
-
getHigh
public BigDecimal getHigh()
Returns the highest price.- Returns:
- the highest price
-
getLow
public BigDecimal getLow()
Returns the lowest price.- Returns:
- the lowest price
-
getPrevClose
public BigDecimal getPrevClose()
Returns the close price of the last regular trading session.- Returns:
- the close price of the last regular trading session
-
-