Refactored to smaller functions
Don't commit the portfolio and ticker files.