Candles
Subscribe Candlesticks
URL
wss://big.one/ws/contract/v2/candlesticks/{type}@{symbol}
Request Parameters
Parameters | Required | Type | Note |
---|---|---|---|
type | :white_check_mark: | string | period of time |
symbol | :white_check_mark: | string | Contract types, includes BTCUSD , BTCUSDT , ETHUSDT , EOSUSDT |
Request Example
wscat -c wss://big.one/ws/contract/v2/candlesticks/1MIN@BTCUSD
Response Example
[
{
"symbol": "BTCUSD",
"type": "1MIN",
"time": 1562301000000,
"open": 11119.5,
"close": 11109.5,
"high": 11123.5,
"low": 11109.5,
"nTrades": 4,
"volume": 3427,
"turnover": 0.30820388075,
"version": 91383701,
"nextTs": 1562301060000
}
]