price_swaption
Price European, American, or Bermudan swaptions with quantra-mcp using user-supplied market data; get NPV, implied volatility, and risk details.
Instructions
Price a swaption (POST /price-swaption).
Args:
market_data_source: where the market numbers in this call come from. user_pasted
(the user pasted or typed the numbers in this conversation), user_file (the
user attached a file/screenshot the numbers were read from), engine_example
(an engine example's pricing block, only when the user explicitly asked to run
an example), session (a market previously stored in this session, which
itself came from one of the above). There is no value for estimated, recalled or
placeholder data. If you would have to invent numbers, do not call this tool:
ask the user for the data.
preset: a preset with swaption + vanilla_swap blocks (EUR_EURIBOR_6M).
underlying: the swap exercised into, as a VanillaSwapTrade (swap_type,
notional, fixed_rate, effective_date, termination_date | tenor, ...).
effective_date: "spot" = exercise_date + preset settlement days
(engine-resolved). For an OIS underlying set underlying_type OisSwap.
exercise_date: European / American. exercise_dates: Bermudan.
settlement_type: Physical (method default from the preset, PhysicalOTC) or
Cash (give settlement_method: CollateralizedCashPrice | ParYieldCurve).
vol: {constant, type, displacement?, id?}, {expiries, tenors, vols, type, id?} (ATM matrix), {payload_type, payload, id?} (SmileCube /
SabrParams / SabrCalibrate given raw) or a surface id in the market. Built
surfaces are SwaptionVolSpec with the preset's swap_index_id.
model: Black | ShiftedBlack | Bachelier (SwaptionModelSpec added,
id <type>_model), {a, sigma, lattice_steps, id?} (HullWhiteLattice
explicit) or a model id in the market.
include_details: pricing.options.swaption_pricing_details (delta/vega/...).
include_diagnostics: per-SABR-surface diagnostics in the response.
summary.swaptions: npv, implied_volatility, atm_forward, annuity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vol | Yes | ||
| as_of | No | ||
| model | Yes | ||
| market | Yes | ||
| preset | Yes | ||
| request_id | No | ||
| underlying | Yes | ||
| exercise_date | No | ||
| exercise_type | No | European | |
| exercise_dates | No | ||
| include_details | No | ||
| settlement_type | No | Physical | |
| underlying_type | No | VanillaSwap | |
| forwarding_curve | Yes | ||
| additional_trades | No | ||
| discounting_curve | Yes | ||
| settlement_method | No | ||
| calendar_overrides | No | ||
| market_data_source | Yes | ||
| include_diagnostics | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||