ftx_modify_order: FTX Modify Order

ftx_modify_orderR Documentation

FTX Modify Order

Description

Modifies an order's size and price

Usage

ftx_modify_order(
  key,
  secret,
  subaccount,
  order_id,
  size,
  price,
  ...,
  tz = "GMT"
)

Arguments

key

A client's key

secret

A client's secret

subaccount

A client's subaccount

order_id

Numeric value of order ID

size

Size of order

price

Price of order

...

Additional parameters to pass to API request

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_modify_order(key="", secret="", subaccount=NA, order_id=1234, size=2, price=1)

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