Skip to content
/ gainz Public

Calculates returns of various equities available on AlphaVantage

License

Notifications You must be signed in to change notification settings

jwfu/gainz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gainz

Calculates returns of equities available on AlphaVantage.

Installation

pip install gainz-jwf

Usage

You'll need to get your own API key from AlphaVantage here.

import gainz

apiKey = 'TXVAQ58GJA0KFLAC'
ticker = 'ivv'
startDate = dt.datetime(2017,8,31)
endDate = dt.datetime(2020,8,31)

gainz.totalReturn(startDate, endDate, ticker, apiKey)

About

Calculates returns of various equities available on AlphaVantage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages