Introduction

PyAlgoTrade is an event driven algorithmic trading Python library that I started with one goal in mind: To make it easy to backtest stock trading strategies. This is, given a certain amount of historical data for one stock, I want to check how a certain stock trading strategy behaves.

Paper trading support is in its early stages right now and there are two real time bar feeds supported:

Although initially designed for backtesting purposes, the design should adapt real trading scenarios and future releases will gradually support this.

It should also make it easy to optimize a strategy using multiple computers.

PyAlgoTrade is developed using Python 2.7 and depends on:

so you need to have those installed in order to use this library.

You can install PyAlgoTrade using pip like this:

pip install pyalgotrade

Previous topic

PyAlgoTrade documentation

Next topic

Tutorial

This Page