- TradingView Premium Account
- Node.js min v16
Open shell and type:
npm install yarn --global
Open shell at the root of this project
yarn
a) Sign in to Tradingview
b) Go to random chart page
c) Click lock icon in chrome next to address bar
d) Click cookies
e) Select tradingview.com > cookies
f) Click item with name `sessionid`
g) Copy value from `content`. **DO NOT SHARE THIS VALUE WITH ANYONE**
h) Copy `.env.example` file to `.env` and change respective values
Go to src/list.ts
and edit TRADINGVIEW_DOWNLOAD_LIST
array
name
is your custom name for this asset like BTC_OLCHV_4HchartId
is a value for custom layout id fromhttps://tradingview.com/chart/{chartId}/?symbol=${symbolName}
symbol
is a symbol name of given asset