This package does not contain a charting engine which means you can use any chart library you want. If you want to use the Caplin Platform as the source of charting data you only have to write your own chart component and provide an caplin.chart.series.Adapter] that will convert the chart series data in Caplin Platform format into a format that the charting engine you use understands.
The Caplin chart series format is an array of arrays (each item in an array being a number):
[ [ timestamp, open, high, low, close (,volume) ], ... ]
Note that individual studies will also emit data in the Caplin format, but the structure of that data will
depend on each individual study (usually it will just be a simple [[timestamp, value], ...]
but it
could be anything else), refer to the documentation of the study for the actual format.
Attributes | Name and Description |
---|---|
|
caplin.chart()
|
►
caplin.chart()