factor_agent.zoo.Zoo#

class Zoo(entries=(), not_covered=())[source]#

Bases: object

The factors the Gate checks originality against.

Parameters:
entriessequence of ZooEntry

The factors with a graph.

not_coveredsequence of str

Labels of reference and known factors without a KunQuant graph.

Methods#

Zoo.add

Add a factor the campaign has just accepted, and return its entry.

Zoo.from_existing

Return the zoo of the existing factors: reference and known, quantlab factor objects.

Attributes#

Zoo.covered#

The labels of the factors compared by graph.

Zoo.entries#

Every factor with a graph: reference factors, then known factors, then accepted ones.

Zoo.not_covered#

The labels of the reference and known factors the graph comparison cannot cover.