Execute AI Signals
On Binance. Automatically.
A local desktop app that receives trading signals from AI for TradingView or TradingView Connector and executes them on Binance spot or futures — with built-in risk controls, order monitoring, and testnet support.
From AI Signal to Live Order
Trading Gateway runs as a local server on your machine. Signals from your Chrome extensions arrive via REST API and go through a validation pipeline before reaching Binance.
Install & Configure
Download the desktop app for Windows. Enter your Binance API key and secret in the Settings panel. Enable testnet to start risk-free.
Signal Arrives
AI for TradingView or TradingView Connector sends a signal to the local REST API. The signal contains symbol, side, entry, stop-loss, and take-profit.
Risk Check & Execute
The risk engine validates the signal against your limits (max positions, daily loss). If approved, a limit order is placed on Binance via ccxt. The order monitor tracks it until filled.
Everything You Need for
Automated Signal Execution
A local, privacy-first desktop app that bridges AI-generated trading signals to live Binance execution.
Local REST API Server
Runs on localhost:3000. Receives signals via POST /api/signal with full Zod validation. No cloud, no third-party servers — everything stays on your machine.
Risk Engine
Three layers of protection: kill switch (instant halt), max open positions limit, and daily loss cap. Every signal is evaluated before execution. Configure all limits in the Settings panel.
ccxt Exchange Integration
Built on the ccxt unified API. Supports Binance spot and Binance futures (binanceusdm). Add more exchanges by changing the exchange ID — the entire pipeline is exchange-agnostic.
Order Monitor
Each submitted order is watched via a 2-second polling loop. When filled, a position record is created and the dashboard updates in real time via IPC events.
Signal Deduplication
Every signal has a unique ID. The server checks both an in-memory set and the SQLite database to prevent duplicate orders. Retrying the same signal returns HTTP 409.
Full History & P&L Tracking
All orders, positions, and daily P&L are stored in local SQLite. Browse paginated history, view daily stats (best/worst trade, drawdown), and export your track record.
Testnet Ready
Flip the testnet toggle in Settings to route all orders through Binance testnet. Validate your pipeline end-to-end with play money before going live.
Privacy by Design
Your API keys never leave your machine. The app stores them in encrypted electron-store on your local disk. Signals flow from your browser to localhost — no cloud intermediaries.
What Happens When a Signal Arrives
Every incoming signal passes through a deterministic pipeline before an order touches the exchange.
Validate
Zod schema check — rejects malformed payloads with 400
Deduplicate
Checks in-memory set + SQLite — returns 409 if already processed
Risk Check
Kill switch, max positions, daily loss cap — returns 403 if blocked
Execute
Places limit order on Binance via ccxt — returns order ID
Monitor
Polls every 2s until filled — creates position record on fill
Full Control from Your Desktop
The Electron app gives you a real-time dashboard, history browser, and settings panel — all running locally.
The Execution Layer for Your AI Trading Stack
Trading Gateway completes the pipeline: analyze with AI, route with Connector, execute with Gateway.
From AI Signal to Live Order.
All on Your Machine.
Download Trading Gateway for Windows and connect your AI extensions to Binance in minutes. Open source, local-first, risk-controlled.
Free & open source • No subscription • Runs 100% locally