Status: Work in progress. APIs will change. Not suitable for production use.
Open-source algorithmic trading SDK for TypeScript and Bun. Build, backtest, and run crypto trading strategies — backed by TimescaleDB for time-series storage.
| Package | Description |
|---|---|
edgehog |
CLI and meta package |
@edgehog/market |
Market data ingestion, backfill, and queries |
@edgehog/backtest |
Backtesting engine |
@edgehog/trading |
Trading ledger and execution engine |
@edgehog/db |
Database migrations and schema management |
@edgehog/types |
Shared TypeScript types |
@edgehog/utils |
Shared utilities |
- Bun v1.3+
- PostgreSQL 17 with TimescaleDB extension
# Install dependencies
bun install
# Create and migrate the database
bun edgehog db createSource code is available under the Apache 2.0 License. Copyright © 2025-present Kriasoft.