@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / TerminalOrderStatus

Type Alias: TerminalOrderStatus

TerminalOrderStatus = Exclude<OrderStatus, "Open">

Defined in: packages/sdk/src/perp/portfolio.ts:270

An order status that means the order has stopped working.

OrderStatus minus "Open", so a history read cannot be asked for working orders in the first place — the guard is the type, not a comment.