Skip to content

Given an input file of stock ticker symbols and a desired ratio of them within a portfolio, calculates the number of shares to buy.

License

Notifications You must be signed in to change notification settings

mikhailklassen/portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

portfolio

Some toy code that reads in a CSV file of ticker symbols and the desired fraction of each in an investment portfolio. After specifying the total cash available to invest and currency using the parameters below, the script uses Yahoo! Finance to retrieve share prices and (if necessary) a currency exchange rate. Given the desired fraction of each share in the portfolio, the script determines the quantity of shares to buy.

About

Given an input file of stock ticker symbols and a desired ratio of them within a portfolio, calculates the number of shares to buy.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages