Class that implements the API methods for the Binance Coin-M Futures API.
Super classes
binance::Binance -> binance::BinanceFutures -> BinanceFuturesCoinM
Methods
Inherited methods
binance::Binance$check_server_time()binance::Binance$get_exchange_info()binance::Binance$kline()binance::Binance$order_book()binance::Binance$price_ticker()binance::Binance$print()binance::Binance$recent_trades_list()binance::Binance$sign_in()binance::Binance$test_connectivity()binance::BinanceFutures$aggregate_trades()binance::BinanceFutures$basis()binance::BinanceFutures$continuous_kline()binance::BinanceFutures$index_constituents()binance::BinanceFutures$index_price_klines()binance::BinanceFutures$mark_price_klines()binance::BinanceFutures$open_interest()binance::BinanceFutures$order_book_ticker()binance::BinanceFutures$premium_index_klines()binance::BinanceFutures$quarterly_settlement_price()
Method new()
Usage
BinanceFuturesCoinM$new(testnet = FALSE)Method funding_rate()
Method open_interest_stats()
Usage
BinanceFuturesCoinM$open_interest_stats(
pair,
contract_type,
period,
limit = 30,
start_time = NULL,
end_time = NULL
)Arguments
pair(
character) the trading pair.contract_type(
character) the contract type. Possible values: "CURRENT_QUARTER", "NEXT_QUARTER", "PERPETUAL"period(
character) the period for the open interest statistics. Possible values: "5m", "15m", "30m", "1h", "2h", "4h", "6h", "12h", "1d"limit(
integer) the number of results to return. Default is30; max is500.start_time(
numeric) the start time for the open interest statistics in epoch milliseconds.end_time(
numeric) the end time for the open interest statistics in epoch milliseconds.
Method top_ls_ratio_accounts()
Usage
BinanceFuturesCoinM$top_ls_ratio_accounts(
pair,
period,
limit = 30,
start_time = NULL,
end_time = NULL
)Arguments
pair(
character) the trading pair.period(
character) the period for the top trader long/short ratio. Possible values: "5m", "15m", "30m", "1h", "2h", "4h", "6h", "12h", "1d"limit(
integer) the number of results to return. Default is30; max is500.start_time(
numeric) the start time for the top trader long/short ratio in epoch milliseconds.end_time(
numeric) the end time for the top trader long/short ratio in epoch milliseconds.
Method top_ls_ratio_positions()
Usage
BinanceFuturesCoinM$top_ls_ratio_positions(
pair,
period,
limit = 30,
start_time = NULL,
end_time = NULL
)Arguments
pair(
character) the trading pair.period(
character) the period for the top trader long/short ratio. Possible values: "5m", "15m", "30m", "1h", "2h", "4h", "6h", "12h", "1d"limit(
integer) the number of results to return. Default is30; max is500.start_time(
numeric) the start time for the top trader long/short ratio in epoch milliseconds.end_time(
numeric) the end time for the top trader long/short ratio in epoch milliseconds.
Method ls_ratio()
Arguments
pair(
character) the trading pair.period(
character) the period for the top trader long/short ratio. Possible values: "5m", "15m", "30m", "1h", "2h", "4h", "6h", "12h", "1d"limit(
integer) the number of results to return. Default is30; max is500.start_time(
numeric) the start time for the top trader long/short ratio in epoch milliseconds.end_time(
numeric) the end time for the top trader long/short ratio in epoch milliseconds.
Method taker_buy_sell_volume()
Usage
BinanceFuturesCoinM$taker_buy_sell_volume(
pair,
contract_type,
period,
limit = 30,
start_time = NULL,
end_time = NULL
)Arguments
pair(
character) the trading pair.contract_type(
character) the contract type. Possible values: "CURRENT_QUARTER", "NEXT_QUARTER", "PERPETUAL"period(
character) the period for the top trader long/short ratio. Possible values: "5m", "15m", "30m", "1h", "2h", "4h", "6h", "12h", "1d"limit(
integer) the number of results to return. Default is30; max is500.start_time(
numeric) the start time for the top trader long/short ratio in epoch milliseconds.end_time(
numeric) the end time for the top trader long/short ratio in epoch milliseconds.