Skip to content

Exporting Chart Data

ChartSpire allows you to export your chart data to CSV format for further analysis or record-keeping.

How to Export Chart Data

You can export the current chart data by clicking the CSV export button in the top bar of the chart widget:

typescript
// This functionality is built into ChartSpire and accessible via the UI
// The export button appears in the chart's top toolbar

Data Included in Exports

The CSV export includes:

  1. OHLCV Data - The core candlestick data:

    • Timestamp
    • Open price
    • High price
    • Low price
    • Close price
    • Volume (if available)
  2. Indicator Data - Values from all active indicators on your chart, with each indicator's output values appearing as separate columns.

Export Structure

The exported CSV file follows this structure:

  • First row: Column headers (timestamp, open, high, low, close, volume, followed by indicator values)
  • Subsequent rows: Data for each time period, with indicator values aligned to the corresponding timestamp

Example:

timestamp,open,high,low,close,volume,ema9,rsi14
1649962800000,45678.12,46789.45,45234.67,46123.78,12345678,45890.34,62.5
1649966400000,46123.78,47012.34,45987.65,46789.12,9876543,46102.67,64.7
...

Export Options and Limitations

Default Settings

  • Files are automatically named data.csv
  • All data is exported at the current timeframe displayed on the chart

Limitations

  • Some visual-only indicators are excluded from the export:
    • Volume bars
    • Volume profile

The excluded indicators are primarily visualization-based and don't provide additional numerical data that would be meaningful in a CSV format.

Data Size Considerations

  • Exports include all data points currently loaded in the chart
  • For very large datasets, the export might take a moment to complete