Returns the base URL for the Binance API in the following priority:
The explicitly provided
urlparameter.The
BINANCE_API_ENDPOINTenvironment variable.The default
"https://api.binance.com".
Usage
get_base_url(url = Sys.getenv("BINANCE_API_ENDPOINT"))