get_trade_orders_history_archive: Get archived trade orders history

View source: R/wrappers_get_trade.R

get_trade_orders_history_archiveR Documentation

Get archived trade orders history

Description

Retrieve completed orders from the last 3 months.

Usage

get_trade_orders_history_archive(
  inst_type,
  inst_family = NULL,
  inst_id = NULL,
  ord_type = NULL,
  state = NULL,
  category = NULL,
  after = NULL,
  before = NULL,
  begin = NULL,
  end = NULL,
  limit = NULL,
  config,
  tz = .okx_default_tz
)

Arguments

inst_type

Character. Instrument type.

inst_family

Character or 'NULL'. Instrument family filter.

inst_id

Character or 'NULL'. Instrument ID filter.

ord_type

Character or 'NULL'. Order type filter.

state

Character or 'NULL'. Order state filter.

category

Character or 'NULL'. Order category filter.

after

Character or 'NULL'. Pagination cursor for earlier records.

before

Character or 'NULL'. Pagination cursor for newer records.

begin

Character or 'NULL'. Begin timestamp in milliseconds.

end

Character or 'NULL'. End timestamp in milliseconds.

limit

Integer or 'NULL'. Number of results to request.

config

List. API credentials/config.

tz

Character. Time zone for parsing timestamps.

Value

A 'data.frame' with archived order rows.


okxr documentation built on May 8, 2026, 5:09 p.m.