get_local_crypto_derivatives: Read Local Crypto Derivatives Data

View source: R/crypto_derivatives_data.R

get_local_crypto_derivativesR Documentation

Read Local Crypto Derivatives Data

Description

Read Local Crypto Derivatives Data

Usage

get_local_crypto_derivatives(
  provider,
  dataset_type,
  symbol,
  interval = NULL,
  local_path = NULL,
  storage = c("single", "monthly"),
  from = NULL,
  to = NULL
)

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.

local_path

Optional derivatives storage directory.

storage

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

from, to

Optional inclusive UTC time bounds.

Value

A data.table, or NULL.


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