Managing charts

Upload data

For a newly added market, you can upload a CSV file containing historical data for the TradingView widget displayed in the Trading terminal. You can upload the data for only one market and one time interval at once.

File requirements

The file must contain the following columns (all required):

  1. Timestamp — the date and time of a chart data point in the following format: YYYY-MM-DD hh:mm:ss.SSS. The timestamp increment depends on the selected time interval. The following intervals are supported:

  • 1 minute

  • 5 minutes

  • 15 minutes

  • 30 minutes

  • 1 hour

  • 4 hours

  • 12 hours

  • 1 day

  • 1 week

  • 1 month

  1. Open — the base asset price at the beginning of the specified time interval.

  2. Close — the base asset price at the end of the specified time interval.

  3. Low — the lowest base asset price within the specified time interval.

  4. High — the highest base asset price within the specified time interval.

For price values, the number of digits after a decimal separator depends on the Price scale parameter of the market.

Download a template

The maximum allowed file size is 500 MB.

Upload a CSV file

To upload a CSV file:

1

Go to Settings > Charts.

2

Select a Market from the list.

3

Select a Time interval from the dropdown or select the Recalculate all time intervals from minutes option.

4

Specify a period of time for which you want to upload the data, by selecting the Date from and Date to.

5

Drag and drop the file into the upload area or click Add file to select the file from your computer.

6

Click Upload CSV.

Once the file is processed, the historical data will be added and displayed in the TradingView widget.

If any required parameter is missing in a row, the row is skipped and the related data isn't uploaded. If the uploaded file contains errors, a warning is displayed and the data isn't uploaded.

Download data

You can download the historical data from the BP in CSV format.

Mind the restrictions on data storage duration in the system for different time intervals.

You can download the data for only one market and one time interval at once.

To download a CSV file:

1

Go to Settings > Charts.

2

Select a Market from the list.

3

Select a Time interval from the dropdown or select the Recalculate all time intervals from minutes option.

4

Specify a period of time for which you want to download the data, by selecting the Date from and Date to.

5

Click Download CSV.

Overwrite data

You can overwrite historical data for a certain market and period of time, by uploading a CSV file.

To overwrite the data:

1

Go to Settings > Charts.

2

Select a Market from the list.

3

Select a Time interval from the list.

4

Specify a period of time for which you want to upload the data, by selecting the Date from and Date to.

5

Drag and drop the file into the upload area or click Add file to select the file from your computer. For the file requirements and template, refer to the Upload data section above.

You can also modify the historical data in a previously downloaded CSV file, and then upload it again. Refer to the Download data section above.

6

Mark the Upload to overwrite the existing data checkbox.

7

Click Upload CSV.

Once the file is processed, the historical data will be updated and displayed in the TradingView widget.

If any required parameter is missing in a row, the row is skipped and the related data isn't uploaded. If the uploaded file contains errors, a warning is displayed and the data isn't uploaded.

See also:

Last updated

Was this helpful?