jvandevelde / ipython-leanhogs

Python experiments with analysis & plotting of CME lean hog futures using IPython/Jupyter Notebook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To get started

  • Install miniconda from http://conda.pydata.org/miniconda.html
    • Add conda & scripts directory to Windows PATH
    • ex: C:\Anaconda3;C:\Anaconda3\Scripts\
  • Install nbformat
    • conda install nbformat
  • Create a new environment using the environment file at ./conda/environment.yml
    • conda env create -f ./conda/environment.yml
  1. Launch

    • jupyter notebook
  2. conda create --name hogs python=3.5

  3. conda activate hogs

    • pip install --upgrade pip
    • pip install PyQt5
    • pip install jupyter==1.0.0
    • pip install matplotlib==3.0.3
    • pip install numpy==1.14.2
    • pip install quandl==2.8.9
    • pip install requests
    • pip install pandas==0.18.1
    • pip install seaborn==0.7.1
    • pip install xlsxwriter==0.9.4

Windows Tips

  1. You may get an untrusted kernel error combined with missing module win32api jupyter/notebook#4909 pip install --upgrade jupyter_client

Installation on Windows

  1. Install conda/MiniConda
  2. Add conda & scripts directory to Windows PATH
    • ex: C:\Anaconda3;C:\Anaconda3\Scripts\
  3. Create new py3.5 env
    • conda create --name hogs python=3.5
  4. Activate new env
    • conda activate hogs
  5. Upgrade pip in new environment
    • python -m pip install --upgrade pip
  6. Install environment via pip
    • pip install -r ./conda/requirements.txt

About

Python experiments with analysis & plotting of CME lean hog futures using IPython/Jupyter Notebook


Languages

Language:Python 70.9%Language:HTML 15.4%Language:CSS 6.4%Language:Jupyter Notebook 4.0%Language:Dockerfile 2.2%Language:JavaScript 0.8%Language:Batchfile 0.1%Language:Shell 0.1%