DEX trading and blockchain quantitative finance data for Python
Project description
Trading Strategy framework for Python
Trading Strategy framework is a Python framework for algorithmic trading on decentralised exchanges. It is using backtesting data and real-time price feeds from Trading Strategy Protocol.
Use cases
-
Analyse cryptocurrency investment opportunities on decentralised exchanges (DEXes)
-
Creating trading algorithms and trading bots that trade on DEXes
-
Deploy trading strategies as on-chain smart contracts where users can invest and withdraw with their wallets
Features
-
Supports multiple blockchains like Ethereum mainnet, Binance Smart Chain and Polygon
-
Access trading data from on-chain decentralised exchanges like SushiSwap, QuickSwap and PancakeSwap
-
Integration with Jupyter Notebook for easy manipulation of data. See example notebooks.
-
Write algorithmic trading strategies for decentralised exchange
Getting started
See the Getting Started tutorial and the rest of the Trading Strategy documentation.
Prerequisites
- Python 3.10
Installing the package
Note: Unless you are an experienced Python developer, try the Binder cloud hosted Jupyter notebook examples first.
You can install this package with
poetry
:
poetry add trading-strategy -E direct-feed
pip
:
pip install "trading-strategy[direct-feed]"
Documentation
Community
Read more documentation how to develop this package.
License
GNU AGPL 3.0.
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 trading_strategy-0.9.1.tar.gz
.
File metadata
- Download URL: trading_strategy-0.9.1.tar.gz
- Upload date:
- Size: 184.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a31d87f1ca0743fe3053337a3d40f9b748cb6d842f050b57f255e30d52a536c0 |
|
MD5 | 060fa1bcbace352b77d86744f0996a9f |
|
BLAKE2b-256 | 5c566a3bae759cb2d96b94978afb98541c2d384070652678881d1ec20043940b |
File details
Details for the file trading_strategy-0.9.1-py3-none-any.whl
.
File metadata
- Download URL: trading_strategy-0.9.1-py3-none-any.whl
- Upload date:
- Size: 311.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e7db0b486233d230ad22d1e5b6adba1a90649daf6035c23c454d9dde9e1497e |
|
MD5 | f51e8c1e60ba726838954dea4741d00c |
|
BLAKE2b-256 | 8390c352a70fbdd425e4297d6ef089e976ff7032d0ef59a72ef3dad5ae4310ab |