Request the Binance API
binance_query(
endpoint,
method = c("GET", "POST", "PUT", "DELETE"),
params = list(),
body = NULL,
sign = FALSE,
retry = method == "GET",
content_as = "parsed"
)
string
HTTP request method
URL parameters provided as a list
body of the request
if signature required
allow retrying the query on failure
parameter to httr::content
R object