An Access Token is required for the functions within 'schwabr' It serves
as a user login to your accounts. The token is valid for 30 minutes
and allows the user to place trades, get account information, get order
history, pull historical stock prices, etc. A Refresh Token is required to
generate an Access Token. schwab_auth2_refreshToken
can be used to
generate a Refresh Token which stays valid for 7 days. The appKey is
generated automatically when an App is registered on the
Schwab Developer site. By default,
the Access Token is stored into options and will automatically be
passed to downstream functions. However, the user can also submit an Access
Token manually if multiple tokens are in use (for example: when managing more
than one log in.)
DISCLOSURE: This software is in no way affiliated, endorsed, or approved by
Charles Schwab or any of its affiliates. It comes with absolutely no warranty
and should not be used in actual trading unless the user can read and
understand the source code. The functions within this package have been
tested under basic scenarios. There may be bugs or issues that could prevent
a user from executing trades or canceling trades. It is also possible trades
could be submitted in error. The user will use this package at their own
risk.