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):
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
Open — the base asset price at the beginning of the specified time interval.
Close — the base asset price at the end of the specified time interval.
Low — the lowest base asset price within the specified time interval.
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.
The maximum allowed file size is 500 MB.
Upload a CSV file
To upload a CSV file:
Go to Settings > Charts.
Select a Market from the list.
Select a Time interval from the dropdown or select the Recalculate all time intervals from minutes option.
Specify a period of time for which you want to upload the data, by selecting the Date from and Date to.
Drag and drop the file into the upload area or click Add file to select the file from your computer.
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:
Go to Settings > Charts.
Select a Market from the list.
Select a Time interval from the dropdown or select the Recalculate all time intervals from minutes option.
Specify a period of time for which you want to download the data, by selecting the Date from and Date to.
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:
Go to Settings > Charts.
Select a Market from the list.
Select a Time interval from the list.
Specify a period of time for which you want to upload the data, by selecting the Date from and Date to.
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.
Mark the Upload to overwrite the existing data checkbox.
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.
Last updated
Was this helpful?