Nothing
post_trade_cancel_order() so it accepts either ord_id or
cl_ord_id, matching the documented OKX cancellation surface more closely.post_asset_transfer() for signed internal and sub-account asset
transfer workflows.post_asset_withdrawal() and post_asset_cancel_withdrawal() for
funding-account withdrawal submission and cancellation.post_asset_convert_estimate_quote() and
post_asset_convert_trade() for quote-first asset convert workflows.post_account_position_margin_balance() for margin add/reduce
operations on existing positions.post_account_spot_manual_borrow_repay() for manual spot-mode
borrow and repay requests.post_account_account_level_switch_preset() for storing account-mode
switch presets before a mode change.post_account_mmp_reset() and post_account_mmp_config() for
options MMP reset and configuration workflows.post_account_move_positions() for move-position requests between
accounts under the same master account.post_account_set_position_mode() for account position-mode changes.post_account_set_fee_type() and post_account_set_greeks() for
fee display and Greeks display configuration.post_account_set_auto_repay() and post_account_set_auto_loan()
for spot auto-repay and automatic borrowing settings.post_account_set_account_level() and
post_account_set_collateral_assets() for account-mode and collateral
configuration workflows.post_trade_cancel_algos() for batch cancellation of supported
algo orders.post_trade_amend_algos() for modifying supported algo orders with
documented trigger and TP/SL amendment fields.post_trade_mass_cancel() for options MMP mass-cancel workflows.post_trade_batch_orders() and post_trade_cancel_batch_orders()
for grouped order placement and cancellation workflows.post_trade_amend_order() and
post_trade_amend_batch_orders() for modifying live orders with the
documented amend request fields.post_trade_order_precheck() for signed order validation before
placement.post_trade_cancel_all_after() for exchange-side cancel-after
safeguards.get_copy_trade_public_lead_traders() and
get_copy_trade_public_preference_currency() to cover the remaining
documented public copy-trading GET endpoints in the current package scope.get_copy_trade_settings() with the documented inst_type
filter.get_copy_trade_current_subpos() and
get_copy_trade_historical_subpos() with inst_type, inst_id,
after, before, and limit.get_copy_trade_instruments(), get_copy_trade_config(),
get_copy_trade_public_config(), get_copy_trade_public_copy_traders(),
get_copy_trade_public_current_subpositions(), and
get_copy_trade_public_subpositions_history() for broader copy-trading
discovery and position inspection.get_copy_trade_public_pnl(),
get_copy_trade_public_stats(),
get_copy_trade_public_weekly_pnl(),
get_copy_trade_profit_sharing_details(),
get_copy_trade_unrealized_profit_sharing_details(),
get_copy_trade_total_profit_sharing(), and
get_copy_trade_total_unrealized_profit_sharing() for public performance
and private profit-sharing coverage.get_asset_deposit_history() and
get_asset_withdrawal_history() to support the documented filter surface
and richer parsed transfer metadata.get_trade_fills() and get_trade_fills_history() with
begin and end timestamp filters.get_trade_orders_history() and
get_trade_orders_history_archive() for broader trade history coverage
beyond pending orders and the earlier 7-day wrapper.get_trade_easy_convert_currency_list(),
get_trade_easy_convert_history(),
get_trade_one_click_repay_currency_list(),
get_trade_one_click_repay_history(),
get_trade_one_click_repay_currency_list_v2(), and
get_trade_one_click_repay_history_v2() for convert and repay workflow
inspection.get_trade_order_algo(),
get_trade_orders_algo_pending(), and
get_trade_orders_algo_history() for read-only algo-order inspection.get_asset_non_tradable_assets(),
get_asset_asset_valuation(),
get_asset_transfer_state(),
get_asset_bills(),
get_asset_bills_history(),
get_asset_deposit_withdraw_status(), and
get_asset_exchange_list() for broader funding-account inspection.get_asset_convert_currencies(),
get_asset_convert_currency_pair(), and
get_asset_convert_history() for asset convert metadata and history.get_account_interest_accrued() and
get_account_interest_limits() for borrowing-cost and borrowing-limit
inspection.get_account_max_withdrawal(), get_account_risk_state(),
get_account_greeks(), get_account_position_tiers(), and
get_account_collateral_assets() for broader account risk and margin
coverage.get_account_mmp_config(),
get_account_move_positions_history(),
get_account_precheck_set_delta_neutral(), and
get_account_set_account_switch_precheck() for operational account
inspection and precheck workflows.get_account_bills_history_archive(),
get_account_subaccount_balances(),
get_account_subaccount_max_withdrawal(), and
get_account_spot_borrow_repay_history() for historical export,
sub-account, and spot borrow/repay coverage.get_market_mark_price_candles() and
get_market_history_mark_price_candles() for mark-price candlestick data.get_market_exchange_rate(), get_market_index_components(),
get_market_platform_24_volume(), get_market_block_ticker(), and
get_market_block_tickers() for additional public market data coverage.get_public_block_trades(),
get_public_delivery_exercise_history(),
get_public_estimated_settlement_info(),
get_public_settlement_history(), get_public_underlying(),
get_public_opt_summary(), get_public_position_tiers(), and
get_public_economic_calendar() for broader public reference coverage.get_account_subtypes(), get_account_adjust_leverage_info(), and
get_account_max_loan() for additional account-level inspection endpoints.public/underlying.get_account_instruments() for account-scoped instrument metadata.get_account_position_risk() for account and position risk snapshots.get_account_max_size() and get_account_max_avail_size() for
account-level sizing checks before order placement.get_account_trade_fee() and get_account_interest_rate() for
account fee and borrowing-rate inspection.get_trade_account_rate_limit() for rate-limit and fill-ratio
monitoring.get_public_estimated_price(),
get_public_discount_rate_interest_free_quota(),
get_public_interest_rate_loan_quota(), get_public_insurance_fund(),
get_public_convert_contract_coin(), get_public_instrument_tick_bands(),
and get_public_premium_history() for public reference and risk metadata.get_market_index_tickers(), get_market_index_candles(), and
get_market_history_index_candles() for public index market data.get_market_option_instrument_family_trades() and
get_public_option_trades() for option trade market data.okxr is available
on CRAN.DESCRIPTION as requested by CRAN.set_okxr_options().R CMD check --as-cran with LaTeX support.NULL instead of bubbling parser errors.set_okxr_options() and
per-request config$timeout.NULL consistently.testthat infrastructure for package-level regression testing.R CMD check workflow for Linux, macOS, and Windows.get_market_tickers(), get_market_books(), get_market_trades(), and
get_market_history_trades().get_public_time() and get_public_price_limit().get_trade_fills() and get_trade_fills_history().get_account_bills() and get_account_bills_archive().get_asset_currencies() and get_asset_deposit_address().cl_ord_id behavior in post_trade_order().get_copy_trade_settings(), get_copy_trade_my_leaders(),
get_copy_trade_current_subpos(), and get_copy_trade_historical_subpos().get_account_config() and get_account_leverage_info().get_public_mark_price() and get_public_instruments().post_trade_order(), post_trade_cancel_order(),
post_trade_close_position(), and post_account_set_leverage().get_trade_orders_pending().Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.