ftx_modify_order_clientid: FTX Modify Order by Client ID

ftx_modify_order_clientidR Documentation

FTX Modify Order by Client ID

Description

Modifies an order using the client ID instead of the order ID

Usage

ftx_modify_order_clientid(
  key,
  secret,
  subaccount,
  client_id,
  new_client_id,
  size,
  price,
  ...,
  tz = "GMT"
)

Arguments

key

A client's key

secret

A client's secret

subaccount

A client's subaccount

client_id

Character string of client order ID

new_client_id

Character string of new client 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_clientid(key="", secret="", subaccount=NA, client_id="order1", 
new_client_id="order2", size=2, price=1)

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