Man pages for okxr
R Interface to the 'OKX' REST API

dot-build_requestBuild a full OKX request object
dot-execute_get_actionExecute a GET request to OKX
dot-execute_post_actionExecute a POST request to OKX
dot-get_headersCreate OKX API request headers
dot-getsGET request function list
dot-make_get_functionCreate a GET request function from an API spec
dot-make_parserBuild a typed OKX JSON response parser (named or positional)...
dot-make_post_functionCreate a POST request function from an API spec
dot-okx_default_tzInternal OKX request helpers
dot-postsPOST request function list
get_account_adjust_leverage_infoGet account leverage adjustment estimate
get_account_balanceGet account balance
get_account_billsGet account bills
get_account_bills_archiveGet archived account bills
get_account_bills_history_archiveGet archived account bill export links
get_account_collateral_assetsGet account collateral assets
get_account_configGet account configuration
get_account_greeksGet account Greeks
get_account_instrumentsGet account-available instruments
get_account_interest_accruedGet account interest accrued history
get_account_interest_limitsGet account borrow interest and limits
get_account_interest_rateGet account borrowing interest rates
get_account_leverage_infoGet account leverage settings
get_account_max_avail_sizeGet maximum available tradable amount
get_account_max_loanGet account maximum loan
get_account_max_sizeGet maximum order size
get_account_max_withdrawalGet account maximum withdrawals
get_account_mmp_configGet account MMP configuration
get_account_move_positions_historyGet account move positions history
get_account_position_riskGet account and position risk snapshot
get_account_positionsGet account open positions
get_account_positions_historyGet account position history
get_account_position_tiersGet account position tiers
get_account_precheck_set_delta_neutralPrecheck delta-neutral strategy switch
get_account_risk_stateGet account risk state
get_account_set_account_switch_precheckPrecheck account mode switch
get_account_spot_borrow_repay_historyGet spot borrow and repay history
get_account_subaccount_balancesGet sub-account trading balances
get_account_subaccount_max_withdrawalGet sub-account maximum withdrawals
get_account_subtypesGet account bill subtypes
get_account_trade_feeGet account trade fee rates
get_asset_asset_valuationGet asset valuation
get_asset_balancesGet asset balances
get_asset_billsGet asset bills
get_asset_bills_historyGet asset bills history
get_asset_convert_currenciesGet convert currencies
get_asset_convert_currency_pairGet convert currency pair
get_asset_convert_historyGet convert history
get_asset_currenciesGet funding currencies
get_asset_deposit_addressGet deposit address
get_asset_deposit_historyGet asset deposit history
get_asset_deposit_withdraw_statusGet deposit or withdrawal status
get_asset_exchange_listGet exchange list
get_asset_non_tradable_assetsGet non-tradable assets
get_asset_transfer_stateGet asset transfer state
get_asset_withdrawal_historyGet asset withdrawal history
get_copy_trade_configGet copy trading config
get_copy_trade_current_subposGet current copy trading subpositions
get_copy_trade_historical_subposGet historical copy trading subpositions
get_copy_trade_instrumentsGet copy trading instruments
get_copy_trade_my_leadersGet my lead traders
get_copy_trade_profit_sharing_detailsGet profit sharing details
get_copy_trade_public_configGet public copy trading config
get_copy_trade_public_copy_tradersGet public copy trader summary
get_copy_trade_public_current_subpositionsGet public current copy trading subpositions
get_copy_trade_public_lead_tradersGet public lead trader ranks
get_copy_trade_public_pnlGet public copy trading pnl
get_copy_trade_public_preference_currencyGet public preference currencies
get_copy_trade_public_statsGet public copy trading stats
get_copy_trade_public_subpositions_historyGet public historical copy trading subpositions
get_copy_trade_public_weekly_pnlGet public copy trading weekly pnl
get_copy_trade_settingsGet copy trading settings
get_copy_trade_total_profit_sharingGet total profit sharing
get_copy_trade_total_unrealized_profit_sharingGet total unrealized profit sharing
get_copy_trade_unrealized_profit_sharing_detailsGet unrealized profit sharing details
get_market_block_tickerGet block ticker
get_market_block_tickersGet block tickers
get_market_booksGet order book
get_market_candlesGet recent market candles
get_market_exchange_rateGet exchange rate
get_market_history_candlesGet historical market candles
get_market_history_index_candlesGet historical index candles
get_market_history_mark_price_candlesGet historical mark price candles
get_market_history_tradesGet historical public trades
get_market_index_candlesGet recent index candles
get_market_index_componentsGet index components
get_market_index_tickersGet index tickers
get_market_mark_price_candlesGet mark price candles
get_market_option_instrument_family_tradesGet option trades by instrument family
get_market_platform_24_volumeGet platform 24-hour volume
get_market_tickerGet market ticker
get_market_tickersGet market tickers
get_market_tradesGet recent public trades
get_public_block_tradesGet public block trades
get_public_convert_contract_coinConvert between contract size and currency amount
get_public_delivery_exercise_historyGet delivery or exercise history
get_public_discount_rate_interest_free_quotaGet collateral discount rate and interest-free quota
get_public_economic_calendarGet economic calendar
get_public_estimated_priceGet estimated delivery or exercise price
get_public_estimated_settlement_infoGet estimated settlement info
get_public_funding_rateGet current funding rate
get_public_funding_rate_historyGet funding rate history
get_public_instrumentsGet instrument metadata
get_public_instrument_tick_bandsGet option instrument tick bands
get_public_insurance_fundGet security fund balance information
get_public_interest_rate_loan_quotaGet interest rate and loan quota
get_public_mark_priceGet current mark price
get_public_open_interestGet open interest
get_public_option_tradesGet public option trades
get_public_opt_summaryGet option summary
get_public_position_tiersGet public position tiers
get_public_premium_historyGet premium history
get_public_price_limitGet price limit
get_public_settlement_historyGet settlement history
get_public_timeGet OKX system time
get_public_underlyingGet underlying list
get_trade_account_rate_limitGet trade account rate limit
get_trade_easy_convert_currency_listGet easy convert currency list
get_trade_easy_convert_historyGet easy convert history
get_trade_fillsGet trade fills
get_trade_fills_historyGet trade fills history
get_trade_one_click_repay_currency_listGet one-click repay currency list
get_trade_one_click_repay_currency_list_v2Get one-click repay currency list v2
get_trade_one_click_repay_historyGet one-click repay history
get_trade_one_click_repay_history_v2Get one-click repay history v2
get_trade_orderGet trade order details
get_trade_order_algoGet a single algo order
get_trade_orders_algo_historyGet algo order history
get_trade_orders_algo_pendingGet pending algo orders
get_trade_orders_historyGet trade orders history
get_trade_orders_history_7dGet trade orders history (last 7 days)
get_trade_orders_history_archiveGet archived trade orders history
get_trade_orders_pendingGet all pending trade orders
get_var_labelRetrieve variable labels from OKX data frames
okxr-packageokxr: R Interface to the OKX REST API
post_account_account_level_switch_presetPreset Account Level Switch
post_account_mmp_configConfigure MMP
post_account_mmp_resetReset MMP Status
post_account_move_positionsMove Positions Between Accounts
post_account_position_margin_balanceAdjust Position Margin Balance
post_account_set_account_levelSet Account Level
post_account_set_auto_loanSet Account Auto Loan
post_account_set_auto_repaySet Account Auto Repay
post_account_set_collateral_assetsSet Account Collateral Assets
post_account_set_fee_typeSet Account Fee Type
post_account_set_greeksSet Account Greeks Display Type
post_account_set_leverageSet Account Leverage
post_account_set_position_modeSet Account Position Mode
post_account_spot_manual_borrow_repaySubmit Spot Manual Borrow or Repay
post_asset_cancel_withdrawalCancel an Asset Withdrawal
post_asset_convert_estimate_quoteEstimate an Asset Convert Quote
post_asset_convert_tradeExecute an Asset Convert Trade
post_asset_transferTransfer Assets
post_asset_withdrawalSubmit an Asset Withdrawal
post_trade_amend_algosAmend an Algo Order
post_trade_amend_batch_ordersAmend Multiple Trade Orders
post_trade_amend_orderAmend a Trade Order
post_trade_batch_ordersPlace Multiple Trade Orders
post_trade_cancel_algosCancel Multiple Algo Orders
post_trade_cancel_all_afterSet Cancel-All-After
post_trade_cancel_batch_ordersCancel Multiple Trade Orders
post_trade_cancel_orderCancel a Trade Order
post_trade_close_positionClose a Position
post_trade_mass_cancelMass Cancel MMP Orders
post_trade_orderPlace a Trade Order
post_trade_order_precheckPrecheck a Trade Order
set_okxr_optionsSet or get okxr options
okxr documentation built on May 8, 2026, 5:09 p.m.