This repository provides illustration for section 5 and appendix B of papar Asset Pricing under Smooth Ambiguity in Continuous Time by Lars Peter Hansen and Jianjun Miao. The lastest version of this paper can be accessed through [this link](#link to be filled).
Check out online demonstration:
This repository is maintained by Suri Chen1 and Zhenhuan Xie2. Contact them if you have any questions.
Python == 3.8.x
, package manager such as pip
, and jupyter notebook
to checkout the notebooks.
To go to the documentation of this project, please go to: Asset Pricing under Smooth Ambiguity in Continuous Time.
This project has been tested in an environment with
Python == 3.8.8
andjupyter notebook == 6.4.5
I. To try the jupyter notebook on Google Colab:
II. To store the notebook as well as codes in your local machine. You can do this by following steps below:
-
Open a Windows command prompt, Mac terminal or Linux terminal and change into the folder you would like to store the files.
- You can do this using the command
cd
in the command prompt (on Windows) or terminal (on Mac and Linux).- For example, running
cd 'C:\Users\username\python'
(don’t forget '' around the path name to use an absolute path) would lead me to my designated folder.
- For example, running
cd [folder path name]
- You can do this using the command
-
Clone the github repository for the paper
- If you don’t have github installed, try installing it from this page: https://git-scm.com/download.
- You can do this by running below in the command prompt:
git clone https://github.com/SuriChen1028/PortfolioChoice.git
-
Change directories into the ‘Wrestling’ folder and install the required packages for the current user or your initiated virtual environment:
cd PortfolioChoice pip install -r requirements.txt
-
Access the notebooks, run the following under the folder
PortfolioChoice/
:jupyter notebook