calculate_quant_finance_model
Runs quant finance models such as Kelly Criterion, AMM slippage, compound APY, and Black-Scholes to compute deterministic results from your numeric inputs on demand.
Instructions
Run a quant finance model: Kelly Criterion, AMM slippage, compound APY or Black-Scholes.
Cost: $0.002 USDC per call.
Freshness: computed on demand (deterministic, no staleness).
Inputs: calc_type - model name, for example 'kelly_criterion', 'amm_slippage', 'compound_apy' or 'black_scholes'; params - object with that model's numeric inputs, for example {"spot": 100, "strike": 105, "rate": 0.05, "volatility": 0.2, "years": 1} for Black-Scholes.
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": {
"calc_type": "<calc_type>",
"params": "<params>"
},
"name": "calculate_quant_finance_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes | ||
| calc_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||