# From project root directory:
streamlit run src/ui/app.pyThe app will automatically open in your browser at http://localhost:8501
- Navigate to ⬇️ Configure Download in the sidebar
- Select:
- Symbol:
BTCUSDT - Interval:
1h - Start Date: 7 days ago (use date picker)
- End Date: Today
- Symbol:
- Review the estimation:
- Should show ~168 bars
- Size: ~8-10 KB
- Click "🚀 Download Data Package"
- Wait ~10-20 seconds for download
- Review the summary:
- Check total bars
- Look at validation report
- Preview first/last 5 rows
- Navigate to 📦 Manage Packages
- View summary statistics
- Click ⚙️ on your package
- Click "📄 Details" to see full information
- Review:
- Basic info
- Validation report
- Data preview
- Statistics
- Click "Close Details"
- Navigate to ✅ Validate & Preview
- Select your package from dropdown
- Review quality score (should be ~100% for BTCUSDT)
- Check detailed metrics
- Explore the tabs:
- First 100
- Last 100
- Random Sample
- Statistics
- View the charts:
- Candlestick chart (zoom, pan, hover)
- Volume chart
- Check integrity checks (all should pass ✅)
- Try exporting validation report (JSON)
Test with different configurations:
- Different symbol:
ETHUSDT - Different interval:
4h - Longer date range: 30 days
- Go to 📦 Manage Packages
- Try sorting: "Sort by Total Bars"
- Try filtering: "Filter by Symbol: BTCUSDT"
- Delete a package:
- Click ⚙️ → 🗑️ Delete
- Confirm deletion
- Verify it's removed
- ✅ Form validates inputs correctly
- ✅ Estimation updates in real-time
- ✅ Progress bar shows during download
- ✅ Success message appears with summary
- ✅ Validation report shows quality
- ✅ Data preview displays correctly
- ✅ Summary shows correct counts
- ✅ Packages list displays all downloads
- ✅ Sorting changes order
- ✅ Filtering reduces list
- ✅ Details modal shows complete info
- ✅ Delete removes package and file
- ✅ Quality score calculated correctly
- ✅ Metrics display actual values
- ✅ Charts render interactively
- ✅ Integrity checks all pass
- ✅ JSON export downloads
# Check Streamlit is installed:
pip list | grep streamlit
# If not installed:
pip install streamlit plotly
# Try again:
streamlit run src/ui/app.py# Run the test script first:
python test_streamlit_ui.py
# Should show all ✓ checks passing- Check internet connection
- Try a smaller date range (3-7 days)
- Check the error message for details
- Verify symbol is valid on Binance
- Check 📦 Manage Packages page
- Remove filters if active
- Try sorting by "Download Date (Newest)"
Good test configurations:
Small Test (Fast Download)
- Symbol: BTCUSDT
- Interval: 1h
- Range: Last 7 days
- Expected: ~168 bars, ~8 KB
Medium Test
- Symbol: ETHUSDT
- Interval: 1h
- Range: Last 30 days
- Expected: ~720 bars, ~35 KB
Larger Test
- Symbol: BTCUSDT
- Interval: 4h
- Range: Last 90 days
- Expected: ~540 bars, ~26 KB
After downloading, check these directories:
Data Packages:
data/packages/
└── BTCUSDT_1h_2025-11-24_2025-12-01.csv
Metadata:
data/metadata/
└── packages.json
Once you've verified the UI works:
- Download training data - Larger datasets for actual training
- Proceed to Phase 3 - Feature engineering (returns, volume, volatility)
- Implement Phase 4 - Preprocessing pipeline
- Build Phase 5 - Data splitting for train/val/test
- Create Phase 6 - Advanced visualization tools
- Check phase2_completion_report.md for detailed documentation
- Review phase1_completion_report.md for data fetching info
- Check console output for error messages
- Streamlit errors appear in the UI (red boxes)
Happy Testing! 🚀