> Every Taji docs page as Markdown: https://docs.taji.is/llms.txt

# Cboe: how it works

Cboe publishes one CSV per index on its CDN, each holding that index's whole daily history. Taji takes four of those files, SPX, VIX, VIX1D and VVIX, and serves them as the hub product `index_daily`. The VIX file also serves `$SPX`'s `iv` as the product `statistics`. The plugin is one compiled-in crate, `plugins/cboe-daily`, with one keyless data source and no venue, link form or stream. It reaches one host, `cdn-api.cboe.com`, with one GET per file.

## The vendor

**Hosts.** Cboe serves the files at `https://cdn-api.cboe.com/api/global/us_indices/daily_prices/<SYM>_History.csv`. Cboe's own VIX historical-data page links its VIX and VVIX files at that path, along with VIX9D, OVX, GVZ, VXAPL, VXAZN and VXEEM ([Cboe VIX historical data](https://www.cboe.com/tradable-products/vix/vix-historical-data/), fetched 2026-12-02). That page links no SPX or VIX1D file. Taji reads those two at the same path, as measured in [Behaviour and limits](https://docs.taji.is/catalog/cboe-daily.md#behaviour-and-limits). The older host `cdn.cboe.com` answers each file with a 307 pointing at `cdn-api.cboe.com`. There is one environment: no sandbox, no paper.

**Auth.** None. The files take no key, cookie or header, and there is no account or entitlement.

**API family.** One: a static CSV per symbol, fetched with a plain `GET`. The file has no version, query words or range parameter, so every request returns the entire history. Each row is `DATE,OPEN,HIGH,LOW,CLOSE`, or `DATE,<SYM>` for a close-only index, with dates written `MM/DD/YYYY`. Cboe's page calls the VIX file "daily closing values" and says it is "Updated Daily". The open, high and low columns, the headers, the row counts and the caching headers are measured in [Behaviour and limits](https://docs.taji.is/catalog/cboe-daily.md#behaviour-and-limits), not stated by Cboe.

