@somnia-chain/markets-sdk / index / PerpStopIntent
Type Alias: PerpStopIntent
PerpStopIntent =
"reduceOnly"|"opening"
Defined in: packages/sdk/src/trade.ts:917
Whether a triggered perp stop may only REDUCE the signer's position, or may open and increase one.
Omitting it means "reduceOnly" — a take-profit or stop-loss, which is what every
perp stop was before intent existed. "opening" is a stop-entry or breakout: it
acquires exposure rather than shedding it, so the registry gates it on initial
margin at creation instead of on holding a reducible position.