ConradSelig / cliStocksTracker

A command line utility for tracking a stock market portfolio. Primarily featuring high resolution braille graphs.
Apache License 2.0
55 stars 14 forks source link

Added graceful network error message to fix #27 #29

Closed mohamedirfansh closed 3 years ago

mohamedirfansh commented 3 years ago

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.".

ConradSelig commented 3 years ago

Simple and straightforward - well done! Thanks for helping out.