Warning
The creation of new repositories has been suspended. We will continue to support the existing repositories. If you have questions or need assistance with your current repositories, contact us at [email protected]. You can expect a response within one business day after submitting your request. Additionally, if you are interested in having Pine Seeds back, please fill out this Google Form to leave your contact details and feedback. We appreciate your input and will consider it in our future developments.
Use GitHub as your backend: TradingView will provide you with a repository that you need to fork. Then you can store your data and update it. Please note that the name of forked repository should be the same as the initial one.
In the repository, GitHub actions are already configured. Actions check data after changes in forked repository and creates Pull Requests to the main TradingView repository. From the main repository, data uploads to the TradingView storage so data can be viewed on the TradingView charts. The results of the data checks will be available in the action logs.
After you fork the repository, you will need to do a pre-setup. Then you can upload your data.
-
Go to GitHub Settings → Password and authentication and configure two-factor authentication.
-
Go to GitHub Settings → Developer settings → Personal access tokens → Tokens (classic) → Generate new token → Generate new token (classic). Generate Personal access token with the repo, workflow, and admin:org access scopes.
-
In the forked repository, go to Settings → Secrets and variables → Actions.
-
Click New repository secret, specify
ACTION_TOKEN
in the Name field, and paste created Personal access token into the Secret field. Select Add secret. -
Go to Actions → General → Actions permissions.
-
Select the Allow all actions and reusable workflows checkbox and click Save.
-
Go to the Action tab and click I understand my workflows, go ahead and enable them.
-
Disable workflow Upload data with Disable workflow button. Check that workflow Check data is enabled.
Your forked repository contains the following files and directories.
.github/workflows # GitHub action files
data # Your data CSV files
symbol_info # Your JSON file with symbol information
README.md
How to add new symbols and data described in tutorial
- Add symbol description to the JSON file in the
symbol_info/repo_name.json
directory. - Upload CSV data files to the
data/
directory.
The Check data action validates data and loads it into the TradingView storage. You can find the results of the data checks in the action logs.
After updating the data files and completing the relevant actions, examine the log for errors.
-
Go to the repository Actions tab.
-
Check the Check data action. It's last run should be marked with a green tick like on the image below.
It may take some time for the initial upload to be visible on the TradingView chart.
The data requirements are listed in the tables. We indicate which field failed the check in the log and explain why.
Note
If you have any questions or problems that you are unable to handle, please contact us at [email protected]. Our support team is available on weekdays from 7 AM to 4 PM UTC.