Description

For this deliverable, I have predicted return of portfolio of a stock. When a person invests in more than one stock then it creates the portfolio of a stock. People buy, sell, or hold the portfolio based on profit or loss generated from it. In this deliverable, I calculated profit or loss of a portfolio.

I have calculated the return of a stock based on predicted close price for individual stock, and later, summed up all the returns of a stock. If the resulting value is positive, then portfolio is generating profit.

To run the program: Type $ python ./DL4.py

Download Deliverable4.py