{"service":"TradingView → MT5 Signal Server","version":"3.0.0","endpoints":{"POST /webhook":"TradingView alert → queue signal","GET  /signals":"EA polls pending signals","POST /signals/ack":"EA reports execution result","POST /trades/log":"EA logs closed trade details","GET  /trades":"JSON trade history (filterable)","GET  /trades/stats":"Aggregated P/L stats","GET  /dashboard":"Trade journal HTML dashboard","GET  /signals/history":"Recent ack history","GET  /health":"Stats & health check (minimal unless authed)","GET  /settings":"UI: fetch profile settings (JSON)","POST /settings":"UI: save profile settings","GET  /settings/ea":"EA: fetch profile settings (text/plain k=v)","GET  /profiles":"UI: list all profiles","POST /profiles":"UI: create a profile","PATCH /profiles/:n":"UI: rename/relabel a profile","DELETE /profiles/:n":"UI: delete a profile (+ its settings)","GET  /auth/settings":"UI: login page","POST /auth/settings":"UI: verify password, set cookie","GET  /auth/telegram":"UI: submit Telegram login code","POST /stats/reset":"UI: zero in-memory counters"}}