finance.black_scholes
Calculate European call or put option prices and delta, gamma, vega, theta, and rho from spot, strike, time to expiry, rate, volatility, and dividend yield.
Instructions
Black-Scholes 유럽형 옵션의 가격과 델타, 감마, 베가, 세타, 로를 계산한다. option_type 은 call 또는 put, rate, sigma, dividend_yield 는 연율 소수, time_to_expiry 는 연 단위, 모두 Decimal 문자열이며 결과는 유효숫자 12자리. 베가는 변동성 1.0 당 변화량, 세타는 연 단위이고 미국형 옵션이나 조기행사에는 맞지 않는다.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"spot": "<spot>",
"strike": "<strike>",
"time_to_expiry": "<time_to_expiry>",
"rate": "<rate>",
"sigma": "<sigma>",
"option_type": "<option_type>"
},
"name": "finance.black_scholes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | ||
| spot | Yes | ||
| sigma | Yes | ||
| strike | Yes | ||
| option_type | Yes | ||
| dividend_yield | No | 0 | |
| time_to_expiry | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rho | Yes | ||
| vega | Yes | ||
| _meta | No | 서버가 붙이는 영수증(integrity), 엔진, 힌트 | |
| delta | Yes | ||
| gamma | Yes | ||
| price | Yes | ||
| theta | Yes | ||
| trace | Yes | 계산 근거(tool, formula, inputs, steps, output) |