etrd_alert_detail {etrader} | R Documentation |
ETrade Alert Details
Description
Get the details for a specific alert based on the alert ID
Usage
etrd_alert_detail(
alertId,
access_tokens = NULL,
etrade_cred = NULL,
sandbox = FALSE
)
Arguments
alertId |
An alert id that comes from |
access_tokens |
Access tokens are created using
|
etrade_cred |
The output created from
|
sandbox |
ETRADE offers a sandbox environment for validating API calls and responses. If using the sandbox environment, this must be set to TRUE in each function called throughout etrader. ETRADE states "Sandbox responses use stored data that's intended to provide typical responses for basic use cases. So the responses you receive will not contain current data, and may not exactly match your requests in other ways." Essentially, the responses will not match the requests entered but successful pull will indicate whether the entry was valid or not. |
Value
the alert details in list form
Examples
## Not run:
# Get an alert detail for a specific account and alert
account_id = etrd_account_list()$accountIdKey[1]
alert_id = etrd_alerts(account_id)$id[1]
etrd_alert_detail(alert_id)
## End(Not run)