sync_local_cftc_cot: Synchronize One CFTC COT Report

View source: R/cftc_cot_data.R

sync_local_cftc_cotR Documentation

Synchronize One CFTC COT Report

Description

Synchronize One CFTC COT Report

Usage

sync_local_cftc_cot(
  report_variant = c("futures_only", "combined"),
  report_type = "tff",
  report_id = NULL,
  dataset_id = NULL,
  market_codes = NULL,
  from = NULL,
  to = NULL,
  local_path = NULL,
  overlap_days = 14L,
  page_size = 5000L
)

Arguments

report_variant

Report variant: "futures_only" or "combined".

report_type

Report family: "tff", "disaggregated", or "legacy".

report_id

Stable local report identifier.

dataset_id

Optional official Socrata dataset identifier.

market_codes

Optional CFTC contract-market codes.

from, to

Optional inclusive report-date bounds.

local_path

Optional CFTC storage directory.

overlap_days

Number of days re-fetched around the latest local report.

page_size

Number of source rows requested per page.

Value

A local synchronization result list.


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