Trade Notification

Subscribe to this topic to receive notifications about new trades for specific trading pairs.

Rules

  • Topic name: trade

  • ApiKey required: No

Parameters

ParameterNote

market

Status code

ValueNote

104109

Invalid topic or parameters

Notification example

{
    "topic": {
        "topic": "trade",
        "market": "LRC-ETH"
    },
    "ts": 1584717910000,
    "data": [
        [
            "1584717910000",  //timestamp
            "123456789",  //tradeId
            "buy",  //side
            "500000",  //size 
            "0.0008",  //price
            "100"  //fee
        ]
    ]
}

Data Model

Notification

FieldTypeNote

topic

JSON

Topic and parameters

ts

integer

Notification timestamp (milliseconds)

data

Trade array list

Trade

IndexTypeNote

1

integer

Trade timestamp

2

integer

Fill sequence number

3

string

Taker's side (buy or sell)

4

string

Filled amount of base token

5

string

Fill price

6

string

Fee paid in base token

Last updated