Lean
$LEAN_TAG$
|
Represents a command to add a security to the algorithm More...
Classes | |
class | Result |
Result packet type for the AddSecurityCommand command More... | |
Public Member Functions | |
AddSecurityCommand () | |
Default construct that applies default values More... | |
override CommandResultPacket | Run (IAlgorithm algorithm) |
Runs this command against the specified algorithm instance More... | |
Properties | |
SecurityType | SecurityType [get, set] |
The security type of the security More... | |
string | Symbol [get, set] |
The security's ticker symbol More... | |
Resolution | Resolution [get, set] |
The requested resolution, defaults to Resolution.Minute More... | |
string | Market [get, set] |
The security's market, defaults to QuantConnect.Market.USA except for Forex, defaults to QuantConnect.Market.FXCM More... | |
bool | FillDataForward [get, set] |
The fill forward behavior, true to fill forward, false otherwise - defaults to true More... | |
decimal | Leverage [get, set] |
The leverage for the security, defaults to 2 for equity, 50 for forex, and 1 for everything else More... | |
bool | ExtendedMarketHours [get, set] |
The extended market hours flag, true to allow pre/post market data, false for only in market data 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 add a security to the algorithm
Definition at line 24 of file AddSecurityCommand.cs.
QuantConnect.Commands.AddSecurityCommand.AddSecurityCommand | ( | ) |
Default construct that applies default values
Definition at line 64 of file AddSecurityCommand.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 77 of file AddSecurityCommand.cs.
|
getset |
The security type of the security
Definition at line 29 of file AddSecurityCommand.cs.
|
getset |
The security's ticker symbol
Definition at line 34 of file AddSecurityCommand.cs.
|
getset |
The requested resolution, defaults to Resolution.Minute
Definition at line 39 of file AddSecurityCommand.cs.
|
getset |
The security's market, defaults to QuantConnect.Market.USA except for Forex, defaults to QuantConnect.Market.FXCM
Definition at line 44 of file AddSecurityCommand.cs.
|
getset |
The fill forward behavior, true to fill forward, false otherwise - defaults to true
Definition at line 49 of file AddSecurityCommand.cs.
|
getset |
The leverage for the security, defaults to 2 for equity, 50 for forex, and 1 for everything else
Definition at line 54 of file AddSecurityCommand.cs.
|
getset |
The extended market hours flag, true to allow pre/post market data, false for only in market data
Definition at line 59 of file AddSecurityCommand.cs.