cancel_order: Cancel Specific Order by ID for Account

View source: R/cancel_order.R

cancel_orderR Documentation

Cancel Specific Order by ID for Account

Description

Given the tokens object from the 'get_authentication_tokens' function, the encrypted account ID, and the order ID, cancel the specific order.

Usage

cancel_order(tokens, account_number, order_id)

Arguments

tokens

token object from 'get_authentication_tokens' function (list).

account_number

encrypted ID of the account (string).

order_id

order ID for the order (numeric).

Value

Returns a message informing the user if cancellation was successful or if there was an error.

Author(s)

Nick Bultman, njbultman74@gmail.com, July 2024


charlesschwabapi documentation built on April 4, 2025, 2:19 a.m.