Open ITOskarWozniak opened 9 months ago
I am currently facing the same problem, it would be nice to have a way to fix this.
chart.setMarket('NASDAQ:PLCE', {
timeframe: 'D',
range: 1000, // Can be positive to get before or negative to get after
to: 1705000000,
});
changing 1 to D works.
they must have scrapped numbers as 1M also works but the original file says 240 and does not.
Describe the bug I'm trying to verify functionality in example below https://github.com/Mathieu2301/TradingView-API/blob/main/examples/FromToData.js But getting empty periods for chart and SUPERTREND indicator Tested on "1600000000" and "1705000000" Tickers: "BINANCE:BTCEUR" and "NASDAQ:PLCE"
To Reproduce Run below snipped or from example
Expected behavior Expecting to get OHLC data + any indicator (VOL is the best) from any ticket at specific data
Screenshots
Environment: OS: MacOS Node version: v18.17.0 Executing it as chrome extension
Additional context I'm attaching all socket data field logged in "this.#ws.onmessage " in client.js