Skip to content

AlgorithmUtils

QuantConnect.AlgorithmUtils

Bases: Object

Provides utility methods for or related to algorithms

seed_securities

seed_securities(
    securities: Sequence[Security], algorithm: IAlgorithm
) -> None

Seeds the provided securities with their last known prices from the algorithm

Parameters:

Name Type Description Default
securities Sequence[Security]

The securities to seed

required
algorithm IAlgorithm

The algorithm instance

required