factor_agent.gate.vocabulary.Vocabulary.load#

classmethod Vocabulary.load(fields, operators, operator_modules=(), columns=None, intraday_columns=None)[source]#

Read the field files fields and the operator file operators.

operator_modules are the modules besides KunQuant and quantlab.factor a class or a callable may come from; columns, when given, are the price dataset’s columns, among which every daily field’s column must be, and intraday_columns the intraday dataset’s (the session inputs included), among which every intraday field’s must be.

Raises:
VocabularyError

With every problem of the files.