Mathieu2301 / TradingView-API

📈 Get real-time stocks from TradingView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use FromToData.js?

kd-s-t opened this issue · comments

from jan 1, 2020 to dec 31, 2020

chart.setMarket('BINANCE:BTCEUR', {
timeframe: '240',
range: 2, // Can be positive to get before or negative to get after
to: 1600000000,
});