/algorithm-trading-webapp

Algorithm Trading web application with Python, Django, PyQt5 and Javascript

Primary LanguagePythonMIT LicenseMIT

Algorithm Trading

Algorithm Trading web application project with Python, Django, PyQt5 and Javascript

Requirements

Setup Instructions

Clone the repo: https://github.com/softage0/algorithm-trading-webapp.git

Run the following code on the cloned repo:

$ pip install -r requirements.txt

Quick Start

Run dev server:

$ python manage.py runserver

Then you can access by the following URL: http://127.0.0.1:8000/

Setup Zipline (optional)

The following is the installation steps for Windows platform. The installations on the other platforms may be different.

Zipline is a Pythonic algorithmic trading library. It is an event-driven system that supports both backtesting and live-trading.

Install the following build tools first:

Download the following packages from Gohlke's repository:

  • numpy-1.11.1+mkl-cp35-cp35m-win32.whl
  • scipy-0.17.1-cp35-cp35m-win32.whl
  • numexpr-2.6.0-cp35-cp35m-win32.whl

And install them:

$ pip install {filename} 

Install Zipline:

$ pip install zipline 

References