Wrapped yfinance download in a try-catch block. So, in case yfinance cannot get the stock data from the web it will output the message: "cliStocksTracker must be connected to the internet to function. Please ensure that you are connected to the internet and try again.".
Wrapped yfinance download in a try-catch block. So, in case yfinance cannot get the stock data from the web it will output the message: "cliStocksTracker must be connected to the internet to function. Please ensure that you are connected to the internet and try again.".