Skip to content

SetupHandlerParameters

QuantConnect.Lean.Engine.Setup.SetupHandlerParameters

SetupHandlerParameters(
    universe_selection: UniverseSelection,
    algorithm: IAlgorithm,
    brokerage: IBrokerage,
    algorithm_node_packet: AlgorithmNodePacket,
    result_handler: IResultHandler,
    transaction_handler: ITransactionHandler,
    real_time_handler: IRealTimeHandler,
    data_cache_provider: IDataCacheProvider,
    map_file_provider: IMapFileProvider,
)

Bases: Object

Defines the parameters for ISetupHandler

Creates a new instance

Parameters:

Name Type Description Default
universe_selection UniverseSelection

The universe selection instance

required
algorithm IAlgorithm

Algorithm instance

required
brokerage IBrokerage

New brokerage output instance

required
algorithm_node_packet AlgorithmNodePacket

Algorithm job task

required
result_handler IResultHandler

The configured result handler

required
transaction_handler ITransactionHandler

The configured transaction handler

required
real_time_handler IRealTimeHandler

The configured real time handler

required
data_cache_provider IDataCacheProvider

The configured data cache provider

required
map_file_provider IMapFileProvider

The map file provider

required

universe_selection

universe_selection: UniverseSelection

Gets the universe selection

algorithm

algorithm: IAlgorithm

Gets the algorithm

brokerage

brokerage: IBrokerage

Gets the Brokerage

algorithm_node_packet

algorithm_node_packet: AlgorithmNodePacket

Gets the algorithm node packet

result_handler

result_handler: IResultHandler

Gets the algorithm node packet

transaction_handler

transaction_handler: ITransactionHandler

Gets the TransactionHandler

real_time_handler

real_time_handler: IRealTimeHandler

Gets the RealTimeHandler

data_cache_provider

data_cache_provider: IDataCacheProvider

Gets the DataCacheProvider

map_file_provider

map_file_provider: IMapFileProvider

The map file provider instance of the algorithm