{"name":"AI Trader Webhook","endpoints":{"POST /webhook":"submit a TradingView signal (public)","POST /alert":"TradingView alert router (public, optional ?token=)","GET  /dashboard":"HTML dashboard UI (auth required)","GET  /login":"login page","GET  /logout":"end session","GET  /live/settings":"get live-trading settings","PUT  /live/settings":"update live-trading settings","GET  /live/api-keys":"check which API keys are configured","PUT  /live/api-keys":"update exchange API keys (encrypted in DB)","GET  /live/orders":"list live orders (DB)","GET  /live/positions":"fetch open positions from exchange","GET  /live/balance":"USDT balance from exchange","POST /live/orders/{id}/close":"manually close a live order","GET  /logs":"paginated system log","POST /admin/clear-dashboard":"delete all signals, orders, and logs","GET  /stats":"aggregated trade statistics","GET  /health":"health check (public)","GET  /docs":"Swagger UI"}}