Setup
Model Selection
With litellm, you can use any supported model string:/, it’s passed directly to litellm. Otherwise, the provider prefix is added automatically.
Standalone Forecast
Scan for Edges
Pipeline Mode
Integrate LLM forecasting into yourhz.run() pipeline:
llm_signal() pipeline function:
- Refreshes the LLM forecast every N cycles
- Injects
ctx.params["llm_forecast"](LLMForecast) andctx.params["llm_edge_bps"](float) - Caches results between refreshes
Configuration
News Sources
The engine fetches news from four sources:
All are optional. Without news, the LLM forecasts based on the market question alone. Exa.ai provides semantic search (good for finding contextual articles), while Tavily provides real-time web search.