 cbazzaandClaude Sonnet 4.6
|
75ef0bc772
|
chore: code review fixes + project cleanup
Code Review Fixes:
- trading_database.py: logger, f-string SQL, except:pass, bot_settings table
- drawdown_protection.py: persist pause state, float('inf') on DB error, Markdown fix
- position_monitor.py: mt5 alias, partial closes, UTC timezone, dynamic tolerance
- adaptive_rhythm_manager.py: implement get_volatility_level(), pytz→timezone, shutdown()
- trading_dashboard.py: fix time.sleep auto-refresh, st.rerun(), DB error handling
- trading_bot_gui.py: thread-safe GUI updates, scheduler guard, MT5_LOGIN constant
- performance_analysis.py: fix KeyError in export, profit factor formula, SQL filter
- performance_analysis_simple.py: datetime parsing, bin sorting, profit factor
- check_market_regime.py: DX div/zero, Wilder smoothing, UTC timestamp, try/finally
- check_system_status.py: remove duplicate cursor.execute
- Notebook: mt→mt5 (60 calls), fix calculate_position_size(self→), remove force-resume
Project Cleanup:
- Remove 6 tracked notebook backups (git is version control)
- Remove 21 one-shot notebook patch/fix/add scripts
- Remove 25 outdated fix-note and status markdown files
- Untrack runtime data files (trade JSONs, .pkl, .DS_Store) via git rm --cached
- Update .gitignore: trade data, ML artifacts, notebook backups
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-05-12 09:18:22 +02:00 |
|
 cbazzaandClaude
|
596718e30b
|
feat: Trading Bot V1.8 - Aggressive Mode + Infrastructure
## Major Features
- Session Filter: NY-only trading (13:00-21:00 UTC)
- SQLite Database: Structured trade logging
- Telegram Bot: Real-time notifications (@Xausd_digger_bot)
- Streamlit Dashboard: Visual monitoring & analytics
- JSON Import: Historical data migration
## Infrastructure
- trading_database.py: SQLite trade storage
- telegram_notifier.py: Telegram integration
- infrastructure_patch.py: Combined DB + Telegram
- trading_dashboard.py: Real-time web dashboard
- import_json_to_db.py: JSON to SQLite migration
## Session Filter (V1.8 Aggressive Mode)
- session_filter_patch.py: Whitelist-based filter
- Blocks: Asian, London, Overlap sessions
- Active: NY session only (best performance: 47.6% WR)
- Base confidence: 60%
## Documentation
- V1.8_AGGRESSIVE_MODE_AKTIVIERT.md
- FIX_DUPLICATE_SCHEDULER.md
- DASHBOARD_WINDOWS_SERVER.md
- SQLITE_TELEGRAM_SETUP.md
- PROJECT_CLEANUP.md
## Cleanup
- Archived old V1.1-V1.7 versions
- Removed obsolete analysis scripts (replaced by dashboard)
- Added .gitignore for secrets and temp files
## Breaking Changes
- Requires telegram_config.json (use template)
- Requires Python packages: streamlit, plotly
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-11-26 21:14:01 +01:00 |
|