IRegisteredSecurityDataTypesProvider
QuantConnect.Securities.IRegisteredSecurityDataTypesProvider
Provides the set of base data types registered in the algorithm
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]
Determines if the specified type is registered or not and returns it
Returns:
| Type | Description |
|---|---|
Tuple[bool, Type]
|
True if the type was previously registered. |
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. |