FX Carry Trade API
Live carry-trade and rollover analytics that FX traders run before borrowing a low-yield currency to buy a high-yield one, computed on demand from the interest rates you pass in — no key, no cache, nothing stored. The carry endpoint returns the interest-rate differential, the carry income over a holding period, the financing-adjusted yield and the leveraged return on margin, so you see exactly what a position earns. The rollover endpoint returns the daily, weekly and monthly swap — positive when you receive carry, negative when you pay it — the number a broker debits or credits each night. The breakeven endpoint returns how far the spot rate can move against the position before the carry is wiped out: the cushion the carry buys you, and the break-even spot level. This is an interest-rate and carry engine, distinct from pip and lot calculators and price tools: it turns two yields, leverage and time into the income and the risk cushion of a carry trade. The carry trade is one of the most-used FX strategies (think funding in yen to hold a higher-yielding currency), and these are the numbers behind it. Computed locally and deterministically, so it is instant and private. Ideal for FX dashboards, strategy back-tests, position sizers and trading tools. Rates are annual percentages (5.5 = 5.5%). Live, nothing stored. 3 compute endpoints. For live policy rates feed them in from a central-bank or rates API.
api.oanor.com/carrytrade-api