API Reference

lean live submit-order

Introduction

Represents a command to submit an order to the algorithm.

$ lean live submit-order [OPTIONS] PROJECT

Description

Arguments

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

ArgumentDescription
<project>The path to the project directory or algorithm file in which you want to submit the order.

Options

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

OptionDescription
--ticker <string>[required]
--market <string>[required]
--security-type <string>[required]
--order-type <string>[required]
--quantity <float>[required]
--limit-price <float>The limit price of the order be submitted
--stop-price <float>The stop price of the order to be submitted
--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 submit-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: