Python Algorithmic Trading Framework
Project description
QuantWorks
QuantWorks is an event driven algorithmic trading framework. It is a fork of PyAlgoTrade (see Motivation).
QuantWorks provides a Python API for strategy authoring, backtesting, paper trading, and of course live trading via the Broker
interface.
To get started using QuantWorks, please take a look at the original PyAlgoTrade
tutorial and the full documentation.
Main Features
- Event driven.
- Supports Market, Limit, Stop and StopLimit orders.
- Supports any type of time-series data in Pandas or CSV format (like Yahoo! Finance, Google Finance, Quandl and NinjaTrader), as well as database (i.e. sqlite).
- Technical indicators and filters like SMA, WMA, EMA, RSI, Bollinger Bands, Hurst exponent and others.
- Performance metrics like Sharpe ratio and drawdown analysis.
- Event profiler.
- TA-Lib integration.
Motivation
QuantWorks is a fork of PyAlgoTrade
by @gbeced. This project aims to be:
- Modern: first-class Python 3 development (Python 2 is EOL as of 2020)
- Extensible: as a framework, robust extension support is a must, and we encourage users of QuantWorks to give back by publishing their extensions (see Extensions)
- Easy to Develop: state-of-the-art tooling (pytest, poetry, travis) and approachable design principles should make it easy for newcomers to contribute.
- Open: as a fork of an Apache 2.0 license project, QuantWorks maintains the spirit of FOSS development. CONTRIBUTING.md forthcoming
Development
QuantWorks is developed and tested using 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.
Developer ergonomics are provided by
- poetry
- pytest
- tox
- travis-ci
Extensions
- Bitstamp (bitcoin) live trading is implemented by the
quantworks-bitstamp
package (pending) - Twitter real-time feeds are supported via the
quantworks-twitter
package (pending)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
quantworks-0.21rc2.tar.gz
(80.8 kB
view hashes)
Built Distribution
quantworks-0.21rc2-py3-none-any.whl
(148.7 kB
view hashes)
Close
Hashes for quantworks-0.21rc2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9b182fb8aa71774ca100f0f11873f403a20d2726b53fe1d34294e603d8555cb |
|
MD5 | 664f25332c35d0c63a57e7ccdbd3f63e |
|
BLAKE2b-256 | 4633bd450f8cd40a69b78a1c6d1f412b9ead8e14e8e81701f96d1f93ff4fbd89 |