As a user, I want to view the historical data of a particular stock, allowing me to analyze its performance over time. The system should utilize the Yfinance API to retrieve historical stock data and present it in a user-friendly form.
The system should provide a search input where the user can enter the stock symbol for which they want to view historical data (e.g., MSFT for Microsoft Corporation, TSLA for Tesla Inc.).
Upon entering a valid stock symbol, the system should call the Yfinance API to retrieve historical stock data for that specific stock.
The user should be able to specify the time range for which they want to view historical data, such as a specific date range or predefined time periods like 1 month, 6 months, 1 year, etc.
The historical stock data should include essential information, such as date, opening price, closing price, high price, low price, and trading volume, for each data point.
The system should present the historical stock data in a visually appealing and user-friendly format, such as a line chart or a table, to aid the user in analyzing the stock's performance over time.
The user interface should allow the user to interact with the historical stock data, such as zooming in/out or panning the chart to focus on specific periods.
In case the entered stock symbol is invalid or not found, the system should provide an appropriate error message to the user.
The system should handle any potential API errors and provide relevant error messages to the user if the API call fails.
As a user, I want to view the historical data of a particular stock, allowing me to analyze its performance over time. The system should utilize the Yfinance API to retrieve historical stock data and present it in a user-friendly form.