ftx_orderbook: FTX Orderbook

ftx_orderbookR Documentation

FTX Orderbook

Description

Returns the orderbook for the market specified

Usage

ftx_orderbook(key, secret, ..., market = NA, depth = 5)

Arguments

key

A client's key (deprecated)

secret

A client's secret (deprecated)

...

Additional parameters to pass to API request

market

Name of market (required)

depth

Market depth. Min 1, Max 100, default 5

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_orderbook(market = "1INCH/USD", depth = 10)

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