Chris Pollett > Students > Kabra

    Print View

    [Bio]

    [Blog]

    [CS297 Proposal]

    [Deliverable1]

    [Deliverable2]

    [Deliverable3]

    [Deliverable4]

    [CS 297 Report-PDF]

    [CS298 Proposal]

    [CS 298 Report-PDF]

    [CS 298 Presentation-PDF]

























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