Pyalgotrade
Python Algorithmic Trading Library
Install / Use
/learn @gbeced/PyalgotradeREADME
PyAlgoTrade
This project is deprecated and is no longer mantained. You may be interested in taking a look at Basana.
PyAlgoTrade is an event driven algorithmic trading Python library. Although the initial focus was on backtesting, paper trading is now possible using:
- Bitstamp for Bitcoins
and live trading is now possible using:
- Bitstamp for Bitcoins
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 and tested using Python 2.7/3.7 and depends on:
- NumPy and SciPy.
- pytz.
- dateutil.
- requests.
- matplotlib for plotting support.
- ws4py for Bitstamp support.
- tornado for Bitstamp support.
- tweepy for Twitter support.
You can install PyAlgoTrade using pip like this:
pip install pyalgotrade
Related Skills
node-connect
333.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
333.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.0kCommit, push, and open a PR

