Skip to main content
What this is. OpenFX sets an exposure limit for your organization. It is the amount of unsettled trades you can have open at one time, so you can execute trades and settle them before you withdraw. Every executed trade that hasn’t fully settled counts against that limit. GET /v3/fx/exposures returns how much of the limit is currently committed, aggregated and broken down by currency. Both settlement models count toward it, in different ways. On an AUTO account, an IMMEDIATE or T0 trade settles at execution even when the sell-side balance is short, and the resulting negative balance counts as exposure. On a MANUAL account, execution returns TRADE_INSUFFICIENT_BALANCE unless the sell-side balance covers the trade, and trades awaiting settlement are held against the limit. A LOCKED T1/T2 trade accrues settlableLater exposure on either model. When it matters. Before submitting a large trade, to confirm you have headroom left under your exposure limit. When reconciling, to understand why a trade was rejected with TRADE_CREDIT_LIMIT_EXCEEDED.

Response shape

A successful response wraps this in data. The exposure summary itself is:
Amounts are decimal strings without fixed precision: trailing zeros aren’t padded ("1200", not "1200.00"). Don’t assume a fixed number of decimal places when parsing.
  • aggregate rolls up exposure-limit usage into a single currency (aggregate.currency). limitAmount is the total exposure limit; usedAmount is what’s committed; availableAmount is the difference and can be negative if open exposure currently exceeds the limit (for example, right after a limit reduction).
  • currencyExposures breaks the same open exposure down per currency, in each currency’s own denomination. A currency with no open trades is omitted from the array rather than listed at zero.
Only currencies with currently open exposure appear in currencyExposures. An empty array means the organization has no open exposure at all.

Settlable now vs Settlable later

Both aggregate.usageBreakdown and each currency’s usageBreakdown split exposure by trade status:
  • settlableNow: everything in the open exposure that is not a LOCKED trade. It covers trades in READY_TO_SETTLE, whose settlement window has opened but settlement hasn’t been finalized, and, on an AUTO account, the sell-side shortfall left when an IMMEDIATE or T0 trade settled against insufficient funds. That shortfall stays in settlableNow after the trade reads EXECUTED.
  • settlableLater: the trade is LOCKED, meaning it is future-dated (T1/T2) and its settlement window hasn’t opened yet.
settlableNow and settlableLater add up to the open exposure, so usedAmount includes any AUTO shortfall. On an AUTO account, which has no READY_TO_SETTLE trades, settlableNow is the negative sell-side balance itself. See Trades for how settlementWindow and Trade.status relate, and Trades → Settlement window for what happens when a window opens.

No exposure limit configured

If your organization has no exposure limit configured, the endpoint returns 403 EXPOSURE_NOT_ENABLED instead of a summary. Contact your Customer Success representative at support@mail.openfx.com to have a limit configured.

What’s next

Quotes

Quote-then-trade workflow and quote lifecycle.

Settlement models

Balances, deposits, withdrawals, and verified withdrawal accounts.

Errors

Stable error codes and the retry triage matrix.