| get_source_data_binance_klines | R Documentation |
Retrieves candlestick data from Binance USDT-margined futures. If
paginate = TRUE, the function keeps requesting pages until the requested
time range is exhausted or the API returns fewer rows than limit.
get_source_data_binance_klines(
symbol = "ETHUSDT",
interval = "1m",
start_time = NULL,
end_time = NULL,
limit = 1500L,
tz = "UTC",
paginate = TRUE
)
symbol |
Trading pair symbol. |
interval |
Candlestick interval. |
start_time |
Optional start time. |
end_time |
Optional end time. |
limit |
Page size. Binance futures allows up to 1500. |
tz |
Time zone applied to returned timestamps. |
paginate |
Logical. Request multiple pages when needed. |
Standardized OHLCV data.table with source, symbol, interval,
datetime, date, open, high, low, close, and volume, plus
Binance-specific columns such as close_time and trade counts.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.