ftx_open_orders: FTX Open Orders

ftx_open_ordersR Documentation

FTX Open Orders

Description

Returns information on the open orders for account or subaccount if specified

Usage

ftx_open_orders(key, secret, subaccount, ..., markets = c(), tz = "GMT")

Arguments

key

A client's key

secret

A client's secret

subaccount

A client's subaccount

...

Additional parameters to pass to API request

markets

Vector of names of markets.

tz

Timezone to display times in. Default is GMT.

Value

A list of three elements: a logical vector success: FALSE/TRUE, failure_reason: reason for failure if success is FALSE, NA otherwise, data: a tibble containing the data if success is TRUE

Examples

ftx_open_orders(key="", secret="", subaccount=NA, markets=c('CRV-PERP','XRP-PERP'))

andreskull/rFTX documentation built on Nov. 8, 2022, 2:27 p.m.