Skip to content

Quote [WIP]

WARNING

This features still under development. We may change the syntax in the future.

Function NameDescription
open: number, o: numberOpening price of the current K-line
high: number, h: numberHighest price of the current K-line
low: number, l: numberLowest price of the current K-line
close: number, c: numberClosing price of the current K-line
volume: number, vol: number, v: numberTrading volume of the current K-line
amount: number, vola: number, turnover: numberTrading amount of the current K-line
isup: boolReturns true if the current K-line is rising
isdown: boolReturns true if the current K-line is falling
isequal: boolReturns true if the current K-line is equal
date: numberReturns the date of the current K-line or specified timestamp in the format of YYMMDD
year: numberReturns the year of the current K-line or specified timestamp
month: numberReturns the month of the current K-line or specified timestamp
day: numberReturns the day of the current K-line or specified timestamp
time: numberReturns the time of the current K-line or specified timestamp in the format of HHMMSS
hour: numberReturns the hour of the current K-line or specified timestamp
minute: numberReturns the minute of the current K-line or specified timestamp
second: numberReturns the second of the current K-line or specified timestamp
weekday: numberReturns the weekday of the current K-line or specified timestamp, 0 represents Sunday
weekofyear: numberReturns the week of the year of the current K-line or specified timestamp