Skip to contents

Configuration

config_futures()
Create a Binance futures configuration
config_spot()
Create a Binance spot configuration
config_options()
Create a Binance options configuration
binxr_config_futures()
Backward-compatible futures config constructor
binxr_config_spot()
Backward-compatible spot config constructor
binxr_config_options()
Backward-compatible options config constructor

Futures Market

futures_get_server_time() get_fapi_system_time()
Get Binance Futures server time
futures_ping()
Test Binance Futures connectivity
futures_get_exchange_info() get_fapi_exchange_info()
Get Binance Futures exchange info
futures_get_mark_price() get_fapi_mark_price()
Get Binance Futures mark price
futures_get_klines() get_fapi_klines()
Get Binance Futures klines
futures_get_24hr_ticker()
Get Binance Futures 24hr ticker statistics
futures_get_ticker_price()
Get Binance Futures ticker price
futures_get_book_ticker()
Get Binance Futures order book ticker
futures_get_order_book()
Get Binance Futures order book
futures_get_recent_trades()
Get Binance Futures recent trades
futures_get_aggregate_trades()
Get Binance Futures aggregate trades
futures_get_open_interest()
Get Binance Futures open interest
futures_get_funding_info()
Get Binance Futures funding info
futures_get_funding_rate_history()
Get Binance Futures funding rate history
futures_get_continuous_klines()
Get Binance Futures continuous contract klines
futures_get_index_price_klines()
Get Binance Futures index price klines
futures_get_mark_price_klines()
Get Binance Futures mark price klines
futures_get_premium_index_klines()
Get Binance Futures premium index klines

Futures Account

futures_get_account() get_fapi_account()
Get Binance Futures account info
futures_get_position_risk() get_fapi_account_position_risk()
Get Binance Futures position risk
futures_get_positions() get_fapi_account_positions()
Get standardized Binance Futures positions
futures_get_account_summary() get_fapi_account_summary()
Get Binance Futures account summary
futures_get_balance()
Get Binance Futures balances
futures_get_position_mode()
Get Binance Futures position mode
futures_get_multi_assets_mode()
Get Binance Futures multi-assets mode
futures_get_commission_rate()
Get Binance Futures commission rate
futures_get_order_rate_limit()
Get Binance Futures order rate limits

Futures Trading

futures_set_margin_type() set_fapi_account_margin_type()
Set Binance Futures margin type
futures_set_leverage() set_fapi_account_leverage()
Set Binance Futures leverage
futures_set_position_mode() set_fapi_account_position_side()
Set Binance Futures position mode
futures_place_order() place_fapi_trade_order()
Place a Binance Futures order
futures_test_order()
Test a Binance Futures order
futures_cancel_order() cancel_fapi_trade_order()
Cancel a Binance Futures order
futures_cancel_all_orders() cancel_fapi_trade_orders_all()
Cancel all open Binance Futures orders for a symbol
futures_get_open_orders() get_fapi_trade_open_orders()
Get Binance Futures open orders
futures_get_orders() get_fapi_trade_orders()
Get Binance Futures order history
futures_get_order() get_fapi_trade_order()
Get a Binance Futures order
futures_get_account_trades()
Get Binance Futures account trades
futures_get_force_orders()
Get Binance Futures force orders
futures_set_multi_assets_mode()
Set Binance Futures multi-assets mode
futures_countdown_cancel_all()
Set Binance Futures countdown cancel-all

Spot Market

spot_ping()
Test Binance Spot API connectivity
spot_get_server_time()
Get Binance Spot server time
spot_get_exchange_info()
Get Binance Spot exchange information
spot_get_ticker_price() get_spot_mark_price()
Get Binance Spot ticker price
spot_get_book_ticker()
Get Binance Spot book ticker
spot_get_24hr_ticker()
Get Binance Spot 24-hour ticker statistics
spot_get_trading_day_ticker()
Get Binance Spot trading day ticker statistics
spot_get_rolling_window_ticker()
Get Binance Spot rolling window ticker statistics
spot_get_order_book()
Get Binance Spot order book
spot_get_recent_trades()
Get Binance Spot recent trades
spot_get_historical_trades()
Get Binance Spot historical trades
spot_get_aggregate_trades()
Get Binance Spot aggregate trades
spot_get_klines()
Get Binance Spot klines
spot_get_ui_klines()
Get Binance Spot UI klines
spot_get_average_price()
Get Binance Spot average price
spot_get_reference_price()
Get Binance Spot reference price
spot_get_reference_price_calculation()
Get Binance Spot reference price calculation metadata
spot_get_execution_rules()
Get Binance Spot execution rules
spot_get_relevant_filters()
Get Binance Spot relevant account filters

Spot Account

spot_get_account()
Get Binance Spot account information
spot_get_order()
Get a Binance Spot order
spot_get_open_orders()
Get Binance Spot open orders
spot_get_orders()
Get Binance Spot order history
spot_get_order_list()
Get a Binance Spot order list
spot_get_all_order_lists()
Get all Binance Spot order lists
spot_get_open_order_lists()
Get Binance Spot open order lists
spot_get_account_trades()
Get Binance Spot account trades
spot_get_unfilled_order_count()
Get Binance Spot unfilled order counts
spot_get_prevented_matches()
Get Binance Spot prevented matches
spot_get_allocations()
Get Binance Spot allocations
spot_get_commission_rates()
Get Binance Spot commission rates
spot_get_order_amendments()
Get Binance Spot order amendments

Spot Trading

spot_place_order()
Place a Binance Spot order
spot_test_order()
Test a Binance Spot order
spot_cancel_order()
Cancel a Binance Spot order
spot_cancel_all_orders()
Cancel all open Binance Spot orders for a symbol
spot_cancel_replace_order()
Cancel and replace a Binance Spot order
spot_amend_order_keep_priority()
Amend a Binance Spot order while keeping priority
spot_place_oco_order()
Place a deprecated Binance Spot OCO order
spot_cancel_order_list()
Cancel a Binance Spot order list
spot_place_order_list_oco()
Place a Binance Spot OCO order list
spot_place_order_list_oto()
Place a Binance Spot OTO order list
spot_place_order_list_otoco()
Place a Binance Spot OTOCO order list
spot_place_order_list_opo()
Place a Binance Spot OPO order list
spot_place_order_list_opoco()
Place a Binance Spot OPOCO order list
spot_place_sor_order()
Place a Binance Spot SOR order
spot_test_sor_order()
Test a Binance Spot SOR order

Options Market

options_ping()
Test Binance Options connectivity
options_get_server_time()
Get Binance Options server time
options_get_exchange_info()
Get Binance Options exchange info
options_get_index_price()
Get Binance Options underlying index price
options_get_order_book()
Get Binance Options order book
options_get_recent_trades()
Get Binance Options recent trades
options_get_recent_block_trades()
Get Binance Options recent block trades
options_get_klines()
Get Binance Options klines
options_get_mark_price()
Get Binance Options mark prices
options_get_24hr_ticker()
Get Binance Options 24hr ticker statistics
options_get_open_interest()
Get Binance Options open interest
options_get_exercise_history()
Get Binance Options historical exercise records

Options Account and Trading

options_get_margin_account()
Get Binance Options margin account information
options_place_order()
Place a Binance Options order
options_get_order()
Get a Binance Options order
options_cancel_order()
Cancel a Binance Options order
options_cancel_all_orders()
Cancel all Binance Options orders for a symbol
options_cancel_all_orders_by_underlying()
Cancel all Binance Options orders by underlying
options_get_open_orders()
Get Binance Options open orders
options_get_order_history()
Get Binance Options order history
options_get_account_trades()
Get Binance Options account trades
options_get_positions()
Get Binance Options positions
options_get_commission()
Get Binance Options user commission
options_get_funding_flow()
Get Binance Options funding flow
options_get_exercise_records()
Get Binance Options exercise records

Helpers

round_price_qty() util_round_price_qty()
Round price and quantity to exchange increments
coerce_account_frames()
(Optional) Coerce account to data.frames