Private native product
finops.halowerk.com/v1/finite-tree-risk-budget-portfolio-policy
Private native product: own finite two-period portfolio-control specialization of Chow/Pavone ACC2013 dynamic coherent risk-constrained control, TheoremsII.4/IV.1/V.1. Full binary historytree,fairbranchprobabilities,onecashasset gross1 andoneriskyasset with6suppliedgrossreturnfractions. Atroot/UP/DOWN choose riskyweight0,1/2,1; longonly,self-financing rebalanceeachnode,no outsidecash/fees/shorting
POST
https://finops.halowerk.com/v1/finite-tree-risk-budget-portfolio-policyUptime100% 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/finite-tree-risk-budget-portfolio-policy", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"amount_denominator":3,"budget_n":4,"initial_wealth_n":12,"risky_returns":[{"d":1,"n":2},{"d":2,"n":1},{"d":1,"n":1},{"d":1,"n":1},{"d":1,"n":3},{"d":1,"n":0}],"target_n":12}),
});
console.log(await res.json());Example input
{
"amount_denominator": 3,
"budget_n": 4,
"initial_wealth_n": 12,
"risky_returns": [
{
"d": 1,
"n": 2
},
{
"d": 2,
"n": 1
},
{
"d": 1,
"n": 1
},
{
"d": 1,
"n": 1
},
{
"d": 1,
"n": 3
},
{
"d": 1,
"n": 0
}
],
"target_n": 12
}