/api/public/v1/forecastForecast bands
A lognormal drift projection: the drift and volatility come from the symbol's last 60 daily log returns, and each trading session carries exact 50%, 80% and 95% bands. It extrapolates recent returns; it is not a trained model, so confidence is null, with the reason.
- symbol
- The ticker, e.g. SPY.
- days?
- Trading sessions to project, a whole number from 1 to 90. Default 5.
Request
curl -X POST "https://mali-trw.com/api/public/v1/forecast" \
-H "Authorization: Bearer $MALI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"symbol": "SPY", "days": 2}'
# or: GET /api/public/v1/forecast?symbol=SPY&days=2Example answer
{
"symbol": "SPY",
"as_of": "2026-10-20T14:05:12.481Z",
"model": "lognormal_drift",
"method": "μ/σ of the last 60 daily log returns; bands are exact lognormal quantiles per trading session",
"current_price": 571.2,
"direction": "bullish",
"mu_daily": 0.000412,
"sigma_daily": 0.009871,
"sessions_used": 60,
"horizon": [
{
"session": 1,
"price": 571.4354,
"ci_50": [567.63, 575.26],
"ci_80": [564.24, 578.71],
"ci_95": [560.43, 582.64]
},
{
"session": 2,
"price": 571.6709,
"ci_50": [566.31, 577.07],
"ci_80": [561.53, 581.98],
"ci_95": [556.18, 587.6]
}
],
"confidence": null,
"confidence_unavailable": "This forecast extrapolates the last 60 daily returns; it is not a trained model, so no confidence is reported.",
"disclaimer": "Informational only. Nothing here is financial, investment, trading, tax or legal advice, and it can be wrong, incomplete or delayed. Use of the MALI API is governed by the MALI EULA, Disclaimer and Risk Disclosure.",
"terms": [
"/legal/eula",
"/legal/disclaimer",
"/legal/risk-disclosure"
]
}