mindesbunister
1cbed61a46
CRITICAL FIX: Convert AI absolute prices to percentages for stop loss/take profit
system was treating them as percentages (530.13%), causing ridiculous targets
SOLUTION:
- calculateStopLoss(): Convert AI absolute stopLoss.price to percentage
- calculateTakeProfit(): Convert AI absolute takeProfits.tp1.price to percentage
- Proper calculation: ((targetPrice - currentPrice) / currentPrice) * 100
- Before: SOL @85 → TP: 530.13% = ,152 🤯
- After: SOL @85 → TP: 2.8% = 90 ✅
This ensures scalping trades have realistic targets instead of 500%+ gains.
2025-07-24 11:35:57 +02:00
..
2025-07-24 11:19:41 +02:00
2025-07-23 15:39:41 +02:00
2025-07-21 12:56:14 +02:00
2025-07-24 10:37:30 +02:00
2025-07-24 08:39:26 +02:00
2025-07-24 08:39:26 +02:00
2025-07-24 11:35:57 +02:00
2025-07-22 16:05:29 +02:00
2025-07-24 10:31:46 +02:00
2025-07-14 14:58:01 +02:00
2025-07-24 10:16:13 +02:00
2025-07-24 08:39:26 +02:00
2025-07-18 00:02:29 +02:00
2025-07-20 22:32:16 +02:00
2025-07-21 17:08:48 +02:00
2025-07-17 10:41:18 +02:00
2025-07-18 13:16:11 +02:00
2025-07-21 17:08:48 +02:00
2025-07-18 13:08:31 +02:00
2025-07-17 10:41:18 +02:00
2025-07-22 17:00:46 +02:00
2025-07-14 14:58:01 +02:00
2025-07-18 18:32:08 +02:00
2025-07-18 11:45:58 +02:00
2025-07-18 12:15:59 +02:00
2025-07-17 23:13:08 +02:00
2025-07-14 17:19:58 +02:00