API Reference

lean live cancel-order

Introduction

Cancel an order with a specific Id in a local live trading project.

$ lean live cancel-order <project> [options]

Description

Arguments

The lean live cancel-order command expects the following arguments:

ArgumentDescription
<project>The path to the project directory or algorithm file that contains the order you want to cancel.

Options

The lean live cancel-order command supports the following options:

OptionDescription
--order-id <value>The Id of the order to cancel.
--lean-config <value>The Lean configuration file that should be used (defaults to the nearest lean.json).
--verboseEnable debug logging.
--helpDisplay the help text of the lean live cancel-order 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: