Package com.longbridge.quote
Class IntradayLine
- java.lang.Object
-
- com.longbridge.quote.IntradayLine
-
public class IntradayLine extends Object
Intraday line data point.
-
-
Constructor Summary
Constructors Constructor Description IntradayLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimalgetAvgPrice()Returns the volume-weighted average price.BigDecimalgetPrice()Returns the price at this data point.OffsetDateTimegetTimestamp()Returns the timestamp of this data point.BigDecimalgetTurnover()Returns the turnover up to this point.longgetVolume()Returns the trading volume up to this point.StringtoString()
-
-
-
Method Detail
-
getPrice
public BigDecimal getPrice()
Returns the price at this data point.- Returns:
- the price
-
getTimestamp
public OffsetDateTime getTimestamp()
Returns the timestamp of this data point.- Returns:
- the timestamp
-
getVolume
public long getVolume()
Returns the trading volume up to this point.- Returns:
- the trading volume
-
getTurnover
public BigDecimal getTurnover()
Returns the turnover up to this point.- Returns:
- the turnover
-
getAvgPrice
public BigDecimal getAvgPrice()
Returns the volume-weighted average price.- Returns:
- the average price
-
-