repair_local_binance_klines_gaps: Repair Local Binance Kline Data From Multiple Windows

View source: R/binance_data.R

repair_local_binance_klines_gapsR Documentation

Repair Local Binance Kline Data From Multiple Windows

Description

Fetches all requested Binance kline windows in memory and writes the merged repair result to local storage with one sync_local_data() call.

Usage

repair_local_binance_klines_gaps(
  symbol = "ETHUSDT",
  interval = "1m",
  windows,
  limit = 1500L,
  tz = "UTC",
  local_path = NULL,
  storage = c("single", "monthly")
)

Arguments

symbol

Trading pair symbol.

interval

Candlestick interval.

windows

A data.frame/data.table with start_time and end_time columns, or a list of objects containing those fields.

limit

Page size. Binance futures allows up to 1500.

tz

Time zone applied to returned timestamps.

local_path

Optional Binance storage path.

storage

Local storage mode: monolithic "single" or monthly partitioned "monthly".

Value

A sync result list.


investdatar documentation built on Aug. 21, 2026, 5:17 p.m.