资源加载中... loading...

Record

The structure of K-Line Bar, the standard OHLC structure, is used to draw K-lines and indicators for calculation and analysis.

Millisecond-level timestamp, for a Record structure whose Time attribute value is the start timestamp of the period of this K-line Bar. Time number Opening price. Open number Highest price. High number Lowest price. Low number Closing price. Close number Position amount, most of the exchange interfaces do not provide this data, the value is 0 when this data is not supported. OpenInterest number Transaction amount. In principle, spot transaction amount is in baseCurrency and contract transaction amount is in number of contracts. If the exchange interface does not provide such data, it will be populated with the existing data from the exchange interface, for example, the transaction amount in quoteCurrency. Volume number

The exchange.GetRecords() function returns an array of Records or an empty array. Each Record structure represents a K-line bar, i.e. a K-line bar.

{@fun/Market/exchange.GetRecords exchange.GetRecords}

Ticker Order