Files
nofx/img.png
tinkle-community 05c480d3f0 fix: Lighter stop/take-profit orders must use TimeInForce=0 (ImmediateOrCancel)
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.
2025-12-15 22:34:29 +08:00

492 KiB
3016x1796px

/liuyu/nofx/raw/commit/b169fcd3d2a00616c00ac8926a6a54f6f06e96f8/img.png