Class that implements the API methods for the Binance USDT-M Futures API.
Super classes
binance::Binance
-> binance::BinanceFutures
-> BinanceFuturesUSDTM
Methods
Inherited methods
binance::Binance$check_server_time()
binance::Binance$get_exchange_info()
binance::Binance$kline()
binance::Binance$old_trade_lookup()
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::Binance$ticker_stats_24hr()
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
BinanceFuturesUSDTM$new(testnet = FALSE)
Method funding_rate_history()
Usage
BinanceFuturesUSDTM$funding_rate_history(
symbol = NULL,
start_time = NULL,
end_time = NULL,
limit = 100
)
Method open_interest_stats()
Usage
BinanceFuturesUSDTM$open_interest_stats(
symbol,
period,
limit = 30,
start_time = NULL,
end_time = NULL
)
Arguments
symbol
(
character
) the trading symbol.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
BinanceFuturesUSDTM$top_ls_ratio_accounts(
symbol,
period,
limit = 30,
start_time = NULL,
end_time = NULL
)
Arguments
symbol
(
character
) the trading symbol.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
BinanceFuturesUSDTM$top_ls_ratio_positions(
symbol,
period,
limit = 30,
start_time = NULL,
end_time = NULL
)
Arguments
symbol
(
character
) the trading symbol.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()
Usage
BinanceFuturesUSDTM$ls_ratio(
symbol,
period,
limit = 30,
start_time = NULL,
end_time = NULL
)
Arguments
symbol
(
character
) the trading symbol.period
(
character
) the period for the 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 long/short ratio in epoch milliseconds.end_time
(
numeric
) the end time for the long/short ratio in epoch milliseconds.
Method taker_buy_sell_volume()
Usage
BinanceFuturesUSDTM$taker_buy_sell_volume(
symbol,
period,
limit = 30,
start_time = NULL,
end_time = NULL
)
Arguments
symbol
(
character
) the trading symbol.period
(
character
) the period for the taker buy/sell volume. 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 taker buy/sell volume in epoch milliseconds.end_time
(
numeric
) the end time for the taker buy/sell volume in epoch milliseconds.
Method bltv_kline()
Usage
BinanceFuturesUSDTM$bltv_kline(
symbol,
interval,
start_time = NULL,
end_time = NULL,
limit = 500
)
Arguments
symbol
(
character
) the trading symbol.interval
(
character
) the interval for the klines.start_time
(
numeric
) the start time for the klines in epoch milliseconds.end_time
(
numeric
) the end time for the klines in epoch milliseconds.limit
(
integer
) the number of results to return. Default is500
; max is1500
.