Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 43 additions & 21 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,48 @@
__pycache__/*
yfinance/__pycache__/*
dist
yfinance.egg-info
*.pyc
.coverage
.idea/
.vscode/
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
*.html
*.css
test.ipynb
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Environments
.env
.venv
env/
# Virtual Environment
venv/
ENV/
env/

# IDE
.vscode/
.idea/
*.swp
*.swo
*~

# Flask
instance/
.webassets-cache

# Environment variables
.env
.env.local

# OS
.DS_Store
Thumbs.db

# Documentation
/doc/build/
/doc/_build/
/doc/source/reference/api
!yfinance.css
!/doc/source/development/assets/branches.png
# Logs
*.log
97 changes: 97 additions & 0 deletions MARKETPLACE_LISTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# Stock Portfolio Tracker - Marketplace Listing

## Product Overview

**Price:** $10 USD
**Category:** Web Application / SaaS Prototype
**Platform:** Web (All Devices)

## Description

A professional-grade Stock Portfolio Tracker web application built with Flask and modern web technologies. This responsive application allows users to track their stock investments in real-time with beautiful charts and an intuitive interface.

## Key Features

✅ **Real-time Stock Data** - Live quotes from Yahoo Finance
✅ **Interactive Charts** - Price history with multiple time periods
✅ **Portfolio Management** - Add/remove stocks easily
✅ **Fully Responsive** - Works perfectly on desktop, tablet, and mobile
✅ **Auto-refresh** - Portfolio updates every 30 seconds
✅ **Local Storage** - Portfolio saved in browser
✅ **Modern UI** - Clean, professional design
✅ **No API Keys Required** - Uses free Yahoo Finance data

## Technical Stack

- **Backend:** Flask (Python)
- **Frontend:** HTML5, CSS3, JavaScript (Vanilla)
- **Charts:** Chart.js
- **Data:** Yahoo Finance via yfinance library
- **Storage:** Browser LocalStorage

## What's Included

- Complete source code
- Responsive HTML/CSS/JavaScript
- Flask backend API
- Deployment instructions
- Quick start script
- Documentation

## Quick Start

```bash
# Install dependencies
pip install -r requirements-app.txt

# Run the application
python app.py

# Or use the quick start script
./start.sh
```

Then open http://localhost:5000 in your browser.

## Deployment Options

- ✅ Heroku
- ✅ Railway
- ✅ Render
- ✅ DigitalOcean
- ✅ AWS
- ✅ Any Python hosting platform

## Screenshots Description

1. **Main Dashboard** - Clean interface showing portfolio grid
2. **Stock Cards** - Individual cards with price, change, volume, market cap
3. **Interactive Charts** - Price history with multiple time periods
4. **Mobile View** - Responsive design on mobile devices
5. **Add Stock** - Simple search and add functionality

## Use Cases

- Personal portfolio tracking
- Stock market education
- Investment research
- Financial dashboard
- Learning web development

## Requirements

- Python 3.7+
- Modern web browser
- Internet connection (for stock data)

## Support

Full documentation included. Code is well-commented and easy to customize.

## License

Full source code included. Commercial use allowed.

---

**Perfect for:** Developers, investors, students, entrepreneurs looking for a ready-to-deploy stock tracking solution.
141 changes: 141 additions & 0 deletions PROTOTYPE_README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
# Stock Portfolio Tracker - Marketplace Prototype ($10)

A responsive web application for tracking stock portfolios in real-time. Works seamlessly across all devices (desktop, tablet, mobile).

## Features

- 📈 **Real-time Stock Quotes** - Get live stock prices and market data
- 📊 **Interactive Charts** - View price history with multiple time periods (5D, 1M, 3M, 6M, 1Y)
- 💼 **Portfolio Management** - Add/remove stocks and track your portfolio
- 📱 **Fully Responsive** - Beautiful UI that works on all screen sizes
- 💾 **Local Storage** - Your portfolio is saved locally in your browser
- 🔄 **Auto-refresh** - Portfolio updates every 30 seconds automatically

## Quick Start

### Prerequisites

- Python 3.7 or higher
- pip (Python package manager)

### Installation

1. Install dependencies:
```bash
pip install -r requirements-app.txt
```

2. Run the application:
```bash
python app.py
```

3. Open your browser and navigate to:
```
http://localhost:5000
```

## Usage

1. **Add Stocks**: Enter a stock symbol (e.g., AAPL, MSFT, GOOGL) and click "Add Stock"
2. **View Details**: Click on any stock card to see its price history chart
3. **Change Time Period**: Use the period buttons (5D, 1M, 3M, 6M, 1Y) to view different timeframes
4. **Remove Stocks**: Click the × button on any stock card to remove it from your portfolio

## Deployment

### Local Development
```bash
python app.py
```

### Production Deployment

#### Option 1: Using Gunicorn (Recommended)
```bash
pip install gunicorn
gunicorn -w 4 -b 0.0.0.0:5000 app:app
```

#### Option 2: Using Docker
Create a `Dockerfile`:
```dockerfile
FROM python:3.9-slim
WORKDIR /app
COPY requirements-app.txt .
RUN pip install --no-cache-dir -r requirements-app.txt
COPY . .
EXPOSE 5000
CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:5000", "app:app"]
```

Build and run:
```bash
docker build -t stock-tracker .
docker run -p 5000:5000 stock-tracker
```

#### Option 3: Deploy to Cloud Platforms

**Heroku:**
```bash
heroku create stock-portfolio-tracker
git push heroku main
```

**Railway:**
- Connect your repository
- Set start command: `gunicorn -w 4 -b 0.0.0.0:$PORT app:app`
- Deploy automatically

**Render:**
- Create a new Web Service
- Set build command: `pip install -r requirements-app.txt`
- Set start command: `gunicorn -w 4 -b 0.0.0.0:5000 app:app`

## Marketplace Listing

### Product Description
"Stock Portfolio Tracker - A professional-grade web application for tracking your stock investments in real-time. Features interactive charts, responsive design, and automatic portfolio updates. Perfect for investors who want a simple, elegant solution to monitor their stocks."

### Pricing
**$10 USD** - One-time purchase includes:
- Full source code
- Deployment instructions
- Lifetime updates
- Commercial use license

### Key Selling Points
- ✅ Works on all devices (desktop, tablet, mobile)
- ✅ Real-time stock data from Yahoo Finance
- ✅ Beautiful, modern UI
- ✅ Easy to deploy and customize
- ✅ No API keys required
- ✅ Lightweight and fast

## Technical Details

- **Backend**: Flask (Python)
- **Frontend**: HTML5, CSS3, JavaScript (Vanilla)
- **Charts**: Chart.js
- **Data Source**: Yahoo Finance (via yfinance library)
- **Storage**: Browser LocalStorage

## Browser Support

- Chrome/Edge (latest)
- Firefox (latest)
- Safari (latest)
- Mobile browsers (iOS Safari, Chrome Mobile)

## License

This prototype is provided as-is for marketplace sale. The buyer receives full source code and deployment rights.

## Support

For questions or issues, please refer to the deployment documentation or contact the seller.

---

**Note**: This application uses Yahoo Finance data which is intended for personal use only. Please refer to Yahoo's terms of use for commercial usage rights.
Loading