Algorithmic Trading Toolkit — data collection, indicators, strategy, simulation, and live trading
Project description
AlgoTradeKit
Algorithmic Trading Toolkit — collect market data, build indicators and strategies, backtest, and trade live.
pip install AlgoTradeKit
Modules
| Module | Status | Description |
|---|---|---|
data |
✅ v0.1.0 | Collect OHLCV candles from exchanges |
indicator |
🔜 planned | RSI, EMA, MACD, Bollinger Bands, and custom indicators |
strategy |
🔜 planned | Build and combine trading strategies |
simulate |
🔜 planned | Backtest strategies on historical data |
trade |
🔜 planned | Live trading via exchange API or MT5 |
visual |
🔜 planned | Candlestick charts, indicators, live streaming |
Quick Start
Collect candle data
from AlgoTradeKit.data import Collector
collector = Collector(source="binance-futures", symbol="BTCUSDT", timeframe="1d")
collector.destination = "data/"
collector.starttime = "2020/01/01"
collector.collect()
Output:
[AlgoTradeKit] Symbol : BTCUSDT
[AlgoTradeKit] Source : binance-futures
[AlgoTradeKit] Timeframe : 1 Day (1d)
[AlgoTradeKit] Range : 2020-01-01 00:00 UTC → 2026-05-26 00:00 UTC
[AlgoTradeKit] Output : data/binance-futures_BTCUSDT_1d.csv
[AlgoTradeKit] Existing file : none — starting fresh
[AlgoTradeKit] Found 1 gap(s) to fill
[██████████████████████████████] 2,338 candles fetched
[AlgoTradeKit] ✓ Saved 2,338 candles → data/binance-futures_BTCUSDT_1d.csv
Run it again — it only fetches what's missing:
[AlgoTradeKit] ✓ Everything is up to date — nothing to download.
Supported sources
| Source key | Market |
|---|---|
"binance-spot" |
Binance Spot |
"binance-futures" |
Binance USD-M Futures |
Supported timeframes
1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 12h 1d 3d 1w 1M
Collector options
collector = Collector(source="binance-spot", symbol="ETHUSDT", timeframe="4h")
collector.destination = "data/" # folder to save CSV (default: ./)
collector.outputname = "eth_4h.csv" # custom filename (auto-generated if not set)
collector.starttime = "2021/01/01" # required — YYYY/MM/DD or YYYY-MM-DD
collector.endtime = "2023/01/01" # optional — defaults to now
collector.collect() # returns path to the saved CSV
Installation
Requires Python 3.10+
pip install AlgoTradeKit
For development:
git clone https://github.com/YOUR_USERNAME/AlgoTradeKit.git
cd AlgoTradeKit
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
Requirements
pandas >= 2.0requests >= 2.28
Roadmap
- MEXC Spot & Futures
- MetaTrader 5 (MT5)
- Bybit, OKX
-
indicatormodule — RSI, EMA, MACD, Bollinger Bands -
strategymodule — strategy builder with entry/exit logic -
simulatemodule — backtesting engine with full report -
trademodule — live trading via exchange API / MT5 -
visualmodule — charts, live candlestick stream via WebSocket
License
MIT — see LICENSE
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file algotradekit-0.1.0.tar.gz.
File metadata
- Download URL: algotradekit-0.1.0.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfad9c870521f871c48deebc123fe83478e2196479819ce491434a541b12c3f3
|
|
| MD5 |
8e3c2296d320a260bfe3ee0683880cc5
|
|
| BLAKE2b-256 |
8eceaeb5ed1db115c6ab63f9d9b882827e7e085afee9ccc9051e9817c12ea614
|
Provenance
The following attestation bundles were made for algotradekit-0.1.0.tar.gz:
Publisher:
publish.yml on AmirMohammadBazdar/AlgoTradeKit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
algotradekit-0.1.0.tar.gz -
Subject digest:
bfad9c870521f871c48deebc123fe83478e2196479819ce491434a541b12c3f3 - Sigstore transparency entry: 1633525314
- Sigstore integration time:
-
Permalink:
AmirMohammadBazdar/AlgoTradeKit@fbdb8fd7e697bbe159f24b14d3f83bdb5f2deae9 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/AmirMohammadBazdar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fbdb8fd7e697bbe159f24b14d3f83bdb5f2deae9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file algotradekit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: algotradekit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b69833abe990421942ef1d459c978149fad28675c831365c18bac62e47d43584
|
|
| MD5 |
554dfee614ee7ba38b5601b0103925d8
|
|
| BLAKE2b-256 |
78b754af2f4011392475598fb3b88f91d4d91ccf1ebbc65374fb0be6c35bc75b
|
Provenance
The following attestation bundles were made for algotradekit-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on AmirMohammadBazdar/AlgoTradeKit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
algotradekit-0.1.0-py3-none-any.whl -
Subject digest:
b69833abe990421942ef1d459c978149fad28675c831365c18bac62e47d43584 - Sigstore transparency entry: 1633525325
- Sigstore integration time:
-
Permalink:
AmirMohammadBazdar/AlgoTradeKit@fbdb8fd7e697bbe159f24b14d3f83bdb5f2deae9 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/AmirMohammadBazdar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fbdb8fd7e697bbe159f24b14d3f83bdb5f2deae9 -
Trigger Event:
release
-
Statement type: