factor_agent.config.GateConfig#

class GateConfig(timeout_seconds=10.0, memory_mb=1024, max_nodes=200, max_free_parameter_ratio=0.5, max_base_fields=5, max_common_subtree_nodes=5)[source]#

Bases: object

The Gate’s sandbox limits and graph constraints.

Attributes#

GateConfig.max_base_fields = 5#

Distinct input fields (open, high, low, close, volume, vwap, amount) a candidate may read.

GateConfig.max_common_subtree_nodes = 5#

Nodes of the largest subtree a candidate may share with a zoo factor.

GateConfig.max_free_parameter_ratio = 0.5#

Hand-set constants (other than 0 and +-1) per operator.

GateConfig.max_nodes = 200#

Nodes a candidate’s graph may have.

GateConfig.memory_mb = 1024#

Memory, in MB, the sandboxed graph build may use.

GateConfig.timeout_seconds = 10.0#

Seconds the sandboxed graph build may take, counted from when the sandbox is ready.