TradeGate releases pre-trade firewall for AI trading agents
Understand this story
Developer hkedia08 has released TradeGate, a deterministic pre-trade execution firewall for AI trading agents, along with an MCP server. It blocks orders through 17 gate rules and 8 monotonic sizing rules, and provides a SHA-256 hash-chain audit log and a persistent locking kill switch. The tool is currently limited to paper trading and sandbox environments: both built-in broker adapters, LocalPaperBroker and AlpacaPaperBroker, reject LIVE mode and fail closed when connecting to live broker endpoints; it also does not provide a real-time market data feed, and running it requires Python 3.12+.
AI overview based on source reports · Updated 14 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIShow HN: TradeGate – Deterministic pre-trade firewall for AI trading agents
TradeGate is a paper/sandbox-only execution firewall that sits between an AI trading agent or strategy loop and a broker adapter, routing every order through 17 fail-closed pre-trade gates and 8 monotone sizing rules with binary-search downsizing. It adds an OS single-writer lock, a persistent latching kill switch, and an fsynced SHA-256 hash-chained audit.jsonl that is verified at startup, plus an MCP server exposing tools such as check_order, submit_guarded_order, and verify_audit_chain. Both included adapters (LocalPaperBroker and AlpacaPaperBroker) refuse live mode, and the project states it contains no trading strategies, alpha models, or return claims.
Activity for this story
- Current comparable activity
- 7
- Peak comparable activity
- 10Nov 30 00:00
- Change in the past 24 hours
- –
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.