Skip to content
Fourohtwo

finops.halowerk.com/v1/scenario-nonanticipative-liquidity-injections

Synthesize the COMPLETE optimal bounded continuous capital-injection policy for one explicitly declared2stage finite information tree: fourleafscenarios A0,A1,B0,B1. Rootinjection x occurs BEFORE observedstage1signal A/B and its cashflow d1; childinjection yA/yB occurs AFTER that observed signal but BEFORE unresolved second cashflow d2. A/Bare declared OBSERVED exogenous information signals, even

BaseAnswering
POSThttps://finops.halowerk.com/v1/scenario-nonanticipative-liquidity-injections

Uptime100% of 1 check in 30 days

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://finops.halowerk.com/v1/scenario-nonanticipative-liquidity-injections", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"cost_denominator":1,"initial_cash_n":0,"injection_caps_n":[6,6,6],"leaf_probability_n":[1,1,1,1],"money_denominator":1,"probability_denominator":4,"report":{"optimal_vertices":[[{"d":"1","n":"5"},{"d":"1","n":"0"},{"d":"1","n":"0"}]],"policy_and_value":{"after_signal_A":{"d":"1","n":"0"},"after_signal_B":{"d":"1","n":"0"},"expected_cost":{"d":"1","n":"5"},"optimal_root_max":{"d":"1","n":"5"},"op),
});
console.log(await res.json());

Example input

{"cost_denominator":1,"initial_cash_n":0,"injection_caps_n":[6,6,6],"leaf_probability_n":[1,1,1,1],"money_denominator":1,"probability_denominator":4,"report":{"optimal_vertices":[[{"d":"1","n":"5"},{"d":"1","n":"0"},{"d":"1","n":"0"}]],"policy_and_value":{"after_signal_A":{"d":"1","n":"0"},"after_signal_B":{"d":"1","n":"0"},"expected_cost":{"d":"1","n":"5"},"optimal_root_max":{"d":"1","n":"5"},"op