QSToolKit Installation Guide Windows

From Quantwiki
Jump to: navigation, search


The links provided here are for Python 2.7, QSTK is not supported for python 3.

System Requirements

Make sure your system meets these requirements:

  • Operating system: Windows (7/8 preferred and supported)
  • RAM: 2GB.
  • Disk space: 2GB

Install QSTK

Step 1: Installing Python 2.7 by downloading the Python setup here.

Step 2: Install Python-Numpy library by downloading the Numpy Setup here.

Step 3: Install Python-Scipy library by downloading the Scipy Setup here.

Step 4: Install Python-Matplotlib library by downloading the Matplotlib Setup here.

Step 5: Install Python-Pandas library by downloading the Pandas Setup here.

Step 6: Install Python-Setuptools library by downloading the Setuptools Setup here.

Step 7: Install Python-dateutil library by downloading the Dateutil Setup here.

Step 8: Install Python-Scikits library by downloading the Scikit-Learn Setup here.

Step 9: Install Python-Statsmodel library by downloading the Scikit-Statsmodel Setup here.

Step 10: Finally Download and install QSTK setup from here.

Step 11: Download the Examples.zip from here. For testing the installation was correct, please run the Validation.py using IDLE (right click - open with Python IDLE). Please read the complete output to check if everything looks okay, specially version numbers.

Step 12: If you do not like IDLE and want a better python IDE, you can use Wing Python IDE.

-- Incase any of the setups don't run for you. Please try running your PC in safemode and installing the softwares.

Testing QSTK

There are several example programs in the QSTK/Examples/Basic directory. We suggest you start with taking a look at the data access example in Examples/Basic/tutorial1.py. This example will create pdfs in your basic directory. Take a look at the code there to see how it works.

Now take QSTK for a test drive. Take a look at QSTK Tutorial 1