> For the complete documentation index, see [llms.txt](https://ottodata.gitbook.io/ottodata-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ottodata.gitbook.io/ottodata-docs/concepts/overnight-and-weekend-gaps.md).

# Overnight & weekend gaps

## Overnight & weekend gaps

### What a "session" is

NASDAQ closes at 16:00 ET and reopens at 09:30 ET. Hood tokens keep trading in between. Otto slices that off-hours time into **sessions**:

* **Overnight** — close → next open (weeknights)
* **Weekend** — Friday close → Monday open

For every session and every ticker, Otto records how far the on-chain price wandered from the last NASDAQ close: the mean, min, max and final gap in basis points.

### The statistics

[`GET /v1/gaps/summary`](https://ottodata.gitbook.io/ottodata-docs/api-reference/gaps) aggregates the last N days per ticker:

```json
{
  "ticker": "AAPL",
  "overnight": {
    "n": 600,
    "mean_bps": 174.01,
    "min_bps": -55.78,
    "max_bps": 425.27,
    "last_bps": 22.9
  }
}
```

Read this as: over the sample, AAPL's on-chain price averaged a **+174 bps** premium to the last close during off-hours, peaking at +425 bps.

{% hint style="info" %}
A structural premium is expected: the Chainlink feed is a total-return price (dividends reinvested), so it sits above the raw close even with zero overnight news. The interesting signal is the *variation* — sessions where the gap blows out beyond its usual range.
{% endhint %}

### Live view

[`GET /v1/gaps/live`](https://ottodata.gitbook.io/ottodata-docs/api-reference/gaps) answers "what's moving *right now*?" during off-hours: every ticker ranked by current gap vs last close. During market hours it returns `{"session": "regular"}`.

### Session history

[`GET /v1/gaps/{ticker}`](https://ottodata.gitbook.io/ottodata-docs/api-reference/gaps) returns one row per session — useful for studying how a specific ticker behaves overnight vs weekends, or around earnings.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://ottodata.gitbook.io/ottodata-docs/concepts/overnight-and-weekend-gaps.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
