get_account_interest_accrued: Get account interest accrued history

View source: R/wrappers_get_account.R

get_account_interest_accruedR Documentation

Get account interest accrued history

Description

Retrieve accrued borrowing interest records for the past year.

Usage

get_account_interest_accrued(
  type = NULL,
  ccy = NULL,
  inst_id = NULL,
  mgn_mode = NULL,
  after = NULL,
  before = NULL,
  limit = NULL,
  config,
  tz = .okx_default_tz
)

Arguments

type

Character or 'NULL'. Loan type. Currently '"2"' for market loans.

ccy

Character or 'NULL'. Loan currency.

inst_id

Character or 'NULL'. Instrument ID.

mgn_mode

Character or 'NULL'. Margin mode.

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 accrued-interest event.


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