{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"chart.trades.BTC-PERPETUAL.60"
]
}
}{
"data": {
"volume": 0.05219351,
"tick": 1573645080000,
"open": 8869.79,
"low": 8788.25,
"high": 8870.31,
"cost": 460,
"close": 8791.25
}
}chart.trades.(instrument_name).(resolution)
Publicly available market data used to generate a TradingView trade candle chart.
During a single resolution period, many events can be sent, each with updated values for the recent period.
Notice: When there is no trade during the requested resolution period (e.g. 1 minute), a filling sample is generated which uses data from the last available trade candle (open and close values).
Note: For spot instruments routed to Coinbase Exchange, this channel is not supported. Use Get product candles instead.
๐ Related Article: Spot Trading: Deribit and Coinbase-Routed Instruments
{
"jsonrpc": "2.0",
"method": "public/subscribe",
"id": 42,
"params": {
"channels": [
"chart.trades.BTC-PERPETUAL.60"
]
}
}{
"data": {
"volume": 0.05219351,
"tick": 1573645080000,
"open": 8869.79,
"low": 8788.25,
"high": 8870.31,
"cost": 460,
"close": 8791.25
}
}Instrument name
Chart bars resolution in minutes, or 1D / D for daily bars.
1, 3, 5, 10, 15, 30, 60, 120, 180, 360, 720, 1D, DClient sends subscription request to subscribe to notification channel. Please refer to Notification page for more information.
2.0
public/subscribe, private/subscribeServer sends subscription notification data
The timestamp (milliseconds since the Unix epoch)
Volume data for the candle
Cost data for the candle
The open price for the candle'
The close price for the candle
The highest price level for the candle
The lowest price level for the candle
Was this page helpful?