Skip to content

updateData(data)

updateData Update data.

Tip

This method will only match the timestamp of the current last data. If the timestamp is the same, it will be overwritten. If the timestamp is greater, it will be appended.

Reference

typescript
(data: KLineData) => void

Parameters

  • data K-line data, data format refers to data.

Returns

updateData returns undefined .

Usage

Basic usage