Skip to content
HALOWERK

Financial Market Data

coupon bond shock curvature

Bond shock curvature compares exact repricing with first- and second-order changes for a specified yield shock. Use it when an agent needs testing the accuracy of duration and convexity approximations.

POST https://finanz.halowerk.com/v1/coupon-bond-shock-curvature

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
periodsintegerYes
frequencyintegerYes
coupon_pctnumberYes
yield_pctnumberYes
shock_bpnumberYes
Show full input schema
{
  "type": "object",
  "properties": {
    "periods": {
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "frequency": {
      "type": "integer",
      "enum": [
        1,
        2,
        4,
        12
      ]
    },
    "coupon_pct": {
      "type": "number",
      "minimum": 0,
      "maximum": 100
    },
    "yield_pct": {
      "type": "number",
      "minimum": -5,
      "maximum": 100
    },
    "shock_bp": {
      "type": "number",
      "minimum": -1000,
      "maximum": 1000
    }
  },
  "required": [
    "periods",
    "frequency",
    "coupon_pct",
    "yield_pct",
    "shock_bp"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "periods": 20,
  "frequency": 2,
  "coupon_pct": 4.25,
  "yield_pct": 4.347,
  "shock_bp": 100
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’