Parses command-line arguments for trading bot configuration.
Processes process.argv to extract trading parameters and mode flags.
Merges provided default values with command-line arguments.
Supports both backtest mode (historical simulation), paper trading mode
(simulated trading with live data), and live trading mode (real trading).
Command-line options:
--symbol: Trading pair symbol (e.g., "BTCUSDT")
--strategy: Strategy name to use
--exchange: Exchange name (e.g., "binance")
--frame: Timeframe for candles (e.g., "1h", "15m")
Parses command-line arguments for trading bot configuration.
Processes process.argv to extract trading parameters and mode flags. Merges provided default values with command-line arguments. Supports both backtest mode (historical simulation), paper trading mode (simulated trading with live data), and live trading mode (real trading).
Command-line options:
Example