**Stated limits.** Cboe documents no rate limit and no publish time. Its [Terms and Conditions](https://www.cboe.com/terms) (dated 2022-11-16, fetched 2026-12-02) allow you to "view, print and download one copy of the Materials for your personal non-commercial use". They say you "may not otherwise copy, reproduce, alter, store either in hard copy or in an electronic retrieval system" without Cboe's consent, and that the data "are not intended for trading purposes". The [Use of Content](https://www.cboe.com/use-of-content) page (fetched 2026-12-02) requires a signed licence before any other use of Cboe data. The VIX page adds that the data "is furnished without responsibility for accuracy".

**Implied volatility.** Cboe's [VIX methodology](https://cdn.cboe.com/resources/indices/governance/Volatility_Index_Methodology_Cboe_Volatility_Index.pdf) (fetched 2026-12-04) says the VIX "is designed to measure the market's expectation of 30-day forward looking" volatility, as conveyed by S&P 500 option prices. Its close is quoted in percent, so a close of 18.5 is the `iv` 0.185. Only `index:$SPX` states it: SPY's implied volatility is another provider's.

### Offered, not read

What Taji reads, down to each field it fills, is [`docs/reference/coverage/cboe-daily.md`](https://docs.taji.is/reference/coverage/cboe-daily.md); every CSV column is read, so the decoder drops none. Cboe has no plan: each file below is keyless and free.

| Offered | Endpoint | Source, fetched |
|---|---|---|
| The other volatility indexes' CSVs: VIX9D, OVX, GVZ, VXAPL, VXAZN and VXEEM. `SYMBOLS` in `plugins/cboe-daily/src/lib.rs` admits four. VIX3M, VIX6M, VXN, RVX and VIXEQ are in the README (measured 2026-08-01) but not on Cboe's page, and their headers are unmeasured ([Open](https://docs.taji.is/catalog/cboe-daily.md#open)) | `https://cdn-api.cboe.com/api/global/us_indices/daily_prices/<SYM>_History.csv` | [VIX historical data](https://www.cboe.com/tradable-products/vix/vix-historical-data/), 2026-12-04 |
| `vixarchive.xls` (VIX 1990 to 2003, a span the VIX CSV already holds), `vxocurrent.csv` (VXO, "old methodology", 2004 to January 2021) and `vxoarchive.xls` (VXO 1986 to 2003) | `https://cdn.cboe.com/resources/us/indices/{vixarchive.xls,vxocurrent.csv,vxoarchive.xls}` | [VIX historical data](https://www.cboe.com/tradable-products/vix/vix-historical-data/), 2026-12-04 |
| The `delayed_quotes` chart JSON, which carries open, high, low and close where the SPX and VVIX CSVs carry only the close | `.../delayed_quotes/charts/historical/_<SYM>.json` | README, measured 2026-08-01; not on Cboe's page |
| VIX futures volume, open interest and price history: a web page, not a file | `/markets/us/futures/market-statistics/historical-data/` | [VIX historical data](https://www.cboe.com/tradable-products/vix/vix-historical-data/), 2026-12-04 |
| Cboe DataShop: historical, tick, intraday and daily data across equities, options, ETFs, indices, futures and crypto, including the Cboe Global Indices Feed ("streaming values for 1,600+ indices"), through a REST API, downloads or SFTP. Prices are not on the page | `https://datashop.cboe.com/` | [DataShop](https://datashop.cboe.com/), 2026-12-04 |

## Code map

- `plugins/cboe-daily/taji-plugin.toml`: the manifest, with id `cboe-daily`, `free = true`, one `[[sources]]` and no `[[link]]`.
- `plugins/cboe-daily/src/lib.rs`: read `Plugin::build` first. It also owns the constants `ID`, `HOST`, `SYMBOLS`, `LAG_S` and `FORMAT`, the URL builder `url`, the date parser `date` (an `MM/DD/YYYY` date at 00:00 UTC), and the CSV reader `rows` (five columns are open, high, low and close; two are the close alone).
- `plugins/cboe-daily/src/source.rs`: the `Source` impl `Cboe`, its `FACTS` and its bars row `CAP`. Read `Cboe::get` first, the one place a request leaves the process. `parse` turns a stored page into the rows of a span, and `rows` maps them to `reference::index_daily::Row`.
- `plugins/cboe-daily/src/offer.rs`: `OFFER`, what `data/coverage` shows for the index class.
- `plugins/cboe-daily/tests/hub.rs`: the source driven through a real `Hub` over a `wiremock` vendor and a temp store.
- `plugins/cboe-daily/tests/host.rs`: what `Cboe::new` builds asks `cdn-api.cboe.com`, checked through a loopback proxy.
- `plugins/cboe-daily/tests/poll.rs`: pins `ID`, `HOST`, `LAG_S`, `FORMAT` and `SYMBOLS`.
- `plugins/cboe-daily/ui/mark.png`: the provider's mark.

## How it plugs into Taji

**Composition.** `engine/crates/taji-open/src/lib.rs` adds `cboe_daily::Plugin::default` to the kernel, and `Plugin::build` registers `source::Cboe::new`. The build's `Ties` in `engine/crates/taji-open/ties/src/lib.rs` name `cboe-daily` in its `seat`, `listed`, `board` and `table` orders, at `place` 0. Because its `FACTS.seat` is `Seat::Keyless`, `keyless` in `engine/crates/taji/src/entitlements/link.rs` lists it as linked on every device, with nothing to type. The manifest has no link form.

**Traits.** The plugin implements `taji_plugin::vendor::Source` and nothing else: no `HistoricalData`, `LiveStream`, `VenueReads`, `ExecutionOps` or `Auth`.

- `seat` answers `Seated { history: None, live: None, kept: true }`, so the source serves reads with no client or stream built.
- `probe` answers `None`, so there is no plan to learn and the hub keeps no grants.
- `raw_read` answers `Cboe::get`'s `Raw`, so the hub stores every answer as a pull.
- `read` is the same GET, then `parse`. The hub calls it only where `raw_read` answers `None`, which never happens here.

**`FACTS`** (`plugins/cboe-daily/src/source.rs`):

| Field | Value | What the hub does with it |
|---|---|---|
| `reads` | `(Index, IndexDaily, History)`, `(Index, Statistics, History)` | the reads it routes here |
| `fills` | `(Index, IndexDaily)`: `open`, `high`, `low`; `(Index, Statistics)`: `iv` | the optional columns a row fills: VIX and VIX1D rows fill all three, SPX and VVIX rows none (held by `each_files_rows_fill_what_facts_declares`); a statistics row states `iv` (held by `the_vix_close_is_spxs_iv_as_a_fraction`) |
| `seat` | `Keyless` | seated at boot and at each unlock, listed after every provider holding a credential |
| `formats`, `parse`, `rows` | `cboe-daily-csv-1` | parses a stored page again with no request |
| `permits` | 4 | the provider gate's shared permits: a fifth call waits |
| `available` | `(IndexDaily, 100_800)`, `(Statistics, 100_800)` | the release lag: no row is asked for or served before its stamp plus 28 h; a lag is this provider's alone, so another source's `statistics` is not held back |
| `bars_cap` | `CAP`: no classes or intervals, `cost: Free`, `rate_per_min: 0` | lists it in the bars table as serving no bars |
| `offer` | `OFFER` | the index row of `data/coverage` |

`OFFER` (`plugins/cboe-daily/src/offer.rs`) offers `index_daily` history on the index class, cites the CSV URL as of 2026-11-11, and offers no live or real-time product. Every cell is listed in the [coverage page](https://docs.taji.is/reference/coverage/cboe-daily.md).

**Product and route.** `index_daily` is a platform product (`DataProduct::IndexDaily`, with its row in `substrate/taji-brokerage/src/reference.rs`): `symbol`, `ts_utc`, `open?`, `high?`, `low?`, `close` and `knowable_utc`, keyed on `symbol`, `ts_utc` and `knowable_utc`. Clients read it as `GET /get/index_daily`. It needs `symbols` and `from`, and takes `to` and `at`. The generic `get/<product>` row of the `//!` header of `engine/crates/taji/src/wire/mod.rs` documents the route. An index item may be spelled `index:VIX`, `index:$VIX` or `index:VIX.X`, and all three read as `$VIX`.

| Taji surface | Vendor call | File |
|---|---|---|
| `GET /get/index_daily?symbols=index:$SPX` | `GET /api/global/us_indices/daily_prices/SPX_History.csv` | `plugins/cboe-daily/src/source.rs` (`Cboe::get`) |
| `GET /get/statistics?symbols=index:$SPX` | `GET /api/global/us_indices/daily_prices/VIX_History.csv`, close divided by 100, `stat` `iv`, stamped at the session's UTC midnight, `ts_init` 28 h later | `plugins/cboe-daily/src/source.rs` (`parse`, `statistics_rows`) |
| the same for `$VIX`, `$VIX1D` and `$VVIX` | the same path, with `VIX`, `VIX1D` and `VVIX` | the same |
| a replayed pull (an open, `fake::replayed_range`) | none: the stored page goes through `FACTS.parse` | `plugins/cboe-daily/src/source.rs` (`parse`) |
| `data/coverage`, the `index` row | none | `plugins/cboe-daily/src/offer.rs` |

**One read, from the wire to Cboe and back.** Take `GET /get/index_daily?symbols=index:$VIX&from=…&at=…`.

1. `engine/crates/taji/src/wire/data.rs` (`intercept`, then `parse_reference`) parses the query into a `Get` and hands it to the hub.
2. `engine/crates/taji-trading/src/hub/products.rs` builds the `Unit`, and `serve_range` compares it with the stored span. `released_ask` caps the span at the newest released day: the calendar's last complete day, but never past the day of `now - LAG_S` plus one. Only the missing piece, from the overlap day on, is asked for.
3. `source_read` opens a pull in `pulls.db` and calls `raw::read`, which calls `Cboe::raw_read`.
4. `Cboe::get` turns `$VIX` into `VIX` with `file_symbol` and builds the URL with `url`. It sends one `GET` inside `cx.call`, the provider's gate. The client comes from `taji_brokerage::http::pooled` (`substrate/taji-brokerage/src/http.rs`): redirects are never followed, with a 10 s request timeout. A status other than 2xx becomes `TradingError::Vendor("cboe-daily VIX: <status> <body>")`.
5. The hub stores the page as the pull's raw answer, in format `cboe-daily-csv-1`, with `request` set to `[{"method":"GET","url":…}]`. It then runs `parse`, which reads every row of the whole file with `lib::rows`, keeps those whose `ts_utc` is in `[from, to)`, and stamps each `knowable_utc = ts_utc + LAG_S`.
6. `rows` maps that body to `Rows::IndexDaily`. The hub writes the rows to the store and answers the read as one Arrow IPC batch, cut at `at` on `knowable_utc`.

There are no orders: this plugin has no venue.

## Why it is built this way

- **One GET per released day, not per read.** The file takes no range, so a fetch always costs the whole history. Declaring the lag in `FACTS.available` lets the hub hold a span complete up to the newest released day. A second read that day, a read over a weekend, or a read before Monday's row is released is answered by the store (`a_lagged_range_asked_to_now_costs_one_fetch_a_released_day` in `plugins/cboe-daily/tests/hub.rs`).
- **A 28-hour lag (`LAG_S = 100_800`).** Cboe posted 2026-09-22's row at 21:51 EDT (README, measured 2026-09-25). 28 h after the UTC-midnight stamp is 00:00 EDT, or 23:00 EST, so the declared release falls after the measured post under either offset (`a_row_is_knowable_28_hours_after_its_stamp_on_either_side_of_a_dst_change`). The lag is fixed, not read from `last-modified`, so a replay at any later time gives the same `knowable_utc`, and a read `at` a past instant sees only what was knowable then. Under [ADR 0001](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0001-kernel-computes.md) the kernel computes `knowable_utc` and clients draw it.
- **A redirect is a refusal, never followed.** The file is only ever where `url` says. `cdn.cboe.com` answering 307 to `cdn-api.cboe.com` (measured 2026-11-11) is why `HOST` is the target host itself. The shared `pooled` builder sets `redirect::Policy::none()`, so a moved file surfaces as the vendor's status instead of a silent fetch from wherever it points (`a_307_to_another_host_is_the_vendors_refusal_and_that_host_is_never_asked`).
- **The page is stored as Cboe served it.** `raw_read` keeps the CSV bytes, and `parse` is a free function of the pages, the ask and the pull's time. A stored pull therefore replays to the same span and rows with no request (`a_stored_page_parses_again_with_no_request`). This follows the recipe in the `//!` header of `engine/crates/taji-trading/src/hub/raw.rs`.
- **Close-only rows keep null open, high and low.** SPX and VVIX ship `DATE,<SYM>`. The row carries `open`, `high` and `low` as `None` rather than copying the close into them: values stay the vendor's ([ADR 0007](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0007-vendor-basis-as-given.md)).
- **A product, not a vendor route.** Clients see `index_daily`, never a Cboe path ([ADR 0004](https://github.com/TajiAI/Taji/blob/main/docs/decisions/0004-capabilities-through-the-hub.md)). The product names no vendor, so a second provider of daily index history can declare the same `reads` triple.
- **Four permits and a 10 s timeout, copied from FRED's.** `REQUEST_TIMEOUT` cites `taji-fred` as its model. Cboe states no limit, so the cap of four concurrent GETs is Taji's own bound, not a measured vendor ceiling.
- **No bars.** `CAP` lists no class or interval. The files are one row per day with no volume, and `index_daily` keeps them apart from `bars`, whose rows carry volume and a session.

## Constraints and limits

- **Rate.** Cboe states none, and Taji has measured one GET per symbol at most (see [Open](https://docs.taji.is/catalog/cboe-daily.md#open)). `CAP.rate_per_min` is `0`, so the bars table shows no budget. The real bound is the gate's 4 permits and the one-GET-per-released-day rule. There is no `ratelimit.rs` and no stream cap: the source streams nothing.
- **Release time.** A row is served only once `ts_utc + 100_800` has passed. Before that the hub does not ask for it, and an ask wholly past the newest released day answers no rows and makes no fetch (`a_lagged_ask_wholly_past_the_release_is_no_rows_and_no_fetch`). The measured post time and its open DST question are in [Behaviour and limits](https://docs.taji.is/catalog/cboe-daily.md#behaviour-and-limits).
- **Symbology.** An `index_daily` ask must be class `index` and one of `$SPX`, `$VIX`, `$VIX1D` or `$VVIX`; a `statistics` ask, `$SPX` alone. Anything else is refused before any request with `TradingError::NoSource("cboe-daily reads $SPX, $VIX, $VIX1D, $VVIX, not <asked>")`. The wire accepts the `$` and `.X` spellings and normalises them first.
- **Shape refusals.** A row with neither 2 nor 5 columns, a cell that is not a number, or a date that is not `MM/DD/YYYY` fails the whole parse; a bad column count or number names the symbol, a bad date names only its text. A pull holding more than one page fails as `cboe-daily: <n> pages, not one`.
- **Vendor errors.** A non-2xx status, including any 3xx, is `TradingError::Vendor` carrying the status and the body's text. On a top-up, the hub answers the rows it holds with that error beside them and keeps the stored span (`a_500_answers_the_held_rows_with_the_vendors_words`).
- **Volume and intraday.** The files carry no volume and no intraday rows. Row counts, first dates and caching headers per symbol are in [Behaviour and limits](https://docs.taji.is/catalog/cboe-daily.md#behaviour-and-limits).
- **Terms.** Cboe's terms grant personal, non-commercial use of a downloaded copy (see [The vendor](#the-vendor)). The hub stores every page as a pull: `FACTS.stores_none` is false.

## Examples

**A vendor answer.** This is the made-up CSV body of `a_lagged_pull_replays_to_the_span_it_wrote` (`plugins/cboe-daily/tests/hub.rs`), in Cboe's five-column shape. The header line and the `MM/DD/YYYY` dates match the live file (README, measured 2026-09-25).

```text
DATE,OPEN,HIGH,LOW,CLOSE
09/08/2026,15,16,14,15.5
09/09/2026,15.5,16,15,15.75
…
09/15/2026,15.5,16,15,16
```

**The request the pull keeps.** `a_stored_page_parses_again_with_no_request` (`plugins/cboe-daily/tests/hub.rs`) asserts that a pull's `format` is `cboe-daily-csv-1`, that its body is the page byte for byte, and that its `request` is the one GET, with the base being the test's local vendor:

```json
[{ "method": "GET", "url": "<base>/api/global/us_indices/daily_prices/VIX_History.csv" }]
```

**The Taji call and the kernel's answer.** `cboe_daily_reads_over_the_wire_cut_at_at` (`engine/crates/taji/src/wire/data.rs`) mounts this body on a local Cboe:

```text
DATE,OPEN,HIGH,LOW,CLOSE
10/29/2026,15,17,14,16
10/30/2026,16,18,15,17
11/02/2026,17,19,16,18
11/03/2026,18,20,17,19
```

The test then reads it over the wire, with `from` at 2026-10-26 00:00 UTC and `at` at 2026-11-03 04:00 UTC, the moment Monday's row is released:

```text
GET /get/index_daily?symbols=index:%24VIX&from=1792972800&at=1793678400
```

The answer is 200, one Arrow batch. Its `ts_utc` and `knowable_utc` columns, as the test asserts them:

| `ts_utc` | `knowable_utc` |
|---|---|
| 1793232000 (2026-10-29) | 1793332800 |
| 1793318400 (2026-10-30) | 1793419200 |
| 1793577600 (2026-11-02) | 1793678400 |

The same read with `at=1793678399`, one second earlier, leaves out the 2026-11-02 row. It is answered by the store, so the vendor sees one request in total. The 2026-11-03 row is never served: it is not knowable until 2026-11-04 04:00 UTC.

**What the kernel says it serves.** This is the index entry for `cboe-daily` in the wire fixture `engine/crates/taji/tests/fixtures/wire/data-coverage.json`, trimmed:

```json
{
  "class": "index", "cost": "free", "provider": "cboe-daily", "rate_per_min": 0,
  "offered_data": {
    "as_of": "2026-11-11", "history": ["index_daily"], "live": [],
    "note": "each index's daily close, and the open, high and low of VIX and VIX1D, and nothing else: no bars, quotes or ticks",
    "source": "https://cdn-api.cboe.com/api/global/us_indices/daily_prices/<SYM>_History.csv"
  },
  "reads": { "history": ["index_daily"], "live": [], "more": [], "realtime": [] },
  "serves": true, …
}
```

The product's words come from `engine/crates/taji/tests/fixtures/wire/data-products.json`:

```json
{"classes": ["index"], "product": "index_daily", "requires": ["symbols", "from"], "takes": ["symbols", "from", "to", "at"]}
```

**A refusal.** No capture yet. The 307 test in `plugins/cboe-daily/tests/hub.rs` asserts that the error contains `307` and that the redirect target is never asked. A live 307 from `cdn.cboe.com` was observed once with `curl` (README, 2026-11-11), and no file keeps its text.

## Testing

No fixture directory exists. Every offline test builds its CSV in code and serves it from `wiremock`.

- **Offline, no network:** `cargo test -p cboe-daily`. This runs:
  - the `date` unit test in `plugins/cboe-daily/src/lib.rs`, and in `src/source.rs` the ones holding `FACTS.fills` to the rows a five-column and a two-column file decode and to the `iv` rows of a VIX file;
  - `plugins/cboe-daily/tests/hub.rs`: one GET per released day, the held rows on a 500, the top-up and restated-row replace, the 302 and 307 refusals, the 28 h lag across DST, an `iv` read before Cboe posts the day, the replay of a stored page, the lagged-range rules, and the four permits;
  - `plugins/cboe-daily/tests/host.rs`: `Cboe::new` asks `CONNECT cdn-api.cboe.com:443` through a loopback proxy that answers nothing. It is its own binary because it sets `HTTPS_PROXY`.
  - `plugins/cboe-daily/tests/poll.rs`: the pinned constants.
- **Over the wire, offline:** `cargo test -p taji --lib cboe_daily_reads_over_the_wire_cut_at_at`.
- **Against Cboe, keyless:** `cargo test -p taji-open --test vendor_live cboe -- --ignored --nocapture`. It links `cboe-daily` on a scratch kernel and reads `index_daily` of `$SPX` and `$VIX` over the last 30 days. It checks that rows are present, that `ts_utc` is ordered, and that the symbol is the one asked for. It prints `CELL cboe-daily <step> <outcome>` per step. `engine/crates/taji-open/scripts/vendor_live.sh cboe-daily` runs the same leg and tabulates its cells; that script exits 2 without a Python (`make setup`). It needs no key and places no order.

## References

Each fetched 2026-12-02.

- [Cboe: Historical Data for Cboe VIX Index and Other Volatility Indices](https://www.cboe.com/tradable-products/vix/vix-historical-data/): the `daily_prices/<SYM>_History.csv` links, "Updated Daily", the accuracy disclaimer.
- [Cboe: Terms and Conditions](https://www.cboe.com/terms) (dated 2022-11-16): personal non-commercial use, storage and redistribution.
- [Cboe: Use of Content](https://www.cboe.com/use-of-content): a licence before other use of Cboe data.
- [Cboe DataShop](https://datashop.cboe.com/): bought history and feeds, not used.
- [Measured behaviour](https://docs.taji.is/catalog/cboe-daily.md#behaviour-and-limits) and [what is unmeasured](https://docs.taji.is/catalog/cboe-daily.md#open) of this plugin.
- [Coverage, cell by cell](https://docs.taji.is/reference/coverage/cboe-daily.md).
- [Write a compiled-in provider](https://docs.taji.is/plugins/provider.md).
