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 show the most recent logs of.
--lean-config <path>The Lean configuration file that should be used (defaults to the nearest lean.json file).
--verboseEnable debug logging.
--helpDisplay the help text of the lean build command and exit.

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

Did you find this page helpful?

Contribute to the documentation: