PythonActivator
QuantConnect.Python.PythonActivator
PythonActivator(type: Type, value: Any)
Bases: Object
Provides methods for creating new instances of python custom data objects
Creates a new instance of PythonActivator
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
type
|
Type
|
System.Type of the object we wish to create |
required |
value
|
Any
|
PyObject that contains the python type |
required |
type
type: Type
System.Type of the object we wish to create
factory
factory: Callable[[List[Object]], Object]
Method to return an instance of object