Trades

Streams all trades as they occur in a chosen market.

Refer to Websocket for establishing the websocket connection.

Params

{
    "method": "subscribe",
    "params": {
        "source": "trades",
        "symbol": "SOL"
    }
}

Stream

{
  "channel": "trades",
  "data": [
      {
        "a": "0.16",
        "c": "6TUfbNv7...",
        "d": "open_long",
        "e": "fulfill_maker",
        "p": "157.43",
        "s": "SOL",
        "t": 1749052438829,
        "tc": "normal",
        "u": "C1obSQwr..."
      },
       // ... other trades
  ]
}
Field
Type
Description

'a'

decimal string

Amount

'c'

string

Counter party address

'd'

string

Trade side

open_long

open_short

close_long

close_short

'e'

string

Trade event

fulfill_taker

fulfill_maker

'p'

decimal string

Price

's'

string

Symbol

't'

number

Timestamp in milliseconds

'tc'

string

Trade cause

normal market_liquidation backstop_liquidation settlement

'u'

string

Account address

Last updated