Spaces:
Runtime error
Runtime error
File size: 2,387 Bytes
d79188e 404b51f d79188e b8139c4 d79188e 404b51f d79188e 404b51f 65bf4f9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | ---
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
|