get_trade_fills_history: Get trade fills history

View source: R/wrappers_get_trade.R

get_trade_fills_historyR Documentation

Get trade fills history

Description

Retrieve historical filled transaction details from the last 3 months.

Usage

get_trade_fills_history(
  inst_type,
  inst_family = NULL,
  inst_id = NULL,
  ord_id = NULL,
  sub_type = NULL,
  after = NULL,
  before = NULL,
  limit = NULL,
  begin = NULL,
  end = NULL,
  config,
  tz = .okx_default_tz
)

Arguments

inst_type

Character. Instrument type, e.g. '"SPOT"' or '"SWAP"'.

inst_family

Character or 'NULL'. Instrument family filter.

inst_id

Character or 'NULL'. Instrument ID filter.

ord_id

Character or 'NULL'. Order ID filter.

sub_type

Character or 'NULL'. Transaction subtype filter.

after

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

before

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

limit

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

begin

Character or 'NULL'. Begin timestamp in milliseconds.

end

Character or 'NULL'. End timestamp in milliseconds.

config

List. API credentials/config.

tz

Character. Time zone for parsing timestamps. Default '"Asia/Hong_Kong"'.

Value

A 'data.frame' with historical fill rows.


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