get_public_block_trades: Get public block trades

View source: R/wrappers_get_market.R

get_public_block_tradesR Documentation

Get public block trades

Description

Retrieve recent single-leg public block trades for an instrument.

Usage

get_public_block_trades(
  inst_id,
  config = NULL,
  tz = .okx_default_tz
)

Arguments

inst_id

Character. Instrument ID.

config

Optional list. Public endpoint request options, such as 'timeout'; credentials are not required.

tz

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

Value

A 'data.frame' with block trade fields such as price, size, trade side, volatility, and timestamps.


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