Skip to content

Reconnect Trade Session

writes · destructive · idempotent

Force reconnect the TRADE FIX session.

Use when check_health shows fixState != “ACTIVE” and auto-reconnect has given up (after 10 attempts). Common after weekends (markets closed Fri–Sun) or network interruptions.

BEHAVIOR:

  • Tears down the current connection (if any)
  • Rejects all in-flight order requests with “Manual reconnect” error
  • Resets session state and sequence numbers
  • Opens a fresh TLS/TCP connection and performs FIX Logon
  • After logon, automatically reconciles positions and orders from the broker

If the session is already ACTIVE, returns success with “already connected” status.

⚠️ WARNING: Any pending order requests (place_order, modify_order, etc.) that are in-flight will be rejected. Only call this when the session is already down.

No parameters required.

This tool takes no parameters.