Candlestick Notification

Subscribe to this topic to receive notifications about candlestick updates for specific trading pairs.

Rules

  • Topic name: candlestick

  • ApiKey required: No

Parameters

ParameterNote

market

interval

Time interval

Time intervals

ValueNote

1min

1 minute

5min

5 minutes

15min

15 minutes

30min

30 minutes

1hr

1 hour

2hr

2 hours

4hr

4 hours

12hr

12 hours

1d

1 day

1w

1 week

Status code

ValueNote

104106

Invalid topic or parameters

Notification example

{
    "topic": {
        "topic": "candlestick",
        "interval": "2hr"
    },
    "ts":1584717910000,
    "data": [
        "1584717910000",  //open timestamp (ms)
        "5000",  //count
        "3997.3",  //open
        "3998.7",  //close
        "4031.9",  //high
        "3982.5",  //low
        "500000000000000000",  //size
        "2617521141385000000",  //volume
    ]
}

Data Model

Notification

FieldTypeNote

topic

JSON

Topic and parameters

ts

integer

Notification timestamp (milliseconds)

data

List[string]

Candlestick

IndexTypeNote

1

integer

Open timestamp

2

integer

Nubmer of trades

3

string

Open price

4

string

Close price

5

string

Highest price

6

string

Lowest price

7

string

Traded amount of Base Tokens (in Wei)

8

string

Traded amount of quote Tokens (in Wei)

Last updated