jchao01 / TradingView-data-scraper

Extract price and indicator data from TradingView charts to create ML datasets
Apache License 2.0
482 stars 112 forks source link

Feature Request #12

Closed abhishek-githb closed 4 years ago

abhishek-githb commented 5 years ago

I think most traders would love to have this feature.

As a user when I provide you a chart link, you should give me the most up to date data.

Manually, a user will click "Load new bars" button on the chart to achieve this

abhishek-githb commented 5 years ago

await page.click('load-more-button') doesn't work. Any quick ideas?

abhishek-githb commented 5 years ago

@ciphyr @CruddyShad0w

I got a little close but still need help.

If I type this in chrome console it works $('#load-more-button > a > svg > path').click(). but when in your code I use await page.click('#load-more-button > a > svg > path') I still don't see all the data in the output