Skip to main content

StreamTpslUpdates gRPC Method

Streams trigger and take-profit/stop-loss order updates with add and remove diffs.

Updated on
Oct 09, 2026
Full reference

Field definitions, proto messages, example updates, and comparisons for this stream live on the TP/SL Updates dataset page. This page covers the method signature and client snippets.

Please note that this method is metered based on data consumption at 0.0165 MB = 10 API credits.

Parameters

coins
repeated string

List of symbols to subscribe to (e.g., 'BTC', 'ETH'). Empty means all perp coins

Returns

stream
stream<TpslUpdatesUpdate>

Stream of TpslUpdatesUpdate messages containing trigger-order add/remove diffs per block

time
uint64

Block timestamp in milliseconds

height
uint64

Block height

snapshot
bool

True when the diffs carry the currently-open trigger orders as a snapshot

diffs
array<TpslOrderDiff>

Per-order diffs, each containing diff_type (TPSL_DIFF_TYPE_ADD or TPSL_DIFF_TYPE_REMOVE), oid (order ID), coin, user (address), side ('A' for ask, 'B' for bid), trigger_px, limit_px, sz (size; '0.0' for position TP/SL orders sized by the position), trigger_condition (e.g., 'Price above 1778'), order_type (e.g., 'Stop Market', 'Take Profit Limit'), is_position_tpsl, reduce_only, timestamp (order creation time in milliseconds), and reason (present on remove diffs)

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free