Lean  $LEAN_TAG$
QuantConnect.Commands.CancelOrderCommand Class Reference

Represents a command to cancel a specific order by id More...

Inheritance diagram for QuantConnect.Commands.CancelOrderCommand:
[legend]

Classes

class  Result
 Result packet type for the CancelOrderCommand command 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 order id to be cancelled 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...
 

Detailed Description

Represents a command to cancel a specific order by id

Definition at line 23 of file CancelOrderCommand.cs.

Member Function Documentation

◆ Run()

override CommandResultPacket QuantConnect.Commands.CancelOrderCommand.Run ( IAlgorithm  algorithm)
virtual

Runs this command against the specified algorithm instance

Parameters
algorithmThe algorithm to run this command against

Implements QuantConnect.Commands.BaseCommand.

Definition at line 34 of file CancelOrderCommand.cs.

Property Documentation

◆ OrderId

int QuantConnect.Commands.CancelOrderCommand.OrderId
getset

Gets or sets the order id to be cancelled

Definition at line 28 of file CancelOrderCommand.cs.


The documentation for this class was generated from the following file: