|
Lean
$LEAN_TAG$
|
This interface exposes methods for creating a new Security More...
Public Member Functions | |
| Security | CreateSecurity (Symbol symbol, List< SubscriptionDataConfig > subscriptionDataConfigList, decimal leverage=0, bool addToSymbolCache=true, Security underlying=null) |
| Creates a new security More... | |
| Security | CreateSecurity (Symbol symbol, SubscriptionDataConfig subscriptionDataConfig, decimal leverage=0, bool addToSymbolCache=true, Security underlying=null) |
| Creates a new security More... | |
| Security | CreateBenchmarkSecurity (Symbol symbol) |
| Creates a new benchmark security More... | |
This interface exposes methods for creating a new Security
Definition at line 26 of file ISecurityService.cs.
| Security QuantConnect.Interfaces.ISecurityService.CreateSecurity | ( | Symbol | symbol, |
| List< SubscriptionDataConfig > | subscriptionDataConfigList, | ||
| decimal | leverage = 0, |
||
| bool | addToSymbolCache = true, |
||
| Security | underlying = null |
||
| ) |
Creates a new security
Following the obsoletion of Security.Subscriptions, both overloads will be merged removing SubscriptionDataConfig arguments
Implemented in QuantConnect.Securities.SecurityService.
| Security QuantConnect.Interfaces.ISecurityService.CreateSecurity | ( | Symbol | symbol, |
| SubscriptionDataConfig | subscriptionDataConfig, | ||
| decimal | leverage = 0, |
||
| bool | addToSymbolCache = true, |
||
| Security | underlying = null |
||
| ) |
Creates a new security
Following the obsoletion of Security.Subscriptions, both overloads will be merged removing SubscriptionDataConfig arguments
Implemented in QuantConnect.Securities.SecurityService.
Creates a new benchmark security
Implemented in QuantConnect.Securities.SecurityService.