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
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。