Expand description
The Bot entry point and its BotConfig builder.
Bot::new validates configuration and constructs a supervised runtime.
Bot::run_until_shutdown starts the framework services and blocks
until shutdown is triggered (via signal or BotHandle::shutdown).
Structs§
- Bot
- The embedded trading bot.
- BotConfig
- Configuration for a
Bot. - BotConfig
Builder - Builder for
BotConfig. - Risk
Config - Risk-layer config for a symbol: session-PnL cap, circuit breaker, and
position sizing. Used both as the bot-wide default
(
BotConfig::risk) and as a per-symbol override (BotConfig::per_symbol_risk, set viaBotConfigBuilder::symbol_risk).
Enums§
- Bracket
Failure Policy - What the execution service does when a bracket entry has been filled but its protective stop-loss leg could not be placed.