Menu

1 / 2

Building an AI-Powered Quantitative Trading System with Hermes Agent and IBKR

DEV Community·Michael Zhang·7 months ago
#jqIXt2Qx
#python#ai#trading#gateway#paper
Reading 0:00
15s threshold

Building an AI-Powered Quantitative Trading System with Hermes Agent and IBKR

How I set up a multi-signal ETF trading bot that runs on autopilot — and the 7 things that broke along the way

I wanted a system that watches the market 24/7, analyzes technical indicators across multiple ETFs, and executes trades automatically. No manual chart-checking. No emotional decisions. Just cold, calculated signals.

Here's what I built and everything I learned.

The Stack

Twelve Data (market data) → Python strategy engine → IB Gateway → IBKR ↑ Hermes Agent (cron scheduling)

Enter fullscreen mode

Exit fullscreen mode

Market Data : Twelve Data API (free tier, 800 calls/day)

Execution : ib_insync Python library → IB Gateway → Interactive Brokers

Scheduling : Hermes Agent cron jobs, every 3 minutes

Dashboard : Real-time HTML dashboard with signal indicators and market news

Strategy : 6-condition buy signal, 3-condition sell trigger

The Strategy: Why 6/6, Not 2/3

Most retail strategies use 2-3 indicators.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.