Returns the base URL for the Binance USD-M Futures API in the following priority:
The explicitly provided
urlparameter.The
BINANCE_FUTURES_API_ENDPOINTenvironment variable.The default
"https://fapi.binance.com".
Usage
get_futures_base_url(url = Sys.getenv("BINANCE_FUTURES_API_ENDPOINT"))