from __future__ import annotations from dataclasses import dataclass from pathlib import Path from typing import Sequence @dataclass class CLIConfig: start: str end: str timeframe_minutes: int timeframes_minutes: list[int] | None stop_losses: Sequence[float] exit_on_bearish_flip: bool csv_path: Path | None out_csv: Path log_dir: Path fee_bps: float slippage_bps: float