mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-06-06 05:51:19 +08:00
Lighter SDK validates that StopLossOrder (type=2) and TakeProfitOrder (type=4) must have TimeInForce=0 (ImmediateOrCancel), not TimeInForce=1 (GoodTillTime). This was causing stop-loss and take-profit orders to fail validation and not be submitted to Lighter exchange.
360 KiB
3054x1958px
360 KiB
3054x1958px