For Python Quants Bootcamp ========================== This is the Gist the **For Python Quants Bootcamp** in London, 21.-24. November 2017 (http://fpq.io) Notebooks & Code Files ---------------------- Additional files (eg Jupyter Notebooks) are found under: https://gist.github.com/4ffd92694bee6092b5de639b6ee83dc3 (day 1) Slides ------ http://hilpisch.com/bootcamp.pdf Twitter Handle --------------- http://twitter.com/dyjh Recommended Books ----------------- * Jake VanderPlas (2016): Python Data Science Handbook. O'Reilly. * Wes McKinney (2017): Python for Data Analysis. 2nd ed., O'Reilly. * Luciano Ramalho (2015): Fluent Python. O'Reilly. Python Cheat Sheets ------------------- * **Python**: https://s3.amazonaws.com/assets.datacamp.com/blog_assets/PythonForDataScience.pdf * **NumPy**: https://s3.amazonaws.com/assets.datacamp.com/blog_assets/Numpy_Python_Cheat_Sheet.pdf * **pandas**: https://s3.amazonaws.com/assets.datacamp.com/blog_assets/Python_Pandas_Cheat_Sheet_2.pdf * **SciPy**: https://s3.amazonaws.com/assets.datacamp.com/blog_assets/Python_SciPy_Cheat_Sheet_Linear_Algebra.pdf * **matplotlib**: https://s3.amazonaws.com/assets.datacamp.com/blog_assets/Python_Matplotlib_Cheat_Sheet.pdf Some Docker Basics =================== [Not needed for the bootcamp.] Linux/Mac --------- To test whether it is installed, open a terminal window and type: docker version To run a docker container type: docker run -ti -h fpq -p 8888:8888 ubuntu:latest /bin/bash Windows ------- Open the Docker Quickstart Terminal. To run a docker container type: docker run -ti -h fpq -p 8888:8888 -e MACHINE_IP=$(docker-machine ip) ubuntu:latest /bin/bash Setting Up the Python Environment (Windows) =========================================== installation: https://conda.io/docs/user-guide/install/windows.html To create an environment execute (Windows): conda create -n fpq python=3.6 activate fpq To install single or multiple Python packages: conda install ipython jupyter numpy pandas scikit-learn matplotlib pytables jupyter notebook Setting Up the Python Environment (Linux/Mac) ============================================= (Assuming Ubuntu running in a Docker container, for instance) Linux ----- OS updates and tools: apt-get update apt-get upgrade apt-get install wget bzip2 screen vim gcc Miniconda --------- To download and install it: wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh bash miniconda.sh Open new shell instance to activate the new Python installation. Python ------ See http://conda.io Aslo see https://conda.io/docs/_downloads/conda-cheatsheet.pdf To create an environment execute (Linux/Mac): conda create -n fpq python=3.6 source activate fpq Links to Platforms ================== Quant Platform -------------- http://pqp.io DigitalOcean (just in case) --------------------------- setting up an account with 10 USD starting credit: https://m.do.co/c/fbe512dd3dac Plotly ------ http://plot.ly getting started: https://plot.ly/python/getting-started/ Oanda ----- general http://oanda.com demo account https://www.oanda.com/register/#/sign-up/demo The Python Quants ================= http://twitter.com/dyjh team@tpq.io | http://fpq.io http://pyalgo.tpq.io | http://certificate.tpq.io