Skip to content

danielsoneg/stonks_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stonks_api

APIs to generate bad financial advice.

APIs

/spcomp

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.

Usage:

The APIs are set up to be deployed as lambdas on AWS. Use AWS SAM to deploy.

Requirements:

You will need a Tradier API token from https://developer.tradier.com

Deploying

sam build; sam deploy --parameter-overrides 'TradierApiToken=<TRADIER_TOKEN>'

About

APIs to generate bad financial advice.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages