Ws positions feed selector v1
Subscribes to a feed of position updates.
Updates get published when a trade is executed, and when leverage configurations are changed for instruments with ongoing positions.
To subscribe to all positions, specify an empty instrument
(eg. 2345123
).
Otherwise, specify the instrument
to only receive positions for that instrument (eg. 2345123-BTC_USDT_Perp
).
NameLite |
Type | RequiredDefault |
Description |
---|---|---|---|
sub_account_idsa |
string | True | The subaccount ID to filter by |
instrumenti |
string | False'all' |
The instrument filter to apply. |