Trading Terminal · :8080 Suite Home
:8080

WEN Terminal

The Gunbot trading dashboard. Live P&L, open positions, trade history, performance analytics, and strategy configuration — all in one browser tab with zero CORS friction.

Everything you need. One tab.
Live P&L Stream

Real-time profit/loss via Server-Sent Events. No polling, no page refreshes — positions update the moment Gunbot processes them.

Trade Analytics

Win rate, profit factor, Sharpe ratio, equity curve. Full trade history with filters by exchange, pair, and date range.

Gunbot Config UI

Browse and edit Gunbot strategy settings and pair configurations directly from the browser — no config file editing required.

Zero-CORS Proxy

Runs as a local HTTP proxy. Browser calls localhost:8080/api/* and the server forwards to Gunbot transparently.

Health Monitoring

/health endpoint returns uptime, server name, timestamp. Compatible with PM2, uptime robots, and load balancers.

Multi-Exchange

Connects to any Gunbot instance. Change the Gunbot URL in Settings at runtime without restarting the server.

How it works
01
Server starts on :8080
serve.js starts on port 8080 and serves WEN_terminal.html as a static file. Also serves all landing pages.
02
React UI loads
Browser loads the React 18 UMD app. Self-contained HTML — no bundler, no CDN calls, no build step at runtime.
03
Same-origin API calls
UI calls /api/* on the same origin. No CORS headers or credentials visible in browser.
04
Proxy to Gunbot
serve.js forwards each request to Gunbot with your Bearer token and streams the response back.