API Reference

lean logs

Introduction

Display the most recent backtest/live/optimization logs.

$ lean logs [OPTIONS]

Description

Displays the most recent backtest/live/optimization logs. By default, the most recent backtest logs are shown unless --live or --optimization is given. You can pass in a project with --project <directory> to display the most recent logs from a specific project.

Options

The lean logs command supports the following options:

OptionDescription
--backtestDisplay the most recent backtest logs (default)
--liveDisplay the most recent live logs
--optimizationDisplay the most recent optimization logs
--project <directory>The project to get the most recent logs from
--lean-config <file>The Lean configuration file that should be used (defaults to the nearest lean.json)
--verboseEnable debug logging
--helpDisplay the help text of the lean logs command and exit

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: