get_account_spot_borrow_repay_history: Get spot borrow and repay history

View source: R/wrappers_get_account.R

get_account_spot_borrow_repay_historyR Documentation

Get spot borrow and repay history

Description

Retrieve spot-mode borrow and repay history.

Usage

get_account_spot_borrow_repay_history(
  ccy = NULL,
  type = NULL,
  after = NULL,
  before = NULL,
  limit = NULL,
  config,
  tz = .okx_default_tz
)

Arguments

ccy

Character or 'NULL'. Currency filter.

type

Character or 'NULL'. Event type filter.

after

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

before

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

limit

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

config

List. API credentials/config.

tz

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

Value

A 'data.frame' with one row per borrow or repay event.


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