schwab_orderDetail | R Documentation |
Pass an order ID and Account number to get details such as status, quantity, ticker, executions (if applicable), account, etc.
schwab_orderDetail(orderId, account_number, accessTokenList = NULL)
orderId |
A valid Schwab Order ID |
account_number |
A Schwab account number associated with the Access Token |
accessTokenList |
A valid Access Token must be set using the output from
|
list of order details
## Not run:
# Get stored refresh token
refreshToken = readRDS('/secure/location/')
# generate a new access token
accessTokenList = schwab_auth3_accessToken('AppKey', 'AppSecret', refreshToken)
# Get order details for a single order
# Passing Access Token is optional once it's been set
schwab_orderDetail(orderId = 123456789, account_number = 987654321)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.