For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order Updates

Real-time order execution and TP/SL status events

Use this stream for private order lifecycle events.

Endpoint

wss://order-service.outpoll.com/order/ws

Authentication

Send this message right after connect.

{
  "t": "AUTH",
  "d": {
    "apiKey": "<API_KEY>",
    "signature": "<SIGNATURE>",
    "timestamp": "<UNIX_EPOCH_SECONDS>"
  }
}

Build signature from timestamp + "GET" + "/order/ws".

Success response:

{
  "t": "success",
  "d": "authorized",
  "r": null
}

Failure response:

Order event

Field
Type
Description

d.i

string

Order ID

d.u

string

User ID

d.s

string

Status. SUCCESS or FAILED

TP/SL event

Field
Type
Description

d.i

string

Order ID

d.u

string

User ID

d.a

string

Asset ID

d.q

number

Quantity

d.tpp

number

Take-profit price

d.slp

number

Stop-loss price

d.s

string

Status

Heartbeat

Python example

Last updated

Was this helpful?