market_klines | R Documentation |
Exposes the GET /api/v3/klines
endpoint.
market_klines(
symbol,
interval = "1m",
start_time = NULL,
end_time = NULL,
limit = 500,
volume = FALSE
)
symbol |
Symbol. |
interval |
Time interval. One of 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w or 1M where m = minutes, h = hours, d = days, w = weeks and M = months. |
start_time |
Start time. Something that can be coerced to |
end_time |
End time. Something that can be coerced to |
limit |
Maximum number of records in result. Default is 500 and maximum is 1000. |
volume |
Whether to include volume data in output. |
A data frame.
market_klines("BTCUSDT")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.