portfolio / README.md
jetpackjules's picture
πŸ”„ Force rebuild - ensure 1-hour P&L changes are deployed
65bf4f9
---
title: Premium Trading Dashboard
emoji: πŸ“ˆ
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: IPO Trading Dashboard with Sentiment Analysis
---
# πŸš€ Premium Trading Dashboard
A comprehensive real-time trading dashboard with automated IPO discovery, sentiment analysis, and backtesting capabilities.
## ✨ Features
### πŸ“Š Portfolio Overview
- Real-time account monitoring (portfolio value, buying power, cash)
- Interactive portfolio performance charts
- Day change tracking with visual indicators
### πŸ” IPO Discoveries
- Automated IPO detection and classification
- Investment decision analytics
- Recent discoveries with detailed breakdowns
### πŸ’° Investment Performance
- Complete P&L analysis for all IPO investments
- **NEW: Integrated sentiment analysis backtesting**
- Advanced trading statistics and metrics
- Risk analysis and performance breakdowns
### 🧠 Sentiment Analysis Engine
The dashboard implements a sophisticated sentiment analysis system:
- **Data Sources**: Reddit (including WallStreetBets), Google News
- **Analysis Window**: 12 hours before each actual investment
- **Sentiment Engines**: VADER + TextBlob with engagement weighting
- **Target**: First-hour stock performance prediction
- **Validation**: Compares predictions vs actual market performance
### πŸ’» VM Terminal
- Remote command execution on trading VM
- Real-time log monitoring
- File system navigation and analysis
### πŸ“‹ System Logs
- Parsed trading bot activity logs
- Raw cron job outputs
- Color-coded error tracking
## πŸ”§ Technical Stack
- **Frontend**: Gradio with custom CSS styling
- **Backend**: Flask API integration with VM
- **Trading API**: Alpaca Markets (Paper Trading)
- **Data Sources**: Reddit API, Google News RSS, Yahoo Finance
- **Sentiment Analysis**: VADER, TextBlob
- **Charts**: Plotly for interactive visualizations
## πŸš€ Recent Updates
- βœ… Added IPO Sentiment Analysis Backtesting
- βœ… WallStreetBets integration for Reddit sentiment
- βœ… Historical performance validation
- βœ… Multi-source sentiment aggregation
- βœ… Enhanced logging and error handling
**Built with ❀️ for automated IPO trading and sentiment analysis**
*Fresh deployment with enhanced Reddit search, comprehensive logging, and 1-hour P&L analysis*# Fresh build trigger