post_account_set_collateral_assets: Set Account Collateral Assets

View source: R/wrappers_post_configure.R

post_account_set_collateral_assetsR Documentation

Set Account Collateral Assets

Description

Configure whether all or selected assets are treated as collateral.

Usage

post_account_set_collateral_assets(
  type,
  collateral_enabled,
  ccy_list = NULL,
  tz = .okx_default_tz,
  config
)

Arguments

type

Type of update, typically '"all"' or '"custom"'.

collateral_enabled

Logical. Whether the selected assets should be collateral-enabled.

ccy_list

Optional character vector of currencies. Required when 'type = "custom"'.

tz

Timezone used for any timestamp parsing.

config

A list containing API credentials.

Value

A 'data.frame' confirming the applied collateral asset setting.


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