Skip to content

Latest commit

 

History

History
79 lines (50 loc) · 3.72 KB

faq.md

File metadata and controls

79 lines (50 loc) · 3.72 KB

FAQ

Data requirements

Q: In what form should the data be stored?

A: Use plain-text files to store your data. Store the price data itself is in CSV files in the data/repo_name directory. Create a separate file for each symbol. The additional symbol information should be stored in a JSON file in the symbol_info directory. Describe all of the symbol settings in one file.

Q: How to set up access to the data source and not store access keys in code?

A: Use environment variables in your code. Go to the repository settings. Open the Secrets section. Create a variable with a token or password in it, then use that variable in your code.

Q: Can only trading data be integrated?

A: The TradingView platform is a handy tool for dealing with trading data. Such data always has a difference between price values. But if your data series has a single value per day, use open = close = high = low, and volume = 0. It is suitable for economic indicators.

20210101T,0.1,0.1,0.1,0.1,0

Q: What is EOD data? How does it differ from intraday data?

A: EOD (End-of-Day) data is the values received at the end of the trading session of a given day. Regardless of the number of changes within the day (intraday), you will see only the last saved value on the chart.

Q: How quickly can I check the result after updating the data?

A: Your EOD data is checked and uploaded to our storage several times a day. On the chart you will see the values for the previous day and earlier. If the data needs to be updated more frequently, you can connect the integration via REST API, but this option is only available for the brokerage integration.

Q: How often do I update data from the source?

A: TradingView allows you to watch and analyse the data for any period. If data is not updated, it is no longer useful. If your files have not been updated for three months, the source will be disabled.

Q: What are the limits on the amount of data?

A: EOD data has a limit of 1,000 symbols per repository. You can create another data repository if you have more than 1,000 CSV data files.

TradingView UI

Q: Why can't I find my symbols in symbol search box?

A: EOD symbols do not show up in the symbol search suggestion field, but you can still open them. Enter the full symbol name (prefix:symbol_name) then press Enter, and the chart will switch to the requested symbol.

Q: Would a candlestick chart be informative?

A: For economic data, which commonly only has a single data source, a Line graph is suitable, as it only shows close values. The data that has different OHLC values will be better represented with the Candles chart, which displays each four of these values separately.

Q: Who can use my symbols in the UI?

A: An EOD data symbol can only be accessed by knowing its full name. Therefore, if your repository is public, anyone can check its full name and open the symbol on the chart. If it’s private, only those who know the full name will be able to access the data.

GitHub settings

Q: How to catch errors?

A: Your GitHub repository has a Check data and create pr action set up. Validation warnings and errors can be found in its log.

Q: Why host data in public repositories?

A: We love open source code and our tools help a lot of people because of it, but if you want to connect private data - that's completely fine as well.