Skip to main content

Module agent_config

Module agent_config 

Source

Structs§

AgentConfig
Full configuration for an AI trading agent.
PromptTemplateSummary
Summary of a prompt template returned to the frontend.

Enums§

PromptTemplate
Preset system prompt templates for different trading styles.
TradingMode
Whether the agent operates in live or paper-trading mode.

Functions§

delete_agent_config_from_disk
Delete an agent config from disk.
list_prompt_templates
Return descriptions of all available prompt templates.
load_agent_config
Load an agent config from disk. Returns None if no config file exists.
save_agent_config_to_disk
Save an agent config to disk.
validate_agent_config
Validate an agent config. Returns Ok(()) or an error message.