generateForecast
chainalign-backend / services/HybridForecastingService / generateForecast
Function: generateForecast()
generateForecast(
forecastParams):Promise<any>
Defined in: services/HybridForecastingService.js:73
Generates a hybrid forecast for a given scenario. This is the main orchestrator for M26.
Parameters
forecastParams
The parameters for the forecast.
confidence_levels
any[] = ...
Confidence intervals (FSD v3.1).
forecast_horizon
string
Time horizon (FSD v3.1).
geographic_scope
any[]
Geographic regions (FSD v3.1).
marketIntelligenceQuery
any
Structured query for market intelligence (legacy, optional).
product_hierarchy
any[]
Product hierarchy path (FSD v3.1).
scenario_assumptions
any
Scenario flags (FSD v3.1).
skuId
string
The SKU ID for edge case detection (optional).
tenantId
string
The tenant ID.
user
any
The user object.
Returns
Promise<any>
The generated hybrid forecast in FSD v3.1 format.