#carry
2 APIs with this tag
Commodity Futures Term Structure API
The shape of the commodity futures curve — contango versus backwardation — and the roll yield it pays, computed live from Yahoo Finance dated futures contracts, no key, nothing stored. A single commodity price hides the most important thing about it: what the market charges to hold it forward. When deferred contracts cost MORE than the front (an upward curve, contango) a long futures position bleeds money as it rolls up the curve each month; when they cost LESS (a downward curve, backwardation — classic for crude oil in tight markets) the roll pays you. That roll yield, not the spot move, is what drives the long-run return of commodity-index investing. This API reads the actual dated contracts — the front month and the deferred months out the curve — for crude oil, natural gas, gasoline, gold, silver, copper, corn, wheat and soybeans, and returns the full term structure, the front-to-second-month roll yield annualised, the curve shape and the front-vs-back spread. The curve endpoint returns one commodity's full chain; the screener endpoint ranks every commodity by roll yield, separating the backwardated markets (positive carry for a long) from the contango ones (negative carry). This is the commodity futures term-structure / roll-yield cut — distinct from the crypto dated-futures curve API, the inter-commodity crack/crush spread API, the commodity-momentum and seasonality APIs and the spot price feeds. It is the carry, read straight off the curve.
api.oanor.com/commoditycurve-api
FX Forward API
Live FX forward and interest-rate-parity maths that FX desks and treasurers run — computed on demand and deterministically, no key, nothing cached. Get the outright forward rate, forward points (in price and pips) and the annualised forward premium or discount from a spot rate, the two currencies' interest rates and a tenor; the full forward-points curve across standard tenors; the interest rate implied by a quoted forward; and a covered interest-rate-parity check that compares a market forward to its theoretical value and reports the cross-currency basis. Works for any currency pair. A forwards-and-parity engine, distinct from spot calculators and risk tools: it turns spot and rates into the forwards, points and basis a desk quotes.
api.oanor.com/fxforward-api