setup_universe#
API documentation for tradeexecutor.cli.universe.setup_universe Python function.
- setup_universe(trading_strategy_api_key, cache_path, max_data_delay_minutes, strategy_factory, execution_context)[source]#
Setup universe loading for a trading strategy.
Intended to bootstrap CLI scripts
We need strategy module loaded and decoded
Extract create_universe() factory from the module
Don’t call the factory yet
- Parameters:
- Return type: