Package: binxr 0.1.1

Oliver Zhou

binxr: 'Binance' REST API Client

Client for the 'Binance' <https://www.binance.com/> Spot, 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.

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

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

# Install 'binxr' in R:
install.packages('binxr', repos = c('https://cran.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:

1.70 score 140 exports 17 dependencies

Last updated from:1cf85369ef. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK121
source / vignettesOK161
linux-release-x86_64OK122
wasm-releaseOK119

Exports:binxr_config_futuresbinxr_config_optionsbinxr_config_spotcancel_fapi_trade_ordercancel_fapi_trade_orders_allcoerce_account_framesconfig_futuresconfig_optionsconfig_spotfutures_cancel_all_ordersfutures_cancel_orderfutures_countdown_cancel_allfutures_get_24hr_tickerfutures_get_accountfutures_get_account_summaryfutures_get_account_tradesfutures_get_aggregate_tradesfutures_get_balancefutures_get_book_tickerfutures_get_commission_ratefutures_get_continuous_klinesfutures_get_exchange_infofutures_get_force_ordersfutures_get_funding_infofutures_get_funding_rate_historyfutures_get_index_price_klinesfutures_get_klinesfutures_get_mark_pricefutures_get_mark_price_klinesfutures_get_multi_assets_modefutures_get_open_interestfutures_get_open_ordersfutures_get_orderfutures_get_order_bookfutures_get_order_rate_limitfutures_get_ordersfutures_get_position_modefutures_get_position_riskfutures_get_positionsfutures_get_premium_index_klinesfutures_get_recent_tradesfutures_get_server_timefutures_get_ticker_pricefutures_pingfutures_place_orderfutures_set_leveragefutures_set_margin_typefutures_set_multi_assets_modefutures_set_position_modefutures_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_cancel_all_ordersoptions_cancel_all_orders_by_underlyingoptions_cancel_orderoptions_get_24hr_tickeroptions_get_account_tradesoptions_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_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_pingoptions_place_orderplace_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_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.tabledigestgluehttr2jsonlitelifecyclemagrittropensslR6rappdirsrlangsysvctrswithr

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 all open Binance Futures orders for a symbolcancel_fapi_trade_orders_all futures_cancel_all_orders
Cancel a Binance Futures ordercancel_fapi_trade_order futures_cancel_order
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 summaryfutures_get_account_summary get_fapi_account_summary
Get Binance Futures account tradesfutures_get_account_trades
Get Binance Futures aggregate tradesfutures_get_aggregate_trades
Get Binance Futures balancesfutures_get_balance
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 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 index price klinesfutures_get_index_price_klines
Get Binance Futures klinesfutures_get_klines get_fapi_klines
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 Binance Futures open interestfutures_get_open_interest
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 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 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 server timefutures_get_server_time get_fapi_system_time
Get Binance Futures ticker pricefutures_get_ticker_price
Test Binance Futures connectivityfutures_ping
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
Test a Binance Futures orderfutures_test_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 a Binance Options orderoptions_cancel_order
Get Binance Options 24hr ticker statisticsoptions_get_24hr_ticker
Get Binance Options account tradesoptions_get_account_trades
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 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
Test Binance Options connectivityoptions_ping
Place a Binance Options orderoptions_place_order
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 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