Skip to content

Check Health

read-only · idempotent

Check server health status including FIX connection state, risk limits, and session info.

Returns comprehensive health data:

  • Overall status: HEALTHY / DEGRADED / UNHEALTHY
  • TRADE session: FIX state, uptime, reconnect attempts, sequence numbers
  • QUOTE session: connection state, subscription count, cache size
  • Position and order counts
  • Daily PnL stats: realized P&L, win/loss counts, consecutive losses, win rate
  • Risk limit usage percentages (position count, daily loss)
  • Kill switch status (active/inactive, reason if active)
  • Operating mode (readonly/paper/live)

HEALTH STATUS LOGIC:

  • UNHEALTHY: Kill switch active OR FIX session not connected
  • DEGRADED: Daily loss usage > 80% OR position usage > 90% OR near consecutive loss limit
  • HEALTHY: All systems nominal

USAGE:

  • Call with no parameters — returns full health snapshot
  • Use to verify FIX connectivity before trading
  • Monitor risk limit usage to avoid hitting limits
  • Check kill switch status after consecutive losses

This is a read-only operation with no risk checks.

This tool takes no parameters.