It’s easy, basically, you need to do only two things:
- Change all urls like ‘https://ichart.finance.yahoo.com/table.csv‘ to ‘https://eodhistoricaldata.com/api/table.csv‘
- And add only one new parameter: api_token=OeAFFmMliFG5orCUuwAKQ8l4WWFQ67YX.
We use here a test API KEY. It means that it will work only with AAPL.US ticker. If you want to have an access to other tickers or shares, please subscribe to our API at the main page EOD Historical Data and change this API KEY to your own API KEY.