Skip to content

Pixelated-Dreamer/MomentumPortfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Momentum Portfolio Analyzer

Python Streamlit License

A Streamlit web application that allows users to analyze stock performance by displaying OHLC (Open, High, Low, Close) data and calculating the 5-month growth rates for up to 5 stocks simultaneously.

Features

  • Real-time Stock Data: Fetches live stock data using the yfinance library.
  • Interactive UI: User-friendly interface for entering stock tickers and selecting date ranges.
  • Side-by-Side Comparison: Displays data for multiple stocks in a clear, organized manner.
  • Growth Rate Calculation: Calculates and displays the 5-month growth rate for each stock.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/momentum_portfolio.git
    cd momentum_portfolio
  2. Create a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows use: venv\Scripts\activate
  3. Install required packages:

    pip install -r requirements.txt

Usage

  1. Run the Streamlit app:

    streamlit run momentum_portfolio.py
  2. Open your web browser and go to http://localhost:8501.

  3. Enter up to 5 stock tickers (comma-separated).

  4. Select your desired date range.

Data Display

The application shows:

  • Open Price
  • High Price
  • Low Price
  • Close Price
  • 5-Month Growth Rate

Requirements

  • Python: 3.8+
  • See requirements.txt for package dependencies.

Contributing

  1. Fork the repository.
  2. Create your feature branch:
    git checkout -b feature/AmazingFeature
  3. Commit your changes:
    git commit -m 'Add some AmazingFeature'
  4. Push to the branch:
    git push origin feature/AmazingFeature
  5. Open a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments


Feel free to customize the repository URL, license details, and any other sections to better fit your project. This format should make your README more engaging and informative for users and contributors!

About

this is a financial website to find the momentum average of a stock ticker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages