tinkle-community
8ef6045f9d
fix(grid): add total position value limit check
...
CRITICAL: Prevent excessive position accumulation
- New checkTotalPositionLimit() function
- Checks current + pending + new order value
- Rejects orders that would exceed TotalInvestment x Leverage
- Logs clear error messages when limit exceeded
2026-01-14 12:21:43 +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:21:43 +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