|
Lean
$LEAN_TAG$
|
Represents a command to submit an order to the algorithm More...
Public Member Functions | |
| override CommandResultPacket | Run (IAlgorithm algorithm) |
| Runs this command against the specified algorithm instance More... | |
| override string | ToString () |
| Returns a string that represents the current object. More... | |
Properties | |
| Symbol | Symbol [get, set] |
| Gets or sets the symbol to be ordered More... | |
| string | Ticker [get, set] |
| Gets or sets the string ticker symbol More... | |
| SecurityType | SecurityType [get, set] |
| Gets or sets the security type of the ticker. More... | |
| string | Market [get, set] |
| Gets or sets the market the ticker resides in More... | |
| OrderType | OrderType [get, set] |
| Gets or sets the order type to be submted More... | |
| decimal | Quantity [get, set] |
| Gets or sets the number of units to be ordered (directional) More... | |
| decimal | LimitPrice [get, set] |
| Gets or sets the limit price. Only applies to QuantConnect.Orders.OrderType.Limit and QuantConnect.Orders.OrderType.StopLimit More... | |
| decimal | StopPrice [get, set] |
| Gets or sets the stop price. Only applies to QuantConnect.Orders.OrderType.StopLimit and QuantConnect.Orders.OrderType.StopMarket More... | |
| string | Tag [get, set] |
| Gets or sets an arbitrary tag to be attached to the order More... | |
Properties inherited from QuantConnect.Commands.BaseCommand | |
| string | Id [get, set] |
| Unique command id More... | |
Properties inherited from QuantConnect.Commands.ICommand | |
| string | Id [get, set] |
| Unique command id More... | |
Additional Inherited Members | |
Protected Member Functions inherited from QuantConnect.Commands.BaseCommand | |
| Symbol | GetSymbol (string ticker, SecurityType securityType, string market, Symbol symbol=null) |
| Creats symbol using symbol properties. More... | |
Represents a command to submit an order to the algorithm
Definition at line 25 of file OrderCommand.cs.
|
virtual |
Runs this command against the specified algorithm instance
| algorithm | The algorithm to run this command against |
Implements QuantConnect.Commands.BaseCommand.
Definition at line 76 of file OrderCommand.cs.
| override string QuantConnect.Commands.OrderCommand.ToString | ( | ) |
Returns a string that represents the current object.
<filterpriority>2</filterpriority>
Definition at line 103 of file OrderCommand.cs.
|
getset |
Gets or sets the symbol to be ordered
Definition at line 30 of file OrderCommand.cs.
|
getset |
Gets or sets the string ticker symbol
Definition at line 35 of file OrderCommand.cs.
|
getset |
Gets or sets the security type of the ticker.
Definition at line 40 of file OrderCommand.cs.
|
getset |
Gets or sets the market the ticker resides in
Definition at line 45 of file OrderCommand.cs.
|
getset |
Gets or sets the order type to be submted
Definition at line 50 of file OrderCommand.cs.
|
getset |
Gets or sets the number of units to be ordered (directional)
Definition at line 55 of file OrderCommand.cs.
|
getset |
Gets or sets the limit price. Only applies to QuantConnect.Orders.OrderType.Limit and QuantConnect.Orders.OrderType.StopLimit
Definition at line 60 of file OrderCommand.cs.
|
getset |
Gets or sets the stop price. Only applies to QuantConnect.Orders.OrderType.StopLimit and QuantConnect.Orders.OrderType.StopMarket
Definition at line 65 of file OrderCommand.cs.
|
getset |
Gets or sets an arbitrary tag to be attached to the order
Definition at line 70 of file OrderCommand.cs.