feat: Add session filter to trading check + fix drawdown calculation
Deploy to Windows VPS / deploy (push) Has been cancelled
Deploy to Windows VPS / deploy (push) Has been cancelled
- Add session check (SCHRITT 0) to enhanced_trading_check_wrapper - Fix max_drawdown calculation to cap at 100% when equity goes negative - Add _save_data() after _update_stats() to persist stats - Add auto-sync scheduler job for demo tracker (every 5 min) - Fix MT5 trade sync to match entry deals by position_id - Enable Asian session in session_filter_patch.py Session config now: - Asian: ENABLED - London: BLOCKED - Overlap: ENABLED - NY: ENABLED Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
25b20fa0e2
commit
b5b91224df
4 files changed
+8553
-86
No files matched your search
@@ -253,9 +253,9 @@ SCHRITT 3: Scheduler neu starten
|
||||
|
||||
SCHRITT 4: Teste mit verschiedenen Modi:
|
||||
|
||||
# Standard Mode (NY + Overlap)
|
||||
# Standard Mode (Asian + NY + Overlap)
|
||||
SESSION_WHITELIST_CONFIG['enabled_sessions'] = {
|
||||
'asian': False, 'london': False,
|
||||
'asian': True, 'london': False,
|
||||
'overlap': True, 'ny': True
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user