Overview
Exact finite-tree EUROPEAN floating-strike lookback law and conditional modelprice. Original fullbinary historytree depth1..3 has supplied nodeprices and LEFT probabilities q/Q; RIGHT=1-q/Q, root0/children2i+1,2i+2. Observe root AND every laternode. Jointlaw retains terminal S, runningMIN and runningMAX; writerpayout/losses are S-MIN forcall and MAX-S forput, not premium-net P&L. Return fullmergedjointlaw, terminal/callloss/putloss marginals, exactexpectedlosses and discountedprices.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
finops
Indexed
2026-11-24 12:33:04
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"problem": {
"depth": 1,
"gross_return_d": 1,
"gross_return_n": 1,
"left_probability_n": [
1
],
"node_price_n": [
100,
80,
120
],
"price_d": 1,
"probability_d": 2
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"error": null,
"state": "observed",
"value": {
"call_expected_loss": {
"d": "1",
"n": "10"
},
"call_loss_law": [
{}
],
"call_price": {
"d": "1",
"n": "10"
},
"discount_factor": {
"d": "1",
"n": "1"
},
"discounted_terminal_mean": {
"d": "1",
"n": "100"
},
"initial_price": {
"d": "1",
"n": "100"
},
"joint": [
{}
],
"martingale_gap": {
"d": "1",
"n": "0"
},
"positive_path_count": 2,
"probability_gap": {
"d": "1",
"n": "0"
},
"put_expected_loss": {
"d": "1",
"n": "10"
},
"put_loss_law": [
{}
],
"put_price": {
"d": "1",
"n": "10"
},
"reachable_nodes": [
0
],
"terminal_law": [
{}
],
"zero_probability_leaves": []
}
}
},
"type": "json"
}