Skip to content

Vix Synthetic

Family: Volatility

What it computes

Emits VixSyntheticTick ticks carrying vix, interpolated_variance, near_variance, far_variance off chain snapshot (multi-expiration).

Available on the live and replay drives. The historical drive fails closed with KAIROS_ERR_HISTORICAL_UNWIRED until the relevant cache is hydrated externally.

Methodology

Demeterfi-Derman-Kamal-Zou (1999) 30-day synthetic VIX over the bracketing-expiration OTM chain time-interpolated to the constant-maturity horizon per CBOE VIX (2023) whitepaper §3.4.

See the methodology overview for the citation index.

Inputs

Chain snapshot (multi-expiration).

Key outputs

Vix, interpolated_variance, near_variance, far_variance. The full field set is in the tick table below.

Output schema (VixSyntheticTick)

The field / type / description table below is regenerated from the VixSyntheticTick Rust source by docs-site/scripts/inject-doc-tables.ts on every npm run docs:build. Do not hand-edit between the sentinels.

FieldTypeDescription
symbolArc<str>Underlying symbol (interned).
datei32Trading-session date (YYYYMMDD) at emission time.
ms_of_dayi32Milliseconds since midnight at emission time.
near_expirationi32Near expiration YYYYMMDD that anchored sigma^2(T_1).
far_expirationi32Far expiration YYYYMMDD that anchored sigma^2(T_2).
near_tenor_yearsf64T_1 in calendar years.
far_tenor_yearsf64T_2 in calendar years.
near_variancef64sigma^2(T_1).
far_variancef64sigma^2(T_2).
interpolated_variancef6430-day time-interpolated variance.
vixf64Synthetic VIX reading 100 * sqrt(sigma^2_30d * 365/30).

Configuration (VixSyntheticParams)

Regenerated from the VixSyntheticParams Rust source — see the note above.

FieldTypeDescription
contractsSecurityFilterUnderlying symbols the subscription tracks.
conditionsConditionPolicyTrade-condition admission policy. Retained for surface consistency.
venuesExchangeFilterExchange / venue admission policy.
daily_closeArc<DailyCloseCache>Boot-time hydrated daily-close history. The empty default is a placeholder — the analytic's kernel consumes a chain snapshot rather than the daily-close history, but the cache slot is retained so the DefaultSpec hook can fail closed with the same documented cache-dependency error the other vol analytics surface.
min_strikes_per_expirationi32Minimum number of admitted strikes per expiration for the strip integration to publish a real-valued variance. Defaults to [DEFAULT_MIN_STRIKES_PER_EXP] (5).
risk_free_ratef64Risk-free rate (annualised continuously compounded) for the e^{rT} scale on every strip contribution and the parity forward. 0.0 selects the institutional default of r = 0 — sufficient for the short-tenor regime where r·T is small.

Example

Python

python
import kairos_thetadata as kt

client = kt.Client.connect(kt.Credentials.from_env())

def on_event(row):
    print(row)

sub = client.live().vix_synthetic(["SPX"]).on_event(on_event)
sub.wait(timeout_seconds=60.0)

TypeScript

typescript
import { Client, Credentials } from "kairos-thetadata";

const client = await Client.connect(Credentials.fromEnv());

await client
  .live()
  .vixSynthetic(["SPX"])
  .onEvent((tick) => {
    console.log(tick);
  });

Rust

rust
// Cargo.toml:
//   kairos = "0.1"

use kairos::{Client, VixSyntheticRow};

# fn run() -> Result<(), Box<dyn std::error::Error>> {
let client = Client::connect(("me@example.com", "secret"))?;

let sub = client
    .live()
    .vix_synthetic(["SPX"])
    .on_event(|row: &VixSyntheticRow| println!("near_expiration={} far_expiration={}", row.near_expiration, row.far_expiration))?;
// ... later ...
sub.unsubscribe();
# Ok(())
# }

Proprietary. All rights reserved.