modular_trader.framework.signal_generation.null#

Classes#

NullSignalGeneration

Signal generation strategy that doesn't generate any signals.

Module Contents#

class modular_trader.framework.signal_generation.null.NullSignalGeneration#

Bases: modular_trader.framework.signal_generation.base.BaseSignalGeneration

Inheritance diagram of modular_trader.framework.signal_generation.null.NullSignalGeneration

Signal generation strategy that doesn’t generate any signals.

This signal generation strategy is useful for testing or debugging purposes.

run(context: modular_trader.context.Context, universe: modular_trader.universe.AssetUniverse) Iterable[None]#

Returns an empty iterable of signals.

Parameters:
Return type:

Iterable[None]