Skip to content

Controls

QuantConnect.Packets.Controls

Controls()

Bases: Object

Specifies values used to control algorithm limits

Initializes a new default instance of the Controls class

maximum_runtime_minutes

maximum_runtime_minutes: int

The maximum runtime in minutes

minute_limit

minute_limit: int

The maximum number of minute symbols

second_limit

second_limit: int

The maximum number of second symbols

tick_limit

tick_limit: int

The maximum number of tick symbol

ram_allocation

ram_allocation: int

Ram allocation for this algorithm in MB

cpu_allocation

cpu_allocation: float

CPU allocation for this algorithm

live_log_limit

live_log_limit: int

The user live log limit

backtest_log_limit

backtest_log_limit: int

The user backtesting log limit

daily_log_limit

daily_log_limit: int

The daily log limit of a user

remaining_log_allowance

remaining_log_allowance: int

The remaining log allowance for a user

backtesting_max_insights

backtesting_max_insights: int

Maximimum number of insights we'll store and score in a single backtest

backtesting_max_orders

backtesting_max_orders: int

Maximimum number of orders we'll allow in a backtest.

maximum_data_points_per_chart_series

maximum_data_points_per_chart_series: int

Limits the amount of data points per chart series. Applies only for backtesting

maximum_chart_series

maximum_chart_series: int

Limits the amount of chart series. Applies only for backtesting

second_time_out

second_time_out: int

The amount seconds used for timeout limits

training_limits

Sets parameters used for determining the behavior of the leaky bucket algorithm that controls how much time is available for an algorithm to use the training feature.

storage_limit

storage_limit: int

Limits the total size of storage used by IObjectStore

storage_file_count

storage_file_count: int

Limits the number of files to be held under the IObjectStore

storage_access

storage_access: StoragePermissions

Holds the permissions for the object store

persistence_interval_seconds

persistence_interval_seconds: int

The interval over which the IObjectStore will persistence the contents of the object store

credit_cost

credit_cost: float

The cost associated with running this job