price_equity_option
Prices vanilla equity options (Call/Put; European, American, Bermudan) from user-supplied market data and returns NPV plus delta, gamma, vega, theta, and rho.
Instructions
Price a vanilla equity option (POST /price-equity-option).
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.
spot: spot price (a Price quote the tool adds) or a quote id in the market.
strike, expiry (YYYY-MM-DD), option_type Call | Put.
vol: {constant: 0.2, id?} (constant BlackVolSpec added) or a surface id.
rate_curve: {rate, end_date, id?} (flat continuous zero curve from as_of to
end_date, added) or a curve id in the market.
dividend_yield: same shape ({rate: 0.0, end_date} for no dividends); the
engine requires a dividend curve id on every underlying.
preset: a preset with an equity_option block (default EUR_EQUITY).
exercise: European | American (window exercise_start..expiry;
start default = as_of) | Bermudan (exercise_dates, last = expiry).
model: {type: BlackScholesAnalytic|BinomialCRR, binomial_steps?, id?} or a
model id; default BlackScholesAnalytic (id bs_analytic).
discrete_dividends: [{ex_date, amount}] cash dividends on the underlying.
market: optional; a pricing block / market with curves, quotes or
surfaces to reference by id. as_of is required without it.
summary.options: npv, delta, gamma, vega, theta, rho.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vol | Yes | ||
| spot | Yes | ||
| as_of | No | ||
| model | No | ||
| expiry | Yes | ||
| market | No | ||
| preset | No | EUR_EQUITY | |
| strike | Yes | ||
| exercise | No | European | |
| quantity | No | ||
| trade_id | No | ||
| rate_curve | Yes | ||
| request_id | No | ||
| option_type | Yes | ||
| underlying_id | No | EQ | |
| dividend_yield | Yes | ||
| exercise_dates | No | ||
| exercise_start | No | ||
| additional_trades | No | ||
| calendar_overrides | No | ||
| discrete_dividends | No | ||
| market_data_source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||