Caplin Trader 5.1.0

Interface: module:ct-chart/series/Adapter

module:ct-chart/series/Adapter

This interface must be implemented by an adapter that is to transform chart series data from Caplin Platform format to chart format.

Methods

(static) transform(points) → {Array}

Parameters:
Name Type Description
points Array

The series data in Caplin Platform format: [ [ timestamp, open, high, low, close (,volume) ], ... ].

Returns:

The transformed series data as expected by the consuming chart.

Type
Array