Skip to main content

Module exits

Module exits 

Source

Structs§

ExitEvaluation
PositionMonitorResult
SpreadMark

Functions§

candidate_fails_thesis_gates
True when live analytics already breach an enabled thesis exit gate (entry veto). Ignores profit_giveback (needs peak history) and min_hold.
debit_to_close_from_group
Debit to close per spread share from Schwab leg net_market_value (portfolio fallback).
evaluate_all_exits
Primary + thesis deterioration exits (evaluated every tick when chain data is live). Profit target / stop / DTE always apply; thesis exits respect min_hold_minutes.
evaluate_exit_from_mark
evaluate_position_monitor
Evaluate mechanical exit rules and build an LLM-ready monitor snapshot (single chain fetch).
evaluate_thesis_exit
exit_rules_summary
exit_signal_json_for_account
find_tracked_position
infer_entry_credit_from_legs
infer_max_loss_from_group
load_live_position_groups
Live Schwab option groups keyed by stable position id.
mark_from_net_market_value
monitor_snapshot_json
option_group_from_tracked
Build a minimal position group from sim tracked state (vertical spreads only).
reconcile_open_positions
spread_exit_thresholds
Per-share debit thresholds for a credit spread (target = lower debit, stop = higher debit).
stable_position_key