ftx_cancel_order_clientid: FTX Cancel Order by Client ID

ftx_cancel_order_clientidR Documentation

FTX Cancel Order by Client ID

Description

Queues an order for cancellation using the client ID instead of the order ID

Usage

ftx_cancel_order_clientid(key, secret, subaccount, client_id, ...)

Arguments

key

A client's key

secret

A client's secret

subaccount

A client's subaccount

client_id

Character string of client order ID

...

Additional parameters to pass to API request

Value

A list of three elements: a logical vector success: FALSE/TRUE, failure_reason: reason for failure if success is FALSE, NA otherwise, result: if success is TRUE: "Order queued for cancellation"

Examples

ftx_cancel_order_clientid(key="", secret="", subaccount=NA, client_id="order1")

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