Uses of Class
com.longport.quote.Period
-
Packages that use Period Package Description com.longport com.longport.quote -
-
Uses of Period in com.longport
Methods in com.longport with parameters of type Period Modifier and Type Method Description static void
SdkNative. quoteContextCandlesticks(long context, String symbol, Period period, int count, AdjustType adjustType, AsyncCallback callback)
static void
SdkNative. quoteContextHistoryCandlesticksByDate(long context, String symbol, Period period, AdjustType adjustType, LocalDate start, LocalDate end, AsyncCallback callback)
static void
SdkNative. quoteContextHistoryCandlesticksByOffset(long context, String symbol, Period period, AdjustType adjustType, boolean forward, LocalDateTime datetime, int count, AsyncCallback callback)
static void
SdkNative. quoteContextRealtimeCandlesticks(long context, String symbol, Period period, int count, AsyncCallback callback)
static void
SdkNative. quoteContextSubscribeCandlesticks(long context, String symbol, Period period, AsyncCallback callback)
static void
SdkNative. quoteContextUnsubscribeCandlesticks(long context, String symbol, Period period, AsyncCallback callback)
-
Uses of Period in com.longport.quote
Methods in com.longport.quote that return Period Modifier and Type Method Description Period[]
Subscription. getCandlesticks()
Period
PushCandlestick. getPeriod()
static Period
Period. valueOf(String name)
Returns the enum constant of this type with the specified name.static Period[]
Period. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.longport.quote with parameters of type Period Modifier and Type Method Description CompletableFuture<Candlestick[]>
QuoteContext. getCandlesticks(String symbol, Period period, int count, AdjustType adjustType)
Get security candlesticksCompletableFuture<Candlestick[]>
QuoteContext. getHistoryCandlesticksByDate(String symbol, Period period, AdjustType adjustType, LocalDate start, LocalDate end)
Get history candlesticks by dateCompletableFuture<Candlestick[]>
QuoteContext. getHistoryCandlesticksByOffset(String symbol, Period period, AdjustType adjustType, boolean forward, LocalDateTime datetime, int count)
Get history candlesticks by offsetCompletableFuture<Candlestick[]>
QuoteContext. getRealtimeCandlesticks(String symbol, Period period, int count)
Get real-time candlesticksCompletableFuture<Void>
QuoteContext. subscribeCandlesticks(String symbol, Period period)
Subscribe security candlesticksCompletableFuture<Void>
QuoteContext. unsubscribeCandlesticks(String symbol, Period period)
Unsubscribe security candlesticks
-