get_local_okx_candle: Get Local OKX Candle Data

View source: R/okx_candle_data.R

get_local_okx_candleR Documentation

Get Local OKX Candle Data

Description

Get Local OKX Candle Data

Usage

get_local_okx_candle(
  inst_id,
  bar,
  local_path = NULL,
  storage = c("single", "monthly"),
  from = NULL,
  to = NULL
)

Arguments

inst_id

Instrument identifier.

bar

Candle interval.

local_path

Optional OKX storage path.

storage

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

from, to

Optional bounds used to prune monthly partitions before read.

Value

data.table or NULL.


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