Lean  $LEAN_TAG$
QuantConnect.Interfaces.ISecurityService Interface Reference

This interface exposes methods for creating a new Security More...

Inheritance diagram for QuantConnect.Interfaces.ISecurityService:
[legend]

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...
 

Detailed Description

This interface exposes methods for creating a new Security

Definition at line 26 of file ISecurityService.cs.

Member Function Documentation

◆ CreateSecurity() [1/2]

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.

Here is the caller graph for this function:

◆ CreateSecurity() [2/2]

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.


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