Essential Guidelines for Storing and Integrating Trading Data

Essential Guidelines for Storing and Integrating Trading Data

What format should data be saved in? Use plain-text files for your data storage. Price data should be kept in CSV format within the data/ directory, with each symbol having its own file. Additional information about symbols should be stored in a JSON file in the symbol_info/ directory, detailing all symbol settings in a single file.

 

What happens if data is saved with a different file extension? If you use a different extension, the data won't display on the chart. You need to change the file extension to CSV and submit a new pull request.

 

Can only trading data be integrated? The TradingView platform is effective for handling trading data, which typically shows price value differences. However, for data series with only one value per day, set open, close, high, and low to the same value, and volume to 0. This format is suitable for economic indicators.

 

What is EOD data and how does it differ from intraday data? EOD (End-of-Day) data consists of values recorded at the end of a trading day. Unlike intraday data, which may have multiple fluctuations, only the final value of the day is represented on the chart.

 

How soon can I see results after updating data? Your EOD data is verified and uploaded several times daily. You will see values for the current day as well as previous ones on the chart. If more frequent updates are needed, you can integrate via REST API, but this is limited to brokerage integrations.

 

How often should data be updated from the source? TradingView enables you to observe and analyze data over any timeframe. Stale data is no longer beneficial; if your files are not updated for three months, the source will be deactivated.

 

What are the data limits? EOD data is restricted to 6,000 symbols per repository. If you have more than 6,000 CSV files, you should create another data repository.

Share :

Add New Comment

 Your Comment has been sent successfully. Thank you!   Refresh
Error: Please try again