Create your own mock stock portfolio, complete with a P/L statement in Python.The goal of this final project is to be able to pretend to buy and sell stock with real stock data; while recording your


Create your own mock stock portfolio, complete with a P/L  statement in Python.The goal of this final project is to be able to pretend to buy and sell stock with real stock data; while recording your transaction histories and presenting that information to a user in the form of a P & L statement.Rubric is as follows20% – Able to get real time stock data – Allows you to mock buy/sell stock using tickers and share amount20% – Saves your P & L data between running your program  (For beginners, I suggest using pandas.DataFrame.to_csv or sqlite3) (google it)20% – Creates a decent P & L with the columns DATE, TICKER, PRICE, SHARES, BALANCE 20% – Program runs smoothly (doesn’t crash, output is aesthetically pleasant to look at)10% – Comments within code, code is well structured and easy to look at10% – Methods used in Script are contained within a Class