finops.halowerk.com/v1/cashflow-hedge-reserve-basis-bridge
Reconstruct a conditional cashflow-hedge reserve and nonfinancial-asset basis bridge from supplied cumulative instrument gains and opposing hedged-item PV changes. Absolute lower-of gives signed effective reserve; remaining instrument gain is P&L ineffectiveness. Return opening/closing components, period OCI/P&L gains, direct basis adjustment, recognized asset cost, ending reserve and three zero c
POST
https://finops.halowerk.com/v1/cashflow-hedge-reserve-basis-bridgeUptime100% 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/cashflow-hedge-reserve-basis-bridge", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"asset_cash_cost":200,"closing_instrument_gain":120,"closing_item_change_domain":[-80],"opening_instrument_gain":40,"opening_item_change":-30,"recognize_asset":true,"report":{"asset_cost_gap":{"d":1,"n":0},"basis_adjustment":{"d":1,"n":-80},"closing_effective_before_basis":{"d":1,"n":80},"closing_ineffective_gain":{"d":1,"n":40},"derivative_period_gain":{"d":1,"n":80},"ending_reserve":{"d":1,"n":),
});
console.log(await res.json());Example input
{"asset_cash_cost":200,"closing_instrument_gain":120,"closing_item_change_domain":[-80],"opening_instrument_gain":40,"opening_item_change":-30,"recognize_asset":true,"report":{"asset_cost_gap":{"d":1,"n":0},"basis_adjustment":{"d":1,"n":-80},"closing_effective_before_basis":{"d":1,"n":80},"closing_ineffective_gain":{"d":1,"n":40},"derivative_period_gain":{"d":1,"n":80},"ending_reserve":{"d":1,"n":