Trading Agent
The Trading vertical provides quantitative backtesting, signal generation, and execution with comprehensive safety controls.Capabilities
- Backtesting — Test any strategy against historical data with realistic slippage and commission modeling
- Signal Scanner — 452 quantitative factors across RSI, MACD, momentum, volume, volatility, cross-asset correlations
- Paper Trading — Simulated execution with real-time market prices
- Live Trading — Real broker execution (Alpaca, Binance, Coinbase, Tradier) with safety guards
- Pine Script Export — Generate TradingView-compatible strategy code
- MT5 Export — Generate MetaTrader 5 Expert Advisors
API Endpoints
Run a Backtest
Scan Signals
Open Position (Paper)
Close Position
Kill All Positions (Emergency)
Export to Pine Script
Broker Connections
Connect a live broker for real execution:- Alpaca — US equities, paper + live
- Binance — Crypto spot and futures
- Coinbase — Crypto spot
- Tradier — US equities and options
- Interactive Brokers — Multi-asset (coming)
- MetaTrader 5 — Forex and CFDs (coming)
Safety Guards
Every trade passes through the SafetyGuard before execution:Desktop Integration
In the Desktop app, the Trading Operator can:- Open TradingView charts directly in the embedded browser
- Visually identify setups from chart patterns (via LLM vision)
- Execute trades with one-click confirmation
- Monitor positions with real-time P&L

