fix: Add robust MT5 data loading with retry logic and connection checks

- Updated get_rates() with comprehensive retry logic (3 attempts)
- Added MT5 initialization check before each attempt
- Added symbol visibility check and auto-selection
- Increased wait time to 2 seconds for D1 data loading
- Moved retry logic from get_enhanced_trend_with_retry to get_rates level
- More efficient: retries happen at data source, not wrapper level

This should fix the 'Keine Daten für D1' error during automated trading checks.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-21 21:53:50 +01:00
co-authored by Claude Sonnet 4.5
parent 2c60675644
commit c3073680b5
File diff suppressed because it is too large Load Diff