• Stars
    star
    293
  • Rank 141,748 (Top 3 %)
  • Language
    JavaScript
  • Created over 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

TradingView JS API Examples

In order to run these examples you need to download the private TradingView Charting Library from github, which you must apply for acces to from TradingView. These won't work without the Library! If you do have access to the repo, then follow the instructions at the bottom of this Readme

Code for a series about using the TradingView Charting Library's JS API.

Find the guide on Medium here

Setup

First, do you have access to the TradingView Charting Library?

If that link shows you a 404, then you do not, and you must apply for access with TradingView before proceeding.

If you do have access, then clone the Charting Library repository to the root of this repo, and copy the charting_library folder inside the charting library project into the public folder of an example before running it.

git clone https://github.com/tradingview/charting_library
cp -r charting_library/charting_library ./part1/public/

Once you have added the charting library, run npm install from inside the step you want to run.

Then run npm start to start the development server, and visit localhost:3000 in your browser.