API Reference

lean live submit-order

Introduction

Submit an order in a local live trading project.

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

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 <value>The ticker for the order.
--market <value>The market for the order.
--security-type <value>The security type for the order.
--order-type <value>The type of the order.
--quantity <value>The number of units to be ordered (directional).
--limit-price <value>The limit price of the order.
--stop-price <value>The stop price of the order.
--tag <value>The order tag.
--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 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: