Skip to main content

Module cli

Module cli 

Source
Expand description

Command-line interface for the trading bot.

Uses clap for argument parsing with Links Notation configuration support. Configuration is loaded with the following priority:

  1. CLI arguments (highest priority)
  2. Environment variables
  3. Configuration file (–config or TRADER_BOT_CONFIG)
  4. Default values

Structs§

Cli
Trader Bot - A configurable trading bot with multi-strategy support.
RuntimeConfig
Runtime configuration combining CLI, environment, and file config.