Files
trading_bot_v3/lib
mindesbunister f073368f39 feat: implement intelligent price-proximity scalping optimization
- Replace blind time intervals with smart price-proximity rescanning
- Only triggers analysis when price approaches stop loss (danger zone)
- Detects scalping strategies automatically (1m, 3m, 5m timeframes)
- Uses frequent 2-minute intervals for scalping vs 10-minute for swing trades
- Adds hasOpenPositions() and triggerPriceBasedAnalysis() methods
- Fixed TypeScript compilation errors with config.selectedTimeframes access
- Removed non-existent selectedTimeframes from AutomationStatus interface

This optimization prevents unnecessary rescans when price hasn't moved near SL/TP levels,
focusing computational resources on critical decision moments for DCA, SL adjustment, or exit.
2025-07-24 15:38:42 +02:00
..