Package com.longbridge.quote
Class PushCandlestick
- java.lang.Object
-
- com.longbridge.quote.PushCandlestick
-
public class PushCandlestick extends Object
Real-time candlestick push event.
-
-
Constructor Summary
Constructors Constructor Description PushCandlestick()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CandlestickgetCandlestick()Returns the candlestick data.PeriodgetPeriod()Returns the candlestick period.booleanisConfirmed()Returns whether this candlestick is confirmed (bar closed).StringtoString()
-
-
-
Method Detail
-
getPeriod
public Period getPeriod()
Returns the candlestick period.- Returns:
- the candlestick period
-
getCandlestick
public Candlestick getCandlestick()
Returns the candlestick data.- Returns:
- the candlestick data
-
isConfirmed
public boolean isConfirmed()
Returns whether this candlestick is confirmed (bar closed).- Returns:
trueif this candlestick is confirmed
-
-