{"slug":"finops-halowerk-com-v1-martingale-transport-option-price-bou-4496b0","title":"Whole finite two-date martingale optimal transport derivative price bounds from ","host":"finops.halowerk.com","method":"POST","resource":"https://finops.halowerk.com/v1/martingale-transport-option-price-bounds","category":"market","description":"Whole finite two-date martingale optimal transport derivative price bounds from supplied finite risk-neutral marginals and arbitrary path-payoff cost matrix. Validate strictly increasing distinct x/y atom supports, positive probability integer weights p/q with common total W, exact equal means and c","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":996,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"problem":{"W":6,"cost":[[0,1,16],[0,0,4]],"p":[3,3],"q":[2,2,2],"x":[2,4],"y":[0,3,6]}},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"problem":{"anyOf":[{"additionalProperties":false,"properties":{"W":{"maximum":1000000,"minimum":1,"type":"integer"},"cost":{"items":{"items":{"maximum":1000000,"minimum":-1000000,"type":"integer"},"maxItems":4,"minItems":2,"type":"array"},"maxItems":4,"minItems":2,"type":"array"},"p":{"items":{"maximum":1000000,"minimum":1,"type":"integer"},"maxItems":4,"minItems":2,"type":"array"},"q":{"items":{"maximum":1000000,"minimum":1,"type":"integer"},"maxItems":4,"minItems":2,"type":"array"},"x":{"items":{"maximum":1000000,"minimum":-1000000,"type":"integer"},"maxItems":4,"minItems":2,"type":"array"},"y":{"items":{"maximum":1000000,"minimum":-1000000,"type":"integer"},"maxItems":4,"minItems":2,"type":"array"}},"required":["x","y","p","q","W","cost"],"type":"object"},{"type":"null"}]}},"required":["problem"],"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"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1004,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":989,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":912,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":1003,"error":null}],"description_full":"Whole finite two-date martingale optimal transport derivative price bounds from supplied finite risk-neutral marginals and arbitrary path-payoff cost matrix. Validate strictly increasing distinct x/y atom supports, positive probability integer weights p/q with common total W, exact equal means and convex order via call functions at all union-support knots. Couplings pi>=0 have row p/W, column q/W, conditional mean sum_j pi_ij*y_j=x_i*p_i/W.","last_updated":"2026-11-24T10:29:28.827Z","schemes":["exact"]}