tesser-cli is both an executable binary that can be run, and a library that can be used in Rust programs.
Installing the command-line executable
Assuming you have Rust/Cargo installed , run this command in a terminal:
cargo install tesser-cli
It will make the tesser-cli command available in your PATH if you've allowed the PATH to be modified when installing Rust . cargo uninstall tesser-cli uninstalls.
Adding tesser_cli library as a dependency
Run this command in a terminal, in your project's directory:
cargo add tesser-cli
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
tesser-cli = "0.9.1"
The tesser_cli library will be automatically available globally.
Read the tesser_cli library documentation .
Back to the crate overview .
Readme
tesser-cli
Unified command-line interface for data engineering, backtesting, and live trading.
Commands
data download| validate| resample : manage historical datasets (Bybit/Binance klines).
backtest run| batch : execute one or many strategy configs against CSV candle files.
live run : connect to the configured exchange public stream, drive strategies in real time, and route signals through the paper execution engine.
strategies : list compiled built-in strategies.
Run cargo run - p tesser-cli -- --help for global options and - - < command> - - help for subcommands.
Configuration
The CLI loads layered config files from config/ (default, env-specific, local override) plus environment variables (TESSER_ * ). The [ live ] section controls telemetry (state path, metrics bind, structured log file, alerting thresholds).
Development
cargo fmt - p tesser-cli
cargo clippy - p tesser-cli -- -D warnings
cargo test - p tesser-cli