Lean
$LEAN_TAG$
|
Represents a command to update an order by id More...
Public Member Functions | |
override CommandResultPacket | Run (IAlgorithm algorithm) |
Runs this command against the specified algorithm instance More... | |
Properties | |
int | OrderId [get, set] |
Gets or sets the id of the order to update More... | |
decimal? | Quantity [get, set] |
Gets or sets the new quantity, specify null to not update the quantity More... | |
decimal? | LimitPrice [get, set] |
Gets or sets the new limit price, specify null to not update the limit price. This will only be used if the order has a limit price (Limit/StopLimit orders) More... | |
decimal? | StopPrice [get, set] |
Gets or sets the new stop price, specify null to not update the stop price. This will onky be used if the order has a stop price (StopLimit/StopMarket orders) More... | |
string | Tag [get, set] |
Gets or sets the new tag for the order, specify null to not update the tag 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 update an order by id
Definition at line 24 of file UpdateOrderCommand.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 57 of file UpdateOrderCommand.cs.
|
getset |
Gets or sets the id of the order to update
Definition at line 29 of file UpdateOrderCommand.cs.
|
getset |
Gets or sets the new quantity, specify null to not update the quantity
Definition at line 34 of file UpdateOrderCommand.cs.
|
getset |
Gets or sets the new limit price, specify null to not update the limit price. This will only be used if the order has a limit price (Limit/StopLimit orders)
Definition at line 40 of file UpdateOrderCommand.cs.
|
getset |
Gets or sets the new stop price, specify null to not update the stop price. This will onky be used if the order has a stop price (StopLimit/StopMarket orders)
Definition at line 46 of file UpdateOrderCommand.cs.
|
getset |
Gets or sets the new tag for the order, specify null to not update the tag
Definition at line 51 of file UpdateOrderCommand.cs.