Caplin Trader 4.7.1

Interface: module:caplin/chart/series/Adapter

module:caplin/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