Interactive Streamlit dashboard for visualizing financial sentiment analysis and price correlations.
Provides real-time market sentiment insights and historical trend analysis through intuitive visualizations.
- Current Market Sentiment: Real-time pulse from last 3 days
- Market Category Breakdown: CRYPTO, US_STOCKS, ECONOMICS sentiment
- Price vs Sentiment Trends: Historical correlation analysis
- Dual-Axis Charts: Price lines with stacked sentiment bars
- System Status: Data validation and health checks
- Raw Data Tables: Inspect sentiment and price data
- Category Distribution: Detailed breakdown by source
- Time Range Validation: Ensure data freshness
streamlit run app/main.py- Target URL: trading.elikloft.com (pending domain fix)
- Alternative: elikloft.com/trading (path-based routing)
- Current Status: Deployed but domain configuration issues
- Time Range: Last 3 days only
- Purpose: At-a-glance current market pulse
- Format: Stacked bars (Bullish/Neutral/Bearish)
- Categories: Ordered as CRYPTO, ECONOMICS, US_STOCKS, OTHER
- Time Range: All available data
- Purpose: Long-term correlation analysis
- Format: Dual-axis with price line + sentiment bars
- Aggregation: Daily averages for trend clarity
# AWS (required)
AWS_ACCESS_KEY_ID=your_key
AWS_SECRET_ACCESS_KEY=your_secret
AWS_DEFAULT_REGION=us-east-1
# S3 (required)
S3_BUCKET_NAME=automated-trading-data-bucketpip install -r requirements.txtKey packages:
streamlit- Web dashboard frameworkplotly- Interactive chartspandas- Data manipulationboto3- AWS S3 integration
- Bullish: Green (#00CC44)
- Neutral: Gray (#888888)
- Bearish: Red (#FF4444)
- Price Line: Black with white outline for visibility
- Stacked Bars: Show full sentiment distribution
- Line Charts: Price trends over time
- Dual-Axis: Compare different scales (price vs percentage)
- Page Navigation: Clean sidebar with Insights/Debug pages
- Expandable Sections: Category definitions on demand
- Responsive Design: Works on desktop and mobile
- Loading States: Clear feedback when data is unavailable
- Market Sentiment: Overall bullish percentage
- Community Posts: Total analyzed posts
- Market Categories: Number of active categories
- CRYPTO: Digital assets and blockchain discussions
- ECONOMICS: Macro trends and long-term wealth strategies
- US_STOCKS: Traditional equity markets and value investing
- OTHER: Miscellaneous financial discussions
- Real-time: Loads fresh data from S3 on each page refresh
- Caching: Streamlit built-in caching for performance
- Error Handling: Graceful fallbacks when data unavailable
- Plotly Integration: Interactive charts with zoom/pan
- Responsive: Auto-sizing based on container width
- Performance: Optimized for daily aggregated data
# Multi-page app with sidebar navigation
def presentation_page(): # Main insights view
def debug_page(): # Technical details
def main(): # Navigation logic- Platform: Cloud hosting (Streamlit Cloud)
- Status: β Application deployed successfully
- Domain: β https://trading.elikloft.com working
- Auto-Refresh: Real-time data updates without manual refresh
- Mobile Optimization: Improve responsive design
- Data Pipeline: Automated processing after collection
- Export Features: Download charts as images/PDFs
- Time Range Filters: Custom date range selection
- Alert System: Notifications for extreme sentiment shifts
- Themes: Dark/light mode toggle
- Customization: User-configurable chart types
- API Integration: Direct data feeds without S3 dependency
- Market Sentiment: 65% Bullish
- Community Posts: 1,314 analyzed
- Market Categories: 3 active
- Data Points: 1 price + 1 sentiment per day
- Daily Aggregation: Smooths noise while preserving trends
- Correlation Tracking: Visual relationship between sentiment and price
- Category Comparison: Different market segments side-by-side
- Data Refresh: Manual refresh required for new data
- Mobile: Some charts may be cramped on small screens
- Loading: No progress indicators for slow S3 loads
insight-dashboard/
βββ app/
β βββ main.py # Main dashboard application
βββ utils/
β βββ data_loader.py # S3 data loading utilities
βββ .streamlit/
β βββ config.toml # Streamlit configuration
βββ requirements.txt # Python dependencies
βββ runtime.txt # Python version for deployment
Part of the automated-trading pipeline Previous: ai-workbench processes sentiment data Data Source: Reads from S3 processed-data/