ftx_my_spot_borrow_history: FTX Spot Borrow History

ftx_my_spot_borrow_historyR Documentation

FTX Spot Borrow History

Description

Returns the coin borrow history for the user

Usage

ftx_my_spot_borrow_history(
  key,
  secret,
  subaccount,
  ...,
  start_time = NA,
  end_time = NA,
  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

start_time

Optional parameter. POSIXct value from when to extract trades.

end_time

Optional parameter. POSIXct value up-to when to extract trades.

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_my_spot_borrow_history(key="", secret="", subaccount=NA)

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