Python Algorithmic Trading Library
Pull request Compare This branch is 119 commits behind gbeced:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
docker
pyalgotrade
samples
testcases
tools
travis
.gitignore
.travis.yml
CHANGELOG
LICENSE.txt
MANIFEST.in
README
README.md
build_sdist.sh
cleanup.sh
coverage.cfg
release-checklist.txt
setup.cfg
setup.py

README.md

PyAlgoTrade

Build Status Coverage Status

PyAlgoTrade is an event driven algorithmic trading Python library. Although the initial focus was on backtesting, paper trading is now possible using:

and live trading is now possible using:

To get started with PyAlgoTrade take a look at the tutorial and the full documentation.

Main Features

  • Event driven.
  • Supports Market, Limit, Stop and StopLimit orders.
  • Supports any type of time-series data in CSV format like Yahoo! Finance, Google Finance, Quandl and NinjaTrader.
  • Bitcoin trading support through Bitstamp.
  • Technical indicators and filters like SMA, WMA, EMA, RSI, Bollinger Bands, Hurst exponent and others.
  • Performance metrics like Sharpe ratio and drawdown analysis.
  • Handling Twitter events in realtime.
  • Event profiler.
  • TA-Lib integration.

Installation

PyAlgoTrade is developed using Python 2.7 and depends on:

You can install PyAlgoTrade using pip like this:

pip install pyalgotrade