This time, I would like to run a simulation in Jupyter Notebook to convert stock price of Amazon into simple and log returns using Python in Jupyter Notebook.
- First thing we do, we need to import and install the related libraries
- Download the data and keep the adjusted closing price only
- Convert adjusted close prices to simple and log returns
- Running the Output