Skip to main content

Module agent

Module agent 

Source

Re-exports§

pub use daemon::daemon_status;
pub use daemon::spawn_background;
pub use daemon::stop_daemon;
pub use daemon::DaemonStatus;
pub use paths::default_state_path;
pub use paths::load_agent_state;
pub use paths::load_sim_agent_state;
pub use paths::log_path;
pub use paths::pid_path;
pub use paths::sim_journal_path;
pub use paths::sim_state_path;
pub use runner::run_agent_loop;
pub use sim::analysis_report;
pub use sim::compute_stats;
pub use sim::reset_sim;
pub use state::load_state;
pub use state::save_state;
pub use state::state_summary;

Modules§

backtest
Options historical backtest (synthetic BS marks over Schwab underlying bars).
daemon
exits
format
journal
llm
market_context
paths
protective
Broker-resident profit-target close order for open option spreads.
regime
Lightweight market-regime detection for options strategy selection.
resilience
Classify agent tick failures so the loop can backoff instead of exiting.
risk
Options sleeve risk: drawdown halt from high-water mark.
roll
Defensive rolling: when a credit vertical hits the mechanical stop, prefer close + reopen farther OTM / later DTE over eating a full stop (v1: verticals only).
runner
schedule
sim
Paper options simulation: virtual fills from live chain marks (no broker orders).
spread_analytics
Credit-spread analytics: POP, break-even, expected move, net theta.
state
telegram_format
Plain-language Telegram messages (no raw JSON).
volatility
Realized volatility for IV/RV entry gates (credit-spread edge filter).