Package: binxr 0.1.2.9000

binxr: 'Binance' REST API Client

Client for the 'Binance' <https://www.binance.com/> Spot, USD-M Futures, and Options REST APIs. Provides helper functions for signed and unsigned requests, market data retrieval, account access, and order management with 'data.table' output by default. COIN-M Futures, Portfolio Margin, WebSocket, SBE, and FIX APIs are not included.

Authors:Oliver Zhou [aut, cre], Lily Li [aut]

binxr_0.1.2.9000.tar.gz
binxr_0.1.2.9000.zip(r-4.7-any)binxr_0.1.2.9000.zip(r-4.6-any)binxr_0.1.2.9000.zip(r-4.5-any)
binxr_0.1.2.9000.tgz(r-4.6-any)binxr_0.1.2.9000.tgz(r-4.5-any)
binxr_0.1.2.9000.tar.gz(r-4.7-any)binxr_0.1.2.9000.tar.gz(r-4.6-any)
binxr_0.1.2.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
binxr/json (API)

# Install 'binxr' in R:
install.packages('binxr', repos = c('https://oliverlds.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/oliverlds/binxr/issues

Pkgdown/docs site:https://oliverlds.github.io

On CRAN:

Conda:

3.60 score 355 downloads 195 exports 16 dependencies

Last updated from:52d7117ecd. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK110
source / vignettesOK187
linux-releaseOK122
macos-releaseOK124
macos-oldrelOK101
windows-develOK82
windows-releaseOK76
windows-oldrelOK68
wasm-releaseOK79

Exports:binxr_config_futuresbinxr_config_optionsbinxr_config_spotcancel_fapi_trade_ordercancel_fapi_trade_orders_allcoerce_account_framesconfig_futuresconfig_optionsconfig_spotfutures_cancel_algo_orderfutures_cancel_all_algo_ordersfutures_cancel_all_ordersfutures_cancel_batch_ordersfutures_cancel_orderfutures_close_user_data_streamfutures_countdown_cancel_allfutures_get_24hr_tickerfutures_get_accountfutures_get_account_configfutures_get_account_summaryfutures_get_account_tradesfutures_get_adl_quantilefutures_get_aggregate_tradesfutures_get_algo_orderfutures_get_algo_ordersfutures_get_api_trading_statusfutures_get_asset_indexfutures_get_balancefutures_get_basisfutures_get_book_tickerfutures_get_commission_ratefutures_get_continuous_klinesfutures_get_delivery_pricesfutures_get_exchange_infofutures_get_force_ordersfutures_get_funding_infofutures_get_funding_rate_historyfutures_get_global_long_short_ratiofutures_get_historical_tradesfutures_get_income_historyfutures_get_index_constituentsfutures_get_index_infofutures_get_index_price_klinesfutures_get_insurance_balancefutures_get_klinesfutures_get_leverage_bracketsfutures_get_mark_pricefutures_get_mark_price_klinesfutures_get_multi_assets_modefutures_get_open_algo_ordersfutures_get_open_interestfutures_get_open_interest_historyfutures_get_open_orderfutures_get_open_ordersfutures_get_orderfutures_get_order_amendmentsfutures_get_order_bookfutures_get_order_rate_limitfutures_get_ordersfutures_get_position_margin_historyfutures_get_position_modefutures_get_position_riskfutures_get_positionsfutures_get_premium_index_klinesfutures_get_recent_tradesfutures_get_rpi_depthfutures_get_server_timefutures_get_symbol_adl_riskfutures_get_symbol_configfutures_get_taker_buy_sell_volumefutures_get_ticker_pricefutures_get_top_long_short_account_ratiofutures_get_top_long_short_position_ratiofutures_get_trading_schedulefutures_keepalive_user_data_streamfutures_modify_batch_ordersfutures_modify_orderfutures_modify_position_marginfutures_pingfutures_place_algo_orderfutures_place_batch_ordersfutures_place_orderfutures_set_leveragefutures_set_margin_typefutures_set_multi_assets_modefutures_set_position_modefutures_start_user_data_streamfutures_test_orderget_fapi_accountget_fapi_account_position_riskget_fapi_account_positionsget_fapi_account_summaryget_fapi_exchange_infoget_fapi_klinesget_fapi_mark_priceget_fapi_system_timeget_fapi_trade_open_ordersget_fapi_trade_orderget_fapi_trade_ordersget_spot_mark_priceoptions_accept_block_trade_orderoptions_cancel_all_ordersoptions_cancel_all_orders_by_underlyingoptions_cancel_batch_ordersoptions_cancel_block_trade_orderoptions_cancel_orderoptions_close_user_data_streamoptions_extend_block_trade_orderoptions_get_24hr_tickeroptions_get_account_block_tradesoptions_get_account_tradesoptions_get_block_trade_detailsoptions_get_block_trade_ordersoptions_get_commissionoptions_get_exchange_infooptions_get_exercise_historyoptions_get_exercise_recordsoptions_get_funding_flowoptions_get_index_priceoptions_get_klinesoptions_get_margin_accountoptions_get_mark_priceoptions_get_market_maker_protectionoptions_get_open_interestoptions_get_open_ordersoptions_get_orderoptions_get_order_bookoptions_get_order_historyoptions_get_positionsoptions_get_recent_block_tradesoptions_get_recent_tradesoptions_get_server_timeoptions_keepalive_user_data_streamoptions_pingoptions_place_batch_ordersoptions_place_block_trade_orderoptions_place_orderoptions_reset_market_maker_protectionoptions_set_market_maker_protectionoptions_sign_stock_contractoptions_start_user_data_streamplace_fapi_trade_orderround_price_qtyset_fapi_account_leverageset_fapi_account_margin_typeset_fapi_account_position_sidespot_amend_order_keep_priorityspot_cancel_all_ordersspot_cancel_orderspot_cancel_order_listspot_cancel_replace_orderspot_get_24hr_tickerspot_get_accountspot_get_account_tradesspot_get_aggregate_tradesspot_get_all_order_listsspot_get_allocationsspot_get_average_pricespot_get_book_tickerspot_get_commission_ratesspot_get_exchange_infospot_get_execution_rulesspot_get_historical_block_tradesspot_get_historical_tradesspot_get_klinesspot_get_open_order_listsspot_get_open_ordersspot_get_orderspot_get_order_amendmentsspot_get_order_bookspot_get_order_listspot_get_ordersspot_get_prevented_matchesspot_get_recent_tradesspot_get_reference_pricespot_get_reference_price_calculationspot_get_relevant_filtersspot_get_rolling_window_tickerspot_get_server_timespot_get_ticker_pricespot_get_trading_day_tickerspot_get_ui_klinesspot_get_unfilled_order_countspot_pingspot_place_oco_orderspot_place_orderspot_place_order_list_ocospot_place_order_list_opospot_place_order_list_opocospot_place_order_list_otospot_place_order_list_otocospot_place_sor_orderspot_test_orderspot_test_sor_orderutil_round_price_qty

Dependencies:askpassclicurldata.tabledigestgluehttr2jsonlitelifecyclemagrittropensslR6rlangsysvctrswithr

Readme and manuals

Help Manual

Help pageTopics
Backward-compatible futures config constructorbinxr_config_futures
Backward-compatible options config constructorbinxr_config_options
Backward-compatible spot config constructorbinxr_config_spot
(Optional) Coerce account to data.framescoerce_account_frames
Create a Binance futures configurationconfig_futures
Create a Binance options configurationconfig_options
Create a Binance spot configurationconfig_spot
Cancel a Binance Futures algo orderfutures_cancel_algo_order
Cancel all open Binance Futures algo ordersfutures_cancel_all_algo_orders
Cancel all open Binance Futures orders for a symbolcancel_fapi_trade_orders_all futures_cancel_all_orders
Cancel multiple Binance Futures ordersfutures_cancel_batch_orders
Cancel a Binance Futures ordercancel_fapi_trade_order futures_cancel_order
Close a Binance Futures user data streamfutures_close_user_data_stream
Set Binance Futures countdown cancel-allfutures_countdown_cancel_all
Get Binance Futures 24hr ticker statisticsfutures_get_24hr_ticker
Get Binance Futures account infofutures_get_account get_fapi_account
Get Binance Futures account configurationfutures_get_account_config
Get Binance Futures account summaryfutures_get_account_summary get_fapi_account_summary
Get Binance Futures account tradesfutures_get_account_trades
Get Binance Futures ADL quantilesfutures_get_adl_quantile
Get Binance Futures aggregate tradesfutures_get_aggregate_trades
Get a Binance Futures algo orderfutures_get_algo_order
Get Binance Futures algo order historyfutures_get_algo_orders
Get Binance Futures API trading statusfutures_get_api_trading_status
Get Binance Futures asset index pricesfutures_get_asset_index
Get Binance Futures balancesfutures_get_balance
Get Binance Futures basis historyfutures_get_basis
Get Binance Futures order book tickerfutures_get_book_ticker
Get Binance Futures commission ratefutures_get_commission_rate
Get Binance Futures continuous contract klinesfutures_get_continuous_klines
Get Binance Futures delivery pricesfutures_get_delivery_prices
Get Binance Futures exchange infofutures_get_exchange_info get_fapi_exchange_info
Get Binance Futures force ordersfutures_get_force_orders
Get Binance Futures funding infofutures_get_funding_info
Get Binance Futures funding rate historyfutures_get_funding_rate_history
Get Binance Futures global long-short account ratiofutures_get_global_long_short_ratio
Get Binance Futures historical tradesfutures_get_historical_trades
Get Binance Futures income historyfutures_get_income_history
Get Binance Futures index constituentsfutures_get_index_constituents
Get Binance Futures composite index informationfutures_get_index_info
Get Binance Futures index price klinesfutures_get_index_price_klines
Get Binance Futures insurance-fund balance snapshotsfutures_get_insurance_balance
Get Binance Futures klinesfutures_get_klines get_fapi_klines
Get Binance Futures leverage bracketsfutures_get_leverage_brackets
Get Binance Futures mark pricefutures_get_mark_price get_fapi_mark_price
Get Binance Futures mark price klinesfutures_get_mark_price_klines
Get Binance Futures multi-assets modefutures_get_multi_assets_mode
Get open Binance Futures algo ordersfutures_get_open_algo_orders
Get Binance Futures open interestfutures_get_open_interest
Get Binance Futures open interest historyfutures_get_open_interest_history
Get a current open Binance Futures orderfutures_get_open_order
Get Binance Futures open ordersfutures_get_open_orders get_fapi_trade_open_orders
Get a Binance Futures orderfutures_get_order get_fapi_trade_order
Get Binance Futures order modification historyfutures_get_order_amendments
Get Binance Futures order bookfutures_get_order_book
Get Binance Futures order rate limitsfutures_get_order_rate_limit
Get Binance Futures order historyfutures_get_orders get_fapi_trade_orders
Get Binance Futures position margin historyfutures_get_position_margin_history
Get Binance Futures position modefutures_get_position_mode
Get Binance Futures position riskfutures_get_position_risk get_fapi_account_position_risk
Get standardized Binance Futures positionsfutures_get_positions get_fapi_account_positions
Get Binance Futures premium index klinesfutures_get_premium_index_klines
Get Binance Futures recent tradesfutures_get_recent_trades
Get Binance Futures RPI order bookfutures_get_rpi_depth
Get Binance Futures server timefutures_get_server_time get_fapi_system_time
Get Binance Futures symbol-level ADL riskfutures_get_symbol_adl_risk
Get Binance Futures symbol configurationfutures_get_symbol_config
Get Binance Futures taker buy-sell volumefutures_get_taker_buy_sell_volume
Get Binance Futures ticker pricefutures_get_ticker_price
Get Binance Futures top-trader long-short account ratiofutures_get_top_long_short_account_ratio
Get Binance Futures top-trader long-short position ratiofutures_get_top_long_short_position_ratio
Get Binance Futures trading schedulesfutures_get_trading_schedule
Keep alive a Binance Futures user data streamfutures_keepalive_user_data_stream
Modify multiple Binance Futures ordersfutures_modify_batch_orders
Modify a Binance Futures limit orderfutures_modify_order
Change Binance Futures position marginfutures_modify_position_margin
Test Binance Futures connectivityfutures_ping
Place a Binance Futures algo orderfutures_place_algo_order
Place multiple Binance Futures ordersfutures_place_batch_orders
Place a Binance Futures orderfutures_place_order place_fapi_trade_order
Set Binance Futures leveragefutures_set_leverage set_fapi_account_leverage
Set Binance Futures margin typefutures_set_margin_type set_fapi_account_margin_type
Set Binance Futures multi-assets modefutures_set_multi_assets_mode
Set Binance Futures position modefutures_set_position_mode set_fapi_account_position_side
Start a Binance Futures user data streamfutures_start_user_data_stream
Test a Binance Futures orderfutures_test_order
Accept a Binance Options block trade orderoptions_accept_block_trade_order
Cancel all Binance Options orders for a symboloptions_cancel_all_orders
Cancel all Binance Options orders by underlyingoptions_cancel_all_orders_by_underlying
Cancel multiple Binance Options ordersoptions_cancel_batch_orders
Cancel a Binance Options block trade orderoptions_cancel_block_trade_order
Cancel a Binance Options orderoptions_cancel_order
Close a Binance Options user data streamoptions_close_user_data_stream
Extend a Binance Options block trade orderoptions_extend_block_trade_order
Get Binance Options 24hr ticker statisticsoptions_get_24hr_ticker
Get Binance Options account block tradesoptions_get_account_block_trades
Get Binance Options account tradesoptions_get_account_trades
Get Binance Options block trade detailsoptions_get_block_trade_details
Get Binance Options block trade ordersoptions_get_block_trade_orders
Get Binance Options user commissionoptions_get_commission
Get Binance Options exchange infooptions_get_exchange_info
Get Binance Options historical exercise recordsoptions_get_exercise_history
Get Binance Options exercise recordsoptions_get_exercise_records
Get Binance Options funding flowoptions_get_funding_flow
Get Binance Options underlying index priceoptions_get_index_price
Get Binance Options klinesoptions_get_klines
Get Binance Options margin account informationoptions_get_margin_account
Get Binance Options mark pricesoptions_get_mark_price
Get Binance Options market maker protection configurationoptions_get_market_maker_protection
Get Binance Options open interestoptions_get_open_interest
Get Binance Options open ordersoptions_get_open_orders
Get a Binance Options orderoptions_get_order
Get Binance Options order bookoptions_get_order_book
Get Binance Options order historyoptions_get_order_history
Get Binance Options positionsoptions_get_positions
Get Binance Options recent block tradesoptions_get_recent_block_trades
Get Binance Options recent tradesoptions_get_recent_trades
Get Binance Options server timeoptions_get_server_time
Keep alive a Binance Options user data streamoptions_keepalive_user_data_stream
Test Binance Options connectivityoptions_ping
Place multiple Binance Options ordersoptions_place_batch_orders
Place a Binance Options block trade orderoptions_place_block_trade_order
Place a Binance Options orderoptions_place_order
Reset Binance Options market maker protectionoptions_reset_market_maker_protection
Set Binance Options market maker protection configurationoptions_set_market_maker_protection
Sign the Binance Options stock contractoptions_sign_stock_contract
Start a Binance Options user data streamoptions_start_user_data_stream
Round price and quantity to exchange incrementsround_price_qty util_round_price_qty
Amend a Binance Spot order while keeping priorityspot_amend_order_keep_priority
Cancel all open Binance Spot orders for a symbolspot_cancel_all_orders
Cancel a Binance Spot orderspot_cancel_order
Cancel a Binance Spot order listspot_cancel_order_list
Cancel and replace a Binance Spot orderspot_cancel_replace_order
Get Binance Spot 24-hour ticker statisticsspot_get_24hr_ticker
Get Binance Spot account informationspot_get_account
Get Binance Spot account tradesspot_get_account_trades
Get Binance Spot aggregate tradesspot_get_aggregate_trades
Get all Binance Spot order listsspot_get_all_order_lists
Get Binance Spot allocationsspot_get_allocations
Get Binance Spot average pricespot_get_average_price
Get Binance Spot book tickerspot_get_book_ticker
Get Binance Spot commission ratesspot_get_commission_rates
Get Binance Spot exchange informationspot_get_exchange_info
Get Binance Spot execution rulesspot_get_execution_rules
Get Binance Spot historical block tradesspot_get_historical_block_trades
Get Binance Spot historical tradesspot_get_historical_trades
Get Binance Spot klinesspot_get_klines
Get Binance Spot open order listsspot_get_open_order_lists
Get Binance Spot open ordersspot_get_open_orders
Get a Binance Spot orderspot_get_order
Get Binance Spot order amendmentsspot_get_order_amendments
Get Binance Spot order bookspot_get_order_book
Get a Binance Spot order listspot_get_order_list
Get Binance Spot order historyspot_get_orders
Get Binance Spot prevented matchesspot_get_prevented_matches
Get Binance Spot recent tradesspot_get_recent_trades
Get Binance Spot reference pricespot_get_reference_price
Get Binance Spot reference price calculation metadataspot_get_reference_price_calculation
Get Binance Spot relevant account filtersspot_get_relevant_filters
Get Binance Spot rolling window ticker statisticsspot_get_rolling_window_ticker
Get Binance Spot server timespot_get_server_time
Get Binance Spot ticker priceget_spot_mark_price spot_get_ticker_price
Get Binance Spot trading day ticker statisticsspot_get_trading_day_ticker
Get Binance Spot UI klinesspot_get_ui_klines
Get Binance Spot unfilled order countsspot_get_unfilled_order_count
Test Binance Spot API connectivityspot_ping
Place a deprecated Binance Spot OCO orderspot_place_oco_order
Place a Binance Spot orderspot_place_order
Place a Binance Spot OCO order listspot_place_order_list_oco
Place a Binance Spot OPO order listspot_place_order_list_opo
Place a Binance Spot OPOCO order listspot_place_order_list_opoco
Place a Binance Spot OTO order listspot_place_order_list_oto
Place a Binance Spot OTOCO order listspot_place_order_list_otoco
Place a Binance Spot SOR orderspot_place_sor_order
Test a Binance Spot orderspot_test_order
Test a Binance Spot SOR orderspot_test_sor_order