Skip to main content
POST
GetOpenPositionsStreaming

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Connect-Protocol-Version
enum<number>
default:1
required

Define the version of the Connect protocol. If omitted, use 1.

Available options:
1
Connect-Timeout-Ms
number

Define the timeout, in ms

Body

application/json
address
string
required

Wallet address to stream open positions for. Trimmed and matched case-insensitively.

updateIntervalMs
integer | null

Interval between stream updates, in milliseconds. Defaults to 250 when omitted or zero, and is clamped to the 100–60000 range.

Response

200 - application/json

One streamed message (the server sends a sequence of these, not a single response).

positions
Position · object[]

Full snapshot of address's open positions as of this message. Not a diff against the previous message.