tinkle-community
73789f7fb7
fix(grid): update daily PnL when stop loss is executed
...
The updateDailyPnL() function was added but never called, leaving
DailyPnL always at 0 and preventing daily loss limit checks from
triggering.
This fix updates DailyPnL and TotalProfit directly in checkAndExecuteStopLoss()
when a stop loss is executed. We update directly rather than calling
updateDailyPnL() because the mutex is already held in that function.
2026-01-14 12:45:31 +08:00
..
2026-01-06 15:56:07 +08:00
2025-12-08 01:43:22 +08:00
2026-01-13 13:34:43 +08:00
2026-01-14 12:45:31 +08:00
2026-01-13 10:33:02 +08:00
2025-12-29 22:16:48 +08:00
2025-12-08 01:43:22 +08:00
2026-01-13 10:33:02 +08:00
2026-01-06 15:56:07 +08:00
2026-01-06 15:56:07 +08:00
2026-01-06 15:56:07 +08:00
2026-01-06 15:56:07 +08:00
2026-01-06 15:56:07 +08:00
2026-01-13 13:38:09 +08:00
2026-01-06 15:56:07 +08:00
2025-12-08 01:43:22 +08:00
2026-01-13 10:33:02 +08:00
2026-01-01 19:32:49 +08:00
2025-12-08 01:43:22 +08:00
2026-01-06 15:56:07 +08:00
2026-01-01 19:32:49 +08:00
2025-11-12 15:33:43 +08:00
2025-12-08 01:43:22 +08:00
2026-01-13 10:33:02 +08:00
2026-01-14 12:18:24 +08:00
2025-12-27 19:13:04 +08:00
2026-01-06 15:56:07 +08:00
2026-01-13 10:33:02 +08:00
2026-01-13 14:03:28 +08:00
2026-01-13 13:51:58 +08:00
2026-01-13 13:42:14 +08:00
2026-01-04 20:03:56 +08:00
2026-01-13 13:28:18 +08:00
2026-01-06 15:56:07 +08:00
2026-01-13 13:38:09 +08:00
2025-12-10 22:01:57 +08:00
2026-01-06 15:56:07 +08:00
2025-12-08 01:43:22 +08:00
2025-12-29 22:16:48 +08:00