Indietro

#duration

4 APIs con questa etichetta

Bond / Fixed-Income Performance API

Was sich am Anleihemarkt bewegt, nach Laufzeit und Bonität, live berechnet von Yahoo Finance über die wichtigsten Fixed-Income-ETFs (kein Key, nichts gespeichert). Anleihen sind die andere Hälfte jedes Portfolios, und ihre Bewegungen sind der klarste Indikator für Zinssätze und Bonität: Wenn langlaufende Staatsanleihen (TLT) fallen, preist der Markt höhere langfristige Zinssätze ein; wenn High-Yield (HYG) hinter Investment-Grade (LQD) zurückbleibt, wird das Kreditrisiko neu bewertet. Für jeden Fixed-Income-ETF – Staatsanleihen von ultrakurz bis über 20 Jahre, Investment-Grade- und High-Yield-Anleihen, TIPS, Kommunalanleihen, Schwellenländer- und Gesamtanleihen – misst dies die Veränderung am Tag, in der Woche und im Monat, das 52-Wochen-Hoch und -Tief und wo der Preis in dieser Spanne liegt, kategorisiert nach Kategorie und Zinssensitivität. Der Board-Endpoint gibt das gesamte Universum zurück, sortiert nach täglicher Veränderung mit den Gewinnern und Verlierern sowie einer Kategorieaufschlüsselung. Der Bond-Endpoint gibt die Performancekarte eines einzelnen ETFs zurück. Der Bonds-Endpoint listet auf, was abgedeckt wird. Die Fixed-Income-Performance / Bond-Board-Ausgabe – abgegrenzt von den APIs für Staatsanleiherenditen, Zinskurven, Leitzinsen und Anleihepreisberechnung. Denken Sie daran: Der Preis eines Anleihen-ETFs bewegt sich invers zu seiner Rendite.

api.oanor.com/bondperformance-api

Bond Pricing API

Fixed-income bond maths as an API, computed locally and deterministically. The price endpoint computes a bond's price from its face value, coupon rate, yield to maturity, years to maturity and coupon frequency — Price = Σ coupon/(1+y)ᵗ + face/(1+y)ⁿ with y the periodic yield — and reports the clean price as a percent of par, the annual coupon, the current yield and whether the bond trades at a premium, discount or par. The yield endpoint inverts this, solving for the yield to maturity that matches a given market price by bisection, with the current yield. The duration endpoint computes the Macaulay duration (the cash-flow-weighted average time), the modified duration (which approximates the percent price change per 1 % yield move), the convexity and the DV01 (the price change per basis point). A zero-coupon bond is just coupon rate 0. Everything is computed locally and deterministically, so it is instant and private. Ideal for fintech, fixed-income, treasury and portfolio app developers, bond-analytics and risk tools, and finance education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is bond analytics; for option pricing use an options API and for NPV and IRR an NPV API.

api.oanor.com/bond-api

Duration API

Work with ISO-8601 durations — the PnYnMnDTnHnMnS strings (P3Y6M4DT12H30M5S, PT1H30M) used across calendars, scheduling, video metadata, billing periods and APIs. Parse a duration into its components and a total in seconds and milliseconds; format a number of seconds (or individual year/month/week/day/hour/minute/second fields) back into a canonical ISO-8601 string; humanise any duration into readable text ("1 hour and 30 minutes"); and measure the exact duration between two instants (ISO timestamps or unix epochs) as both an ISO-8601 string and a precise second count. Years and months use documented calendar averages and are clearly flagged as approximate. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 5 endpoints. Distinct from date/time parsing and relative-time ("3 hours ago") formatting.

api.oanor.com/duration-api

DateTime API

A fast, fully-local date and time toolkit (UTC): parse any date string or unix timestamp into ISO, unix and components with the ISO week number, day-of-year and leap-year flag; format dates with custom tokens (YYYY-MM-DD, weekday and month names, and more); add or subtract month-aware durations; compute the difference between two dates in every unit plus a human-readable summary; and convert between unix timestamps and ISO. Every endpoint accepts input via the query string or the request body. Pure server-side compute, no third-party upstream, so responses are instant and always available. Ideal for scheduling, billing periods, reminders, analytics and any date arithmetic. (For the current time in a specific timezone, see the oanor Time API.)

api.oanor.com/datetime-api