This project is a stock market analysis tool that focuses on the S&P 500 index. It provides users with the ability to track and analyze the prices and returns of the constituent stocks in the S&P 500 index. Additionally, the project displays the current top and lowest performing stocks over a period of six months and one month. Furthermore, it also fetches and displays the latest news related to the stock market in the console.
-
S&P 500 Stock Data: The project retrieves and displays the historical prices and returns of the stocks that make up the S&P 500 index. This data allows users to analyze the performance of individual stocks and the index as a whole.
-
Top and Lowest Performing Stocks: The project identifies and presents the current top and lowest performing stocks based on their returns over a period of six months and one month. This information helps users identify potential investment opportunities or stocks to monitor closely.
-
Data Visualization: The project provides visualizations of the S&P 500 index's historical performance, including interactive charts and graphs. These visualizations aid in understanding trends, patterns, and market movements.
-
News Aggregation: The project fetches and displays the latest news articles related to the stock market, providing users with up-to-date information on market trends, company announcements, and other relevant news. The news articles are displayed directly in the console for easy access.
-
Clone the repository from GitHub:
git clone https://github.com/your-username/stock-market-analysis.git
-
Install the required dependencies. It is recommended to use a virtual environment:
cd stock-market-analysis python3 -m venv venv source venv/bin/activate # for Linux/macOS venv\Scripts\activate # for Windows pip install -r requirements.txt
-
Obtain API keys: The project requires API keys to fetch stock data and news articles. Obtain the necessary keys from the respective providers and configure them in the project's configuration file.
-
Start the application:
python main.py
The project will fetch and display the S&P 500 stock data, top and lowest performing stocks, and the latest news articles in the console.
-
Launch the application by running the
main.py
script. -
The project will automatically retrieve and display the S&P 500 stock data, including prices and returns for each stock in the index.
-
The top and lowest performing stocks over six months and one month will be highlighted and displayed, allowing users to quickly identify the best and worst performers.
-
The latest news articles related to the stock market will be fetched and displayed in the console. Users can stay updated with the latest market trends and developments.
-
Customize and extend the project according to your requirements. You can add additional features, integrate more data sources, or enhance the visualizations based on your needs.
First Iteration
Second Iteration
Third Iteration https://github.com/timalsinab/stockmarketexchange/assets/112141352/e4c861d7-4fc7-4869-8aba-18d57bd8f0a2