# Equity Indices

### External Price Derivation

For equity indices such as SP500® and XYZ100, the relayer consumes executable quotes for both the underlying spot index and the corresponding traditional (dated) equity index futures from institutional liquidity providers. During the cash session, the spot index value is used directly as the oracle price. Outside the cash session, the futures price is discounted to an implied spot value using an empirically observed discount rate. This two-source design extends spot pricing coverage.

#### Cash Session

During the cash session, the spot index value serves as the oracle price. Simultaneously, the relayer observes the spot–futures basis and derives the implied annualized net discount rate:

$$
d\_t = \frac{1}{T\_t} \ln\left(\frac{F\_t}{S\_t}\right)
$$

where $$F\_t$$​ is the concurrent futures price, $$S\_t$$​ is the spot index value, and $$T\_t$$​ is the time to futures settlement in years. The net discount rate $$d = r-q$$ implicitly captures the prevailing interest rate $$r$$ and forward dividend yield $$q$$ without requiring either to be specified independently.

The relayer maintains a continuous-time exponentially weighted moving average of $$d\_t$$ with a time constant $$\tau = 1$$ hour:

$$
\bar{d}*t = \beta\_t, \bar{d}*{t^-} + (1 - \beta\_t) d\_t, \qquad \beta\_t = e^{-\Delta t / \tau}
$$

where $$\Delta t = t - t\_{\text{prev}}$$​ is the elapsed time since the prior update. As a protective measure, each EMA update is clamped such that $$|\bar{d}*t - \bar{d}*{t^-}| \leq 0.01\text{ bps}$$, ensuring no single observation produces a disproportionate rate adjustment.

#### Extended Session

Outside the cash session — but within futures trading hours — the oracle price is derived by discounting the futures price at the prevailing EMA discount rate:

$$
S\_t = F\_t e^{-\bar{d}\_t T\_t}
$$

The EMA rate established during the prior cash session carries forward unchanged until the next cash session opens, at which point the EMA resumes updating with live basis observations.

#### Parameters

* Discount Rate EMA Time Constant $$(\tau)$$ : 1 hour
* Discount Rate EMA Clamp: 0.01 bps per update

| Underlying Suffix | Active Until (applies to both SP500 and XYZ100) | Expiration (applies to both SP500 and XYZ100) |
| ----------------- | ----------------------------------------------- | --------------------------------------------- |
| H6                | `2026-03-16T14:00:00 UTC`                       | `2026-03-20T13:30:00 UTC`                     |
| M6                | `2026-06-15T14:00:00 UTC`                       | `2026-06-18T13:30:00 UTC`                     |
| U6                | `2026-09-14T14:00:00 UTC`                       | `2026-09-18T13:30:00 UTC`                     |
| Z6                | `2026-12-14T15:00:00 UTC`                       | `2026-12-18T14:30:00 UTC`                     |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trade.xyz/asset-directory/equity-indices.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
