cbazzaandClaude Sonnet 4.6 5a204a05cd fix: equity_curve_trading, infrastructure_patch + news filter cleanup
equity_curve_trading.py:
- mt→mt5 alias in _get_current_equity()
- safe-fail: return False (block trade) when equity unavailable
- UTC timestamps via timezone.utc in update_equity()
- add_initial_equity(): unique timestamps (staggered by minute) instead of identical

infrastructure_patch.py:
- Add logging module, replace all print() with logger calls
- Fix guard: self.db/self.telegram instead of enable_database/enable_telegram
- Fix UTC bug in extract_trade_data_from_mt5() (fromtimestamp with tz=utc)
- Remove direct self.db.cursor.execute() in log_trade_exit() — use get_open_trades()
- Read risk_pct from SESSION_WHITELIST_CONFIG instead of hardcoding 0.01

news_filter.py / news_filter_v2.py:
- Remove both inactive variants (ForexFactory scraper + Finnhub API)
- news_filter_simple.py + news_filter_integration.py remain as active implementation

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 09:41:35 +02:00
2025-12-17 08:34:55 +01:00
2025-12-17 08:34:55 +01:00
S
Description
Trading Bot um XAUSD auf Vantage via MT5 zu traden
5.2 MiB
Languages
Python 71.4%
Jupyter Notebook 24.7%
Batchfile 1.7%
PowerShell 1.2%
Shell 1%