Page 1 of 1

3: Scrape Yahoo Finance for all the S&P 500 stocks. Write a function get_yahoo_finance_data(symbols) that: Hint: You wil

Posted: Sun May 15, 2022 11:38 am
by answerhappygod
3: Scrape Yahoo Finance for all the S&P 500 stocks.
Write a function get_yahoo_finance_data(symbols) that:
Hint: You will need to replace '.' by '-' in any symbol
containing '.' to be able to read that symbol's Yahoo Finance
page.
In [ ]:

Here is some test code for the function:
In [ ]: