altheanabila / Converting-Prices-Into-Returns

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Converting-Prices-Into-Returns

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.

  1. First thing we do, we need to import and install the related libraries

textimage

  1. Download the data and keep the adjusted closing price only

textimage

  1. Convert adjusted close prices to simple and log returns

textimage

  1. Running the Output

textimage

About


Languages

Language:Jupyter Notebook 100.0%