Algorithmic trading, token and cryptocurrency DEX trading data, for Uniswap, Aave, PancakeSwap, Sushi, Trader Joe, others
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. The easiest way to get started is ready Dev Container for Visual Studio Code.
Prerequisites
-
Python 3.10
-
Understanding Python package management and installation (unless using Dev Container from teh above)
Installing the package
You can install this package with
Poetry as a dependency:
poetry add trading-strategy -E direct-feed
Poetry, local development:
poetry install -E direct-feed
Pip:
pip install "trading-strategy[direct-feed]"
Note: trading-strategy
package provides trading data
download and management functionality only. If you want to developed
automated trading strategies you need to install trade-executor package as well.
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
Hashes for trading_strategy-0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 480abe0b938e5dc6b4d7a890e19f80af481048bf404b6f940a654c11eb8ac6b0 |
|
MD5 | 4150e075b22d8f9df447a417d0192061 |
|
BLAKE2b-256 | 52dd8d9c54dc185bf89c5b85ddd75f12cfaddae44440d632b230ede402c277b1 |