R Interface to the 'OKX' REST API


[Up] [Top]

Documentation for package ‘okxr’ version 0.2.4

Help Pages

okxr-package okxr: R Interface to the OKX REST API
.build_request Build a full OKX request object
.execute_get_action Execute a GET request to OKX
.execute_post_action Execute a POST request to OKX
.get_headers Create OKX API request headers
get_account_balance Get account balance
get_account_bills Get account bills
get_account_bills_archive Get archived account bills
get_account_config Get account configuration
get_account_leverage_info Get account leverage settings
get_account_positions Get account open positions
get_account_positions_history Get account position history
get_asset_balances Get asset balances
get_asset_currencies Get funding currencies
get_asset_deposit_address Get deposit address
get_asset_deposit_history Get asset deposit history
get_asset_withdrawal_history Get asset withdrawal history
get_copy_trade_current_subpos Get current copy trading subpositions
get_copy_trade_historical_subpos Get historical copy trading subpositions
get_copy_trade_my_leaders Get my lead traders
get_copy_trade_settings Get copy trading settings
get_market_books Get order book
get_market_candles Get recent market candles
get_market_history_candles Get historical market candles
get_market_history_trades Get historical public trades
get_market_ticker Get market ticker
get_market_tickers Get market tickers
get_market_trades Get recent public trades
get_public_funding_rate Get current funding rate
get_public_funding_rate_history Get funding rate history
get_public_instruments Get instrument metadata
get_public_mark_price Get current mark price
get_public_open_interest Get open interest
get_public_price_limit Get price limit
get_public_time Get OKX system time
get_trade_fills Get trade fills
get_trade_fills_history Get trade fills history
get_trade_order Get trade order details
get_trade_orders_history_7d Get trade orders history (last 7 days)
get_trade_orders_pending Get all pending trade orders
get_var_label Retrieve variable labels from OKX data frames
okxr okxr: R Interface to the OKX REST API
post_account_set_leverage Set Account Leverage
post_trade_cancel_order Cancel a Trade Order
post_trade_close_position Close a Position
post_trade_order Place a Trade Order
set_okxr_options Set or get okxr options