APIs to generate bad financial advice.
Compare a stock's performance to the S&P Index
Params:
- symbol - Required. the symbol to compare
- days - Optional, default 365. Number of calendar days to compare
Output: PNG graph of the cumulative returns and difference.
The APIs are set up to be deployed as lambdas on AWS. Use AWS SAM to deploy.
You will need a Tradier API token from https://developer.tradier.com
sam build; sam deploy --parameter-overrides 'TradierApiToken=<TRADIER_TOKEN>'