OptionalbuilderOptional integrator fee configuration applied when this stop order fires.
OptionalexpiryOptional expiration time (ms or seconds, depending on protocol).
OptionallimitOptional limit order parameters when the stop triggers.
Order type semantics.
Limit price to post or execute at, scaled bigint.
Market the stop order is tied to.
OptionalnonNon-SL/TP standalone stop configuration.
Whether the stop can only reduce an existing position.
Price threshold used for triggering (interpreted per triggerPriceType).
If true, triggers when price >= threshold, otherwise price <= threshold.
Which on-chain price the trigger uses: 0 = index, 1 = book, 2 = mark.
ID of the stop order object on-chain.
Current state of the stop order in its lifecycle.
Direction of the stop order.
Size to execute when triggered (scaled base units).
OptionalslStop loss / take profit configuration.
OptionallimitOrderId?: bigintUnique order identifier for limit order sl/tp is tied to.
OptionalstopLossPrice?: numberPrice at which to trigger a stop loss (interpreted per triggerPriceType).
OptionaltakeProfitPrice?: numberPrice at which to take profit (interpreted per triggerPriceType).
Which on-chain price the trigger uses: 0 = index, 1 = book, 2 = mark.
Full stop-order representation on-chain.
Can represent:
slTp)nonSlTp)