sync_local_crypto_derivatives: Synchronize One Crypto Derivatives Dataset

View source: R/crypto_derivatives_data.R

sync_local_crypto_derivativesR Documentation

Synchronize One Crypto Derivatives Dataset

Description

Synchronize One Crypto Derivatives Dataset

Usage

sync_local_crypto_derivatives(
  provider,
  dataset_type,
  symbol,
  interval = NULL,
  from = NULL,
  to = NULL,
  limit = NULL,
  local_path = NULL,
  overlap_days = 2L,
  config = NULL,
  storage = c("single", "monthly")
)

Arguments

provider

binance or okx.

dataset_type

Funding, open-interest, mark/index price, basis, or Binance long-short-ratio dataset identifier.

symbol

Provider instrument identifier.

interval

Required Binance open-interest period; otherwise a local label.

from, to

Optional inclusive UTC time bounds.

limit

Provider page size.

local_path

Optional derivatives storage directory.

overlap_days

Days re-fetched before the latest local observation.

config

Optional exchange configuration.

storage

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

Value

A local synchronization result list.


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