cancel_order {charlesschwabapi} | R 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
[Package charlesschwabapi version 1.0.2 Index]