{"partialResults":false,"resources":[{"accepts":[{"amount":"50000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"assetTransferMethod":"eip3009","name":"USD Coin","version":"2"},"maxTimeoutSeconds":60,"network":"eip155:8453","payTo":"0xc8fF67FAE72596478599EAAcfad8656fAe1113c8","scheme":"exact"}],"description":"A signed, dated ruin answer (safe | cautious | excessive | ruin_dominant | insufficient_input) from the classical first-passage ruin model for a fixed-stake bettor (Dubins \u0026 Savage) — use it to answer: can this sizing scheme bankrupt me?","extensions":{"bazaar":{"info":{"input":{"body":{"as_of":"2026-01-01","avg_loss_r":1,"avg_win_r":1,"capital":1,"risk_per_trade_pct":1,"seed":20261022,"trades":1,"win_rate":1},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"canonicalization":"SHA-256 over stable-JSON(sort_keys=True, separators=(',',':')) of the `evidence…","evidence_core":{"analytic_simulated_gap":null,"as_of":"2026-01-01","assumptions":{"absorbingRuin":"once equity reaches 0 it stays 0; a path is never allowed to recover","expectedGrowthPerTrade":"the expected increment per trade as a fraction of the INITIAL capital: f * (p*a…","kelly":{"form":"f* = (p*b - q) / b, where b = avg_win_r / avg_loss_r","halfKelly":"f*/2 — the conventional risk-scaled fraction","provenance":"the classic bivariate Kelly criterion"},"note":"Deterministic statistical judgement over caller-supplied data. No LLM in the an…","readOnly":true,"route":"POST /v1/quant/risk-of-ruin","ruinModel":{"E0":"the starting capital","N":"the number of trades","form":"P(hit zero within N trades) = Phi((-E0 - mu*N)/(sigma*sqrt(N))) + exp(-2*mu*E0/…","mu":"S * (p*avg_win_r - (1-p)*avg_loss_r),  S = f * E0","process":"a FIXED-STAKE bettor: the stake is risk_per_trade_pct of the INITIAL capital on…","provenance":"the classical first-passage formula for a drifted random walk, applied to the d…","sigma2":"S^2 * (p*avg_win_r^2 + (1-p)*avg_loss_r^2 - (p*avg_win_r - (1-p)*avg_loss_r)^2)"},"simulation":{"note":"the simulation is of the SAME fixed-stake process the analytic model describes,…","runs":2000,"seeded":true,"tolerance":0.05},"thresholds":{"cautious":0.05,"excessive":0.2},"verdicts":["safe"]},"coverage_gaps":[],"expected_growth_per_trade":null,"half_kelly":null,"kelly_fraction":null,"kind":"x402/quant-desk","median_terminal_wealth":null,"methodology_version":"quant-methodology/v1","profile_version":"quant-desk/v1","reasons":["win_rate must be strictly between 0 and 1"],"ruin_probability":null,"simulated_ruin_probability":null,"verdict":"insufficient_input","verdict_agrees":null},"key_id":"8891799616999756","output_sha256":"dd1fd5da410d31437a1c051e8774d6f76fa8ad106c0084d586ff408cdf1f3d9c","public_key":"0e1b40472f388090c765bfeb6c67b9eedbfeba7cfb194fdf47f5b2dc333251e6","signature":"9aa568b0c07ab1bea79c8edfae815196a7f8e33fa780a712977c0267d7b642f512c1517eb66aeab…","signature_algorithm":"Ed25519","signed_by":"x402 Quant Desk (Ed25519 + SHA-256)"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"description":"The trade statistics and the sizing scheme.","properties":{"as_of":{"default":"","title":"As Of","type":"string"},"avg_loss_r":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Avg Loss R"},"avg_win_r":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Avg Win R"},"capital":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Capital"},"risk_per_trade_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Risk Per Trade Pct"},"seed":{"default":20261022,"title":"Seed","type":"integer"},"trades":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"title":"Trades"},"win_rate":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Win Rate"}},"title":"QuantRiskOfRuinRequest","type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"canonicalization":{"type":"string"},"evidence_core":{"properties":{"analytic_simulated_gap":{"type":"null"},"as_of":{"type":"string"},"assumptions":{"properties":{"absorbingRuin":{"type":"string"},"expectedGrowthPerTrade":{"type":"string"},"kelly":{"properties":{"form":{"type":"string"},"halfKelly":{"type":"string"},"provenance":{"type":"string"}},"type":"object"},"note":{"type":"string"},"readOnly":{"type":"boolean"},"route":{"type":"string"},"ruinModel":{"properties":{"E0":{"type":"string"},"N":{"type":"string"},"form":{"type":"string"},"mu":{"type":"string"},"process":{"type":"string"},"provenance":{"type":"string"},"sigma2":{"type":"string"}},"type":"object"},"simulation":{"properties":{"note":{"type":"string"},"runs":{"type":"integer"},"seeded":{"type":"boolean"},"tolerance":{"type":"number"}},"type":"object"},"thresholds":{"properties":{"cautious":{"type":"number"},"excessive":{"type":"number"}},"type":"object"},"verdicts":{"items":{"type":"string"},"type":"array"}},"type":"object"},"coverage_gaps":{"items":{},"type":"array"},"expected_growth_per_trade":{"type":"null"},"half_kelly":{"type":"null"},"kelly_fraction":{"type":"null"},"kind":{"type":"string"},"median_terminal_wealth":{"type":"null"},"methodology_version":{"type":"string"},"profile_version":{"type":"string"},"reasons":{"items":{"type":"string"},"type":"array"},"ruin_probability":{"type":"null"},"simulated_ruin_probability":{"type":"null"},"verdict":{"type":"string"},"verdict_agrees":{"type":"null"}},"type":"object"},"key_id":{"type":"string"},"output_sha256":{"type":"string"},"public_key":{"type":"string"},"signature":{"type":"string"},"signature_algorithm":{"type":"string"},"signed_by":{"type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1796498783/bazaar-icons/b519ce4a662cccf8.png","lastUpdated":"2026-12-05T22:11:01.551Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-12-05T22:11:01.224Z"},"resource":"https://x402.synthexforge.com/v1/quant/risk-of-ruin","serviceName":"Synthex Forge","tags":["quant","risk","ruin","kelly","sizing"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"3gmtduk4qaipmaa"}}
