tradingview / charting-library-examples

Examples of Charting Library integrations with other libraries, frameworks and data transports
MIT License
1.33k stars 744 forks source link

cannot choose a time unit within a day as the ineterval #318

Closed EbonexDev closed 1 year ago

EbonexDev commented 1 year ago

G6kwZs01Ty

serhatopcu commented 1 year ago

Hello, I will try to answer as far as I know. You can't reach all resolutions because you are getting data by using cryptocompare websocket, you can see this in streaming.js where the line "wss://streamer.cryptocompare.com", you need to pay for all resolutions, but cryptocompare is not only option to get data from, for example i am getting minute resolution data from binance websocket for free. (Let me know if i'm wrong)

romfrancois commented 1 year ago

If you refer to this documentation, this one or finally this one you'll see that there's 2 levels where to define the resolutions. Global ones indicated to the UI and the ones only supported for a given symbol. If some are not available they will be greyed out.