Skip to content

RegisteredSecurityDataTypesProvider

QuantConnect.Securities.RegisteredSecurityDataTypesProvider

Bases: Object, IRegisteredSecurityDataTypesProvider

Provides an implementation of IRegisteredSecurityDataTypesProvider that permits the consumer to modify the expected types

NULL

Provides a reference to an instance of IRegisteredSecurityDataTypesProvider that contains no registered types

register_type

register_type(type: Type) -> bool

Registers the specified type w/ the provider

Returns:

Type Description
bool

True if the type was previously not registered.

try_get_type

try_get_type(
    name: str, type: Optional[Type]
) -> Tuple[bool, Type]

Gets an enumerable of data types expected to be contained in a DynamicSecurityData instance

unregister_type

unregister_type(type: Type) -> bool

Removes the registration for the specified type

Returns:

Type Description
bool

True if the type was previously registered.