ISecurityService
QuantConnect.Interfaces.ISecurityService
This interface exposes methods for creating a new Security
create_security
create_security(
symbol: Union[Symbol, str, BaseContract],
subscription_data_config_list: List[
SubscriptionDataConfig
],
leverage: float = 0,
add_to_symbol_cache: bool = True,
underlying: Security = None,
seed_security: bool = True,
) -> Security
create_security(
symbol: Union[Symbol, str, BaseContract],
subscription_data_config: SubscriptionDataConfig,
leverage: float = 0,
add_to_symbol_cache: bool = True,
underlying: Security = None,
seed_security: bool = True,
) -> Security
Creates a new security
create_benchmark_security
create_benchmark_security(
symbol: Union[Symbol, str, BaseContract],
) -> Security
Creates a new benchmark security