LIVEIndependent Tech Media
Independent Tech Media by 22B Labs
22BLabs · 숨은보물 · AlgoTrading · Crypto · Docker · FastAPI · OpenSource · Python · Quant

HYDRA Engine v1.0 — Open-Source Local-First Automated Trading Engine, Now Public

2026년 3월 30일 월요일 · 22B Labs · The 4th Path
Hidden Gem

HYDRA Engine v1.0 — Open-Source Local-First Automated Trading Engine, Now Public

📅 2025 ✍️ 22B Labs · The 4th Path 🏷️ Open Source · Algo Trading · Quant · Python
🐍 HYDRA
MIT License Python Docker FastAPI
From data collection to live trading. One repo to rule them all.

Most people who try to build an automated trading system don't give up because of the code. They give up because of the pipeline. Where do you get data? How do you calculate indicators? How do you generate signals, run backtests, and connect to live trading — all without losing your mind halfway through?

HYDRA Engine is a direct answer to that problem. A local-first, open-source automated trading engine that manages the entire pipeline in a single repository. Built by 22B Labs. Released today under the MIT license.

1

The Full Pipeline, One Repo

📥 Data Collection
📊 Indicators
🎯 Regime Detection
⚡ Signal Engine
🔁 Backtest
💹 Live Trading

HYDRA collects OHLCV candle data from exchanges, auto-calculates RSI/MACD/Bollinger Bands, classifies current market regime (trending/ranging/volatile), generates buy/sell signals, validates strategies through in-memory backtesting — and connects to live trading only when you're ready.

"Free and fully functional by default. Everything else is your choice."

2

12 Core Modules

FastAPI REST Server
Control everything via API. Integrate with dashboards, bots, or external tools.
📥
OHLCV Collector
Fetches candle data from exchanges. Stores to SQLite (Lite) or TimescaleDB (Pro).
📊
Indicator Engine
RSI, MACD, Bollinger Bands and more — auto-calculated on collected data.
🎯
Regime Classifier
Detects trending, ranging, and volatile market states automatically.
Signal Engine
Generates buy/sell signals. Pluggable strategy architecture.
🔁
In-Memory Backtest
Validate strategy performance on collected data before going live.
🛡️
Kill Switch
Emergency close of all positions with a single command.
⚖️
Risk Engine
Position sizing and risk limit management.
📦
Order Queue
Safe order processing pipeline with queue management.
🖥️
CLI Tool
Full control from the terminal. No UI required.
📲
Telegram Alerts
Real-time notifications for key events.
📈
Auxiliary Data
Order book, event calendar, sentiment scores.
3

Three Docker Tiers — Start Where You Are

🟢 Lite
SQLite storage
Personal PC
Perfect for beginners
🔵 Pro
TimescaleDB + Redis
Mid-scale operation
Enhanced analytics
🟡 Expert
High-spec config
Large-volume data
High-performance server
# Clone and start in 5 minutes
git clone https://github.com/sinmb79/Hydra-Engine.git
cd Hydra-Engine
cp .env.example .env
pip install -e .[dev] && pytest -q
docker compose -f docker-compose.lite.yml up --build

# Health check
curl http://127.0.0.1:8000/health
# → {"status": "ok"}
4

The Recommended Approach

StepActionPurpose
Step 1Run pytestVerify code is working
Step 2Collect dataPublic data works without API keys
Step 3Check indicators/regime/signalsUnderstand engine behavior
Step 4Observe via API/CLIGet comfortable with the flow
Step 5Run backtestsValidate strategy performance
Step 6Connect live tradingOnly after sufficient validation
⚠️ Disclaimer

HYDRA Engine is built for education, research, and experimentation. It does not guarantee trading profits. All responsibility for use lies with the user. Always read DISCLAIMER.md before using in live trading.

🐍 22B Labs · HYDRA Engine

The goal is to lower the barrier to entry for algorithmic trading.
⭐ A star on GitHub means the world to us.

👉 github.com/sinmb79/Hydra-Engine

📎 GitHub: github.com/sinmb79/Hydra-Engine · MIT License
✍️ 22B Labs · The 4th Path, GitHub: sinmb79
더 읽기