Skip to content
Fourohtwo

finops.halowerk.com/v1/finite-transaction-cost-no-trade-policy

Finite ONE-period transaction-cost optimal cash/stock rebalance and no-trade policy from ORIGINAL cash x, stock y, root bid b/ask a, two strictly positive terminal liquidation bids d/u and caller physical probability weights. Own exact synthetic specialization of Kallsen-MuhleKarbe arXiv0911.4801v2 section2 self-financing2.2/terminal utility2.3: cash has zero interest, one root trade then compulso

BaseAnswering
POSThttps://finops.halowerk.com/v1/finite-transaction-cost-no-trade-policy

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/finite-transaction-cost-no-trade-policy", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"ask0":11,"bid0":9,"cash_n":349,"probability_weights":[1,3],"stock_n":1,"terminal_bid":[1,20]}),
});
console.log(await res.json());

Example input

{
  "ask0": 11,
  "bid0": 9,
  "cash_n": 349,
  "probability_weights": [
    1,
    3
  ],
  "stock_n": 1,
  "terminal_bid": [
    1,
    20
  ]
}