modular_trader.framework.signal_generation.null#
Classes#
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
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:
context (modular_trader.context.Context)
universe (modular_trader.universe.AssetUniverse)
- Return type:
Iterable[None]