← Market

Fx Exposure

Treasury Risk Analyzer — Deterministic FX exposure analysis: gross/net exposure by currency, natural hedges, stress scenarios, hedge priority.

POST https://portfolio-risk-analyzer-g9ao.onrender.com/fx-exposure

0.25 USDC on Base · payTo 0xcfe5143d4a7386f0fe60b93bb8f46dc2ed9a8f27

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.25 USDC · payTo 0xcfe5143d4a7386f0fe60b93bb8f46dc2ed9a8f27 · via cdp · settles direct
Base · 0.25 USDC · payTo 0xcfe5143d4a7386f0fe60b93bb8f46dc2ed9a8f27 · via cdp · settles direct
{
  "baseCurrency": "USD",
  "fxRates": {
    "EUR": 1.08,
    "GBP": 1.27
  },
  "positions": [
    {
      "amount": 500000,
      "currency": "EUR",
      "hedged": false,
      "type": "receivable"
    },
    {
      "amount": 200000,
      "currency": "GBP",
      "hedged": false,
      "type": "payable"
    }
  ],
  "stressShockPct": 0.1
}
{
  "analysis_id": "898ba901-a756-4dfa-8254-70776d4caca9",
  "base_currency": "USD",
  "fx_metrics": {
    "currency_concentration": {
      "effectiveCount": 1.7703107976052748,
      "hhi": 0.5648725643840136
    },
    "gross_exposure": {
      "EUR": 540000,
      "GBP": 254000
    },
    "hedged_net_exposure": {
      "EUR": 0,
      "GBP": 0
    },
    "net_exposure": {
      "EUR": 540000,
      "GBP": -254000
    },
    "unhedged_net_exposure": {
      "EUR": 540000,
      "GBP": -254000
    },
    "unhedged_ratio": 1
  },
  "hedge_priority": [
    "EUR"
  ],
  "natural_hedges": [],
  "risk_classification": {
    "level": "MEDIUM",
    "score": 50
  },
  "status": "success",
  "stress_test": [
    {
      "currency": "EUR",
      "impact": -54000,
      "impactBeforeHedges": -54000,
      "scenario": "EUR_10pct_move"
    }
  ],
  "timestamp": "2026-11-03T06:35:12.340Z",
  "warnings": [
    "Over 75% of net FX exposure is unhedged."
  ]
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score64 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency36 ms
Paid calls (30d, on-chain)0 calls · 0 buyers
Facilitator-reported (30d)1 calls · 1 payers (CDP Bazaar)

How to call

POST https://portfolio-risk-analyzer-g9ao.onrender.com/fx-exposure · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "required": [
    "positions",
    "fxRates"
  ],
  "properties": {
    "baseCurrency": {
      "type": "string",
      "default": "USD"
    },
    "positions": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "currency",
          "type",
          "amount"
        ],
        "properties": {
          "currency": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "receivable",
              "payable",
              "cash"
            ]
          },
          "amount": {
            "type": "number",
            "minimum": 0
          },
          "hedged": {
            "type": "boolean",
            "default": false
          }
        }
      }
    },
    "fxRates": {
      "type": "object",
      "additionalProperties": {
        "type": "number"
      }
    },
    "stressShockPct": {
      "type": "number",
      "default": 0.1
    },
    "totalTreasuryValueBase": {
      "type": "number"
    }
  }
}
Output schema
{
  "type": "object"
}
curl -i -X POST 'https://portfolio-risk-analyzer-g9ao.onrender.com/fx-exposure' \
  -H 'content-type: application/json' -d '{"baseCurrency":"USD","positions":[{"currency":"EUR","type":"receivable","amount":500000,"hedged":false},{"currency":"GBP","type":"payable","amount":200000,"hedged":false}],"fxRates":{"EUR":1.08,"GBP":1.27},"stressShockPct":0.1}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)