Skip to content

ICommand

QuantConnect.Commands.ICommand

Represents a command that can be run against a single algorithm

id

id: str

Unique command id

run

run(algorithm: IAlgorithm) -> CommandResultPacket

Runs this command against the specified algorithm instance

Parameters:

Name Type Description Default
algorithm IAlgorithm

The algorithm to run this command against

required