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
- Python 3 development
- Python 2 support is NOT guaranteed in any capacity.
- 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 (https://pypi.org/project/quantworks-bitcoin/) - Twitter real-time feeds are supported via the
quantworks-twitter
package (https://pypi.org/project/quantworks-twitter/)
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
Built Distribution
File details
Details for the file quantworks-0.21.tar.gz
.
File metadata
- Download URL: quantworks-0.21.tar.gz
- Upload date:
- Size: 82.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.3 Darwin/18.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d97941d41a8cddf010fc224381c0cd43c935e1936d705b27245242883231a1ac |
|
MD5 | f09cf5610c24bcddb9c1156faa2c0d14 |
|
BLAKE2b-256 | 8b9ff163b576ee51f667f04a43b4e16d835663978f3d1aec58323524a52d5303 |
File details
Details for the file quantworks-0.21-py3-none-any.whl
.
File metadata
- Download URL: quantworks-0.21-py3-none-any.whl
- Upload date:
- Size: 150.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.0 CPython/3.7.3 Darwin/18.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40aa2834f143ee142a2f8337c110bec9382a0a4835ae126a964490536aa02374 |
|
MD5 | 4b2d169a7f63f4a3da691a9ba3188710 |
|
BLAKE2b-256 | c5a1cf5e0055636ad5e6209a48ea21859ef6c3d0d60d9a90238895347bff0701 |