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.
-
Notifications
You must be signed in to change notification settings - Fork 1
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
mikhailklassen/portfolio
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published