price_fixed_rate_bond
Price a fixed-rate bond using user-supplied market data to get NPV, clean/dirty price, yield, and durations.
Instructions
Price a fixed-rate bond (POST /price-fixed-rate-bond).
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.
market: as in price_vanilla_swap.
preset: a preset with a fixed_rate_bond block (EUR_FIXED_BOND).
face_amount: > 0. coupon_rate: annual decimal coupon.
issue_date: YYYY-MM-DD or spot (as_of + preset settlement days).
maturity_date: YYYY-MM-DD, or tenor (engine-resolved from the
effective date, Unadjusted).
effective_date: first accrual date (default: = issue_date).
discounting_curve: curve id in the market.
overrides: settlement_days, frequency, accrual_day_counter,
payment_convention, redemption, notionals, schedule rules.
yield_overrides: how the yield is quoted (day_counter/compounding/frequency).
include_details / include_flows: pricing.options.bond_pricing_details / _flows.
summary.bonds: npv, clean/dirty price, accrued, yield, durations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| tenor | No | ||
| market | Yes | ||
| preset | Yes | ||
| overrides | No | ||
| issue_date | Yes | ||
| request_id | No | ||
| coupon_rate | Yes | ||
| face_amount | Yes | ||
| include_flows | No | ||
| maturity_date | No | ||
| effective_date | No | ||
| include_details | No | ||
| yield_overrides | No | ||
| additional_trades | No | ||
| discounting_curve | Yes | ||
| calendar_overrides | No | ||
| market_data_source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||