Trading and portfolio math: returns and CAGR, volatility, Sharpe and Sortino, max drawd…
Trading and portfolio math: returns and CAGR, volatility, Sharpe and Sortino, max drawdown, VaR/CVaR, beta, alpha and correlation vs a benchmark, SMA/EMA, RSI, Bollinger bands, Black-Scholes option price with Greeks, and the Kelly fraction, over prices you se…
by hubvibe-io.com · discovered, not yet claimed by its owner · updated 2026-10-01
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Trading and portfolio math: returns and CAGR, volatility, Sharpe and Sortino, max drawdown, VaR/CVaR, beta, alpha and correlation vs a benchmark, SMA/EMA, RSI, Bollinger bands, Black-Scholes option price with Greeks, and the Kelly fraction, over prices you send or a ticker fetched live. Deterministic, every formula named, no LLM. Input: prices or symbol; optional metrics, benchmark, option, kelly.
Tags: trading · technical-analysis · risk · sharpe-ratio · rsi · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-01
{
"kelly": {
"win_loss_ratio": 1.5,
"win_probability": 0.55
},
"option": {
"rate": 0.04,
"strike": 120,
"time_to_expiry_years": 0.5,
"type": "call"
},
"prices": [
100,
101.5,
99.8,
102.2,
103.9,
103.1,
105.4,
104.2,
106.8,
108,
107.1,
109.5,
111.2,
110.4,
112.9,
114.3,
113,
115.8,
117.1,
116.2,
118.6,
120
],
"risk_free_rate": 0.04,
"windows": {
"bollinger": 10,
"ema": [
5
],
"rsi": 14,
"sma": [
5,
10
]
}
}{
"example": {},
"type": "string"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/32930.jsonfor the price and payment options. - Pay. Call
GET https://hubvibe-io.com/work/finance/analytics. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.5 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 2 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.5 | 0x837C40E2B4e976f43Ffb4451eE281A00fA9477dd | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.5 | J1K4mdbvXEbJLRKpgxFcA7s66LWMCYHu71ye6Hz2icSh | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x837C40E2B4e976f43Ffb4451eE281A00fA9477dd",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "500000",
"amountUsd": 0.5,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "J1K4mdbvXEbJLRKpgxFcA7s66LWMCYHu71ye6Hz2icSh",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "500000",
"amountUsd": 0.5,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {},
"type": "string"
}Examples
curl -X POST 'https://hubvibe-io.com/work/finance/analytics' -H 'Content-Type: application/json' --data '{"kelly":{"win_loss_ratio":1.5,"win_probability":0.55},"option":{"rate":0.04,"strike":120,"time_to_expiry_years":0.5,"type":"call"},"prices":[100,101.5,99.8,102.2,103.9,103.1,105.4,104.2,106.8,108,107.1,109.5,111.2,110.4,112.9,114.3,113,115.8,117.1,116.2,118.6,120],"risk_free_rate":0.04,"windows":{"bollinger":10,"ema":[5],"rsi":14,"sma":[5,10]}}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://hubvibe-io.com/work/finance/analytics", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"kelly\":{\"win_loss_ratio\":1.5,\"win_probability\":0.55},\"option\":{\"rate\":0.04,\"strike\":120,\"time_to_expiry_years\":0.5,\"type\":\"call\"},\"prices\":[100,101.5,99.8,102.2,103.9,103.1,105.4,104.2,106.8,108,107.1,109.5,111.2,110.4,112.9,114.3,113,115.8,117.1,116.2,118.6,120],\"risk_free_rate\":0.04,\"windows\":{\"bollinger\":10,\"ema\":[5],\"rsi\":14,\"sma\":[5,10]}}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
import json
res = httpx.request("POST", "https://hubvibe-io.com/work/finance/analytics", json=json.loads("{\"kelly\":{\"win_loss_ratio\":1.5,\"win_probability\":0.55},\"option\":{\"rate\":0.04,\"strike\":120,\"time_to_expiry_years\":0.5,\"type\":\"call\"},\"prices\":[100,101.5,99.8,102.2,103.9,103.1,105.4,104.2,106.8,108,107.1,109.5,111.2,110.4,112.9,114.3,113,115.8,117.1,116.2,118.6,120],\"risk_free_rate\":0.04,\"windows\":{\"bollinger\":10,\"ema\":[5],\"rsi\":14,\"sma\":[5,10]}}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- hubvibe-io.com
- Endpoint
- https://hubvibe-io.com/work/finance/analytics
- Machine-readable
/resources/32930.json