Desktop App — Free & Open Source

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.

Runs 100% locally
Built-in risk engine
Binance testnet ready
Signal
Gateway
Binance
POST /api/signal ccxt SQLite
Local Desktop App
No Cloud Needed
REST API POST /api/signal
Signal Entry
Risk Engine
Built-in Controls
ccxt Binance Spot
& Futures
How It Works

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.

01

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.

02

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.

03

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.

Features

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.

Signal Pipeline

What Happens When a Signal Arrives

Every incoming signal passes through a deterministic pipeline before an order touches the exchange.

1

Validate

Zod schema check — rejects malformed payloads with 400

2

Deduplicate

Checks in-memory set + SQLite — returns 409 if already processed

3

Risk Check

Kill switch, max positions, daily loss cap — returns 403 if blocked

4

Execute

Places limit order on Binance via ccxt — returns order ID

5

Monitor

Polls every 2s until filled — creates position record on fill

Desktop Dashboard

Full Control from Your Desktop

The Electron app gives you a real-time dashboard, history browser, and settings panel — all running locally.

Dashboard Running
Open Positions 2
Watched Orders 1
Today P&L +$124.50
Settings Configured
Exchange Binance Futures
Max Positions 3
Daily Loss Limit $500
Testnet mode active
History 42 trades
Win Rate 64%
Best Trade +$320
Max Drawdown -$180
Daily stats → P&L, count, best/worst

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