Open traderjoe1968 opened 1 year ago
I suggest you add this great news to the home page of this package. I always thought it is impossible to download more than 5000 bars until I saw your post here in the pull section. Please, disclose this information on the home page. Thank you!
Thank you for this merge request. Quick question, what exactly is "TradingView Pro (and above)"? I only know the subscription levels "Basic, Essential, Plus, Premium, Expert, Elite, Ultimate".
The Basic subscription is free and it is limited to maximum of 5000 historical bars. So you cannot plot a chart exceeding 5000 price bars. But if you pay a monthly subscription, you get more price bars on your chart.
Historical bars available Basic: 5K Essential: 10K Plus: 10K Premium: 20K Expert: 25K Elite: 30K Ultimate 40K
Currently tvdatafeed support only the Basic (free) subscription, so with tvdatafeed you cannot download more than 5000 price bars. This merge pull allow those who pay a monthly subscription fee to download more than 5000 price bars.
URL is "https://prodata.tradingview.com" I think it used to be called Pro
Pro = Plus subscription
so is this now included?
Added in ability to download more than 5000 bars of data for TradingView Pro (and above) account holders.
Only the ws URL & headers need to change. See code.