session_status
Determine trading safety by verifying account identity, trading mode, and active safeguards such as daily caps and unresolved orders.
Instructions
Trading posture — "am I safe to trade right now?" — plus which account is live.
Identity: authenticated/connected/competing, account_id, account_type
("LIVE"/"PAPER", the ground truth from IBKR's isPaper, NOT the IBKR_TRADING_MODE
label) and is_paper. A LIVE account includes a warning.
Posture (so an unattended caller can self-gate): dry_run, allowlist_active,
daily_cap_configured, remaining_daily_budget (when a cap is set), unresolved_orders
(dispatched-but-unconfirmed orders that must be reconciled before resending), trade_stops
(active reasons NOT to trade — a competing session, or unresolved in-flight orders) and an
advisory safe_to_trade. When live trading is armed with no cap, a daily_cap_warning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||