API Reference

lean live update-order

Introduction

Represents a command to update a specific order by id.

$ lean live update-order [OPTIONS] PROJECT

Description

Arguments

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

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

Options

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

OptionDescription
--order-id <integer>[required]
--quantity <float>The number of units to be updated (directional)
--limit-price <float>The limit price of the order to be updated
--stop-price <float>The stop price of the order to be updated
--tag <string>The tag to be attached to the order
--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 live update-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: