This repository provides all Python codes and Jupyter Notebooks of the book Python for Finance -- Mastering Data-Driven Finance (2nd edition) by Yves Hilpisch.
Visit the book page of O'Reilly under http://bit.ly/python-finance-2e or order the book under https://www.amazon.com/Python-Finance-Mastering-Data-Driven/dp/1492024333/.
The codes of the book are based on Python 3.7. The codes presented in this Github repository are tested for Python 3.6 since at the time of creating it, TensorFlow
was not yet compatible with Python 3.7. Once this has happened, appropriate changes (e.g. to the conda
yaml
file, see below) will be made.
There is a yaml
file for the installation of required Python packages in the repository. This is to be used with the conda
package manager (see https://conda.io/docs/user-guide/tasks/manage-environments.html). If you do not have Miniconda or Anaconda installed, we recommend to install Miniconda 3.7 first (see https://conda.io/miniconda.html).
After you have cloned the repository, do on the shell (currently works on Mac OS):
cd py4fi2nd
# conda env create -f py4fi2nd.yml
conda create --name py4fi2nd python=3.8
conda activate py4fi2nd
conda install numpy pandas matplotlib
jupyter notebook
Then you can navigate to the Jupyter Notebook files and get started.
You can immediately use all codes and Jupyter Notebooks by registering on the Quant Platform under http://py4fi.pqp.io.
Check out our Python for Finance & Algorithmic Trading online trainings under http://training.tpq.io.
Check out also our University Certificate Program in Python for Algorithmic Trading under http://certificate.tpq.io.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。