binance_query: Request the Binance API

Description Usage Arguments Value

View source: R/binance.R

Description

Request the Binance API

Usage

1
2
3
4
5
6
7
8
9
binance_query(
  endpoint,
  method = c("GET", "POST", "PUT", "DELETE"),
  params = list(),
  body = NULL,
  sign = FALSE,
  retry = method == "GET",
  content_as = "parsed"
)

Arguments

endpoint

string

method

HTTP request method

params

URL parameters provided as a list

body

body of the request

sign

if signature required

retry

allow retrying the query on failure

content_as

parameter to httr::content

Value

R object


binancer documentation built on Nov. 30, 2021, 1:07 a.m.