QuoteTpSl
A folded TP/SL snapshot for a single quote — both sides merged from the handler’s per-conditional-order rows. This is the UI-facing shape the React layer’s toQuoteTpSl produces; core returns the raw rows and leaves folding to the consumer.
Fields
tpstringTake-profit trigger price (decimal string). Empty when no order.
slstringStop-loss trigger price (decimal string). Empty when no order.
tpOpenPricestringSlippage-shifted “opened” price stamped on the TP order (decimal string).
slOpenPricestringSlippage-shifted “opened” price stamped on the SL order (decimal string).
tpPriceTypeTpSlPriceTypeWhether the TP trips on the mark or last-close price.
slPriceTypeTpSlPriceTypeWhether the SL trips on the mark or last-close price.
tpStateTpSlInfoStateLifecycle stage of the TP order.
slStateTpSlInfoStateLifecycle stage of the SL order.
tpCohQuoteIdstringoptionalHandler-issued conditional-order id for the TP order, when present.
slCohQuoteIdstringoptionalHandler-issued conditional-order id for the SL order, when present.
Related
QuoteTpSlRow— the raw rows this snapshot folds.useQuoteTpSl— React binding that returns this shape.