update_universe#

API documentation for tradeexecutor.strategy.pandas_trader.decision_trigger.update_universe Python function.

update_universe(universe, df)[source]#

Update a Trading Universe with a new candle data.

Parameters:
  • df (DataFrame) – Unsorted DataFrame containing data for all trading pairs we are interested in.

  • universe (TradingStrategyUniverse) –

Return type:

TradingStrategyUniverse