nqs_sdk.interfaces.protocol_factory module

class nqs_sdk.interfaces.protocol_factory.ProtocolFactory[source]

Bases: ABC

abstractmethod id()[source]
Return type:

str

simulation_schema()[source]
Return type:

str

backtest_schema()[source]
Return type:

str

common_schema()[source]
Return type:

str

abstractmethod build(clock, builder_state, common_config, backtest, config)[source]
Return type:

Tuple[List[Protocol], List[TxGenerator]]