www.brainiac.software/api/v1/options-analytics/black-scholes-greeks
Price a European option with Black-Scholes-Merton and return delta, gamma, vega, theta, rho, vanna and charm from caller-supplied spot, strike, time, rate, dividend yield and volatility. Docs: https://www.brainiac.software/api/options-analytics/black-scholes-greeks
POST
https://www.brainiac.software/api/v1/options-analytics/black-scholes-greeksUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://www.brainiac.software/api/v1/options-analytics/black-scholes-greeks", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"dividendYield":0,"greeks":["delta","gamma","vega","theta","rho","vanna","charm"],"rate":0.05,"sigma":0.2,"spot":49,"strike":50,"timeYears":0.384615,"type":"call"}),
});
console.log(await res.json());Example input
{
"dividendYield": 0,
"greeks": [
"delta",
"gamma",
"vega",
"theta",
"rho",
"vanna",
"charm"
],
"rate": 0.05,
"sigma": 0.2,
"spot": 49,
"strike": 50,
"timeYears": 0.384615,
"type": "call"
}