https://github.com/pungrumpy/stocks-predict-py
This project is a web-based application for predicting stock prices.
https://github.com/pungrumpy/stocks-predict-py
python streamlit
Last synced: about 1 month ago
JSON representation
This project is a web-based application for predicting stock prices.
- Host: GitHub
- URL: https://github.com/pungrumpy/stocks-predict-py
- Owner: PunGrumpy
- Created: 2023-05-13T14:04:24.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-20T09:36:57.000Z (about 3 years ago)
- Last Synced: 2025-01-27T06:32:16.232Z (over 1 year ago)
- Topics: python, streamlit
- Language: Python
- Homepage: https://pungrumpy-stocks-predict.streamlit.app/
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stock Price Prediction App 📈
This application predicts the closing price of a selected stock for the next trading day. It uses historical stock prices and a machine learning model to make its predictions.
The application is built using Python, Streamlit, scikit-learn, and yfinance (Yahoo Finance's market data downloader). The user interface allows you to select a stock from a pre-defined list and displays a chart of the historical closing prices as well as the predicted closing price for the next day.
## Project Structure 📂
The project is structured as follows:
`app.py`: The main Streamlit application.\
`src/`: Contains the source code for data preparation, feature engineering, model training, and model prediction.\
`models/`: Contains the trained machine learning model.\
`tests/`: Contains tests for the various components of the application.
## How to Run the Application 🏃♂️
1. Clone this repository.
2. Install the required Python packages. You can do this by running `pip install -r requirements.txt`.
3. Run the Streamlit application by executing `streamlit run app.py`.
## Contributing 🤝
Contributions are welcome! Please feel free to submit a Pull Request.