QuoteTpSlRow
One conditional-order row as returned by getQuoteTpSl (GET /api/v5/?quote_id=…). Aliases the orval-generated ConditionalOrderResponseSchema. The row set contains every historical row for the quote, including terminated ones; React layers fold rows into per-side QuoteTpSl snapshots.
Fields
quote_idnumberOn-chain quote id the row belongs to.
coh_quote_idstringHandler-issued conditional-order id (e.g. "coh4213").
party_a_addressstringPartyA (VA) address that owns the quote.
symbol_idnumberSolver market id.
conditional_order_type"take_profit" | "stop_loss" | "send_quote"Which kind of conditional order (QuoteTpSlConditionalOrderType).
quantitynumberOrder quantity.
conditional_order_pricenumberThe trigger price.
pricenumber | nulloptionalThe slippage-shifted fill price.
order_type0 | 1Wire order type (1 = market).
state"pending" | "new" | "triggered" | "triggered_pending" | "canceled" | "killed"Row lifecycle state (QuoteTpSlRowState).
action_price_type"market" | "last_close"Whether the trigger trips on the mark or last-close price (QuoteTpSlActionPriceType).
position_type0 | 1Quote direction — 0 = long, 1 = short.
close_statusstring | nulloptionalHandler close status, when present.
leveragenumber | string | nulloptionalLeverage stamped on the order, when present.
create_timenumberCreation timestamp.
modify_timenumberLast-modification timestamp.
The companion string types QuoteTpSlRowState, QuoteTpSlActionPriceType, and QuoteTpSlConditionalOrderType are re-exported alongside this row for typing individual fields.
Related
getQuoteTpSl— returnsQuoteTpSlRow[].QuoteTpSl— the folded per-side snapshot React layers derive from these rows.