Skip to main content

Purpose

The risk engine calculates mark and Greeks data used across Joyride market responses:
  • mark price
  • mark IV
  • mark source
  • quote age
  • spread quality
  • delta, gamma, vega, theta, and rho

HTTP endpoints

Risk outputs are exposed through the public exchange API (https://joyride.exchange/api).

GET /v1/market/greeks

Returns Greeks for every tracked instrument.

GET /v1/market/greeks/{id}

Returns Greeks for a single instrument.

GET /health

Service health check:
{ "status": "ok" }

Important fields

FieldMeaning
mark_priceTheoretical option price in USD
mark_ivIV used to derive the mark
mark_sourceConfidence / derivation source for the IV
quote_age_msAge of the quote snapshot used
spread_bpsBid-ask spread in basis points
greeks.*Per-unit sensitivities

Mark source values

ValueMeaning
two_sided_midIV solved from a live two-sided book
carry_forwardLast good IV reused within a time window
surface_fallbackSkew-model fallback used because no better quote existed
The mark_source field is important for downstream trust decisions. The SDK exposes it directly.