#irr
3 APIs con questa etichetta
Iran Rial Market API
Live free-market (bazaar) prices for the Iranian rial against foreign currencies, gold and gold coins. Iran's official rate is fixed and unused in practice; the real economy trades on the open bazaar rate, which is what this API exposes. The price endpoint returns one instrument's latest close/open/high/low, day change and date — in both rial and toman. The currencies endpoint returns every foreign currency (USD, EUR, GBP, AED, TRY, CNY, RUB …) against the rial at once. The gold endpoint returns Iran's gold market — the global ounce, 18k and 24k gram, the mesghal, and the famous gold coins (Emami, Bahar Azadi, half, quarter, gerami). The history endpoint returns an instrument's daily OHLC series. Read live, nothing stored. This is Iran's own free-market rial/gold/coin layer — distinct from official central-bank feeds and from other countries' parallel-dollar APIs.
api.oanor.com/irr-api
NPV & IRR API
Discounted-cash-flow investment-appraisal maths as an API, computed locally and deterministically. The npv endpoint computes the net present value of a project from an upfront outlay, a series of future net cash flows and a discount rate, NPV = −initial + Σ CFₜ/(1+r)ᵗ, and reports the present value of the inflows, the profitability index and a plain accept-or-reject decision. The irr endpoint solves the internal rate of return — the discount rate that makes the NPV zero — by robust bisection over the cash flows, the figure you compare against a hurdle rate. The payback endpoint computes both the simple payback period, when the cumulative cash flow first recovers the outlay, and the discounted payback period, which discounts each flow first. Cash flows are passed as a comma-separated list, one per period. Everything is computed locally and deterministically, so it is instant and private. Ideal for finance, corporate, fintech and project-management app developers, capital-budgeting and feasibility tools, and finance education. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 endpoints. This is capital budgeting; for loan amortization use a loan API and for CAGR and real returns an investment API.
api.oanor.com/npv-api
API de Calculadora de Inversiones
Matemáticas de inversión y presupuesto de capital como API. El endpoint npv calcula el valor presente neto de una serie de flujos de efectivo a una tasa de descuento (el primer flujo suele ser la inversión inicial negativa). El endpoint irr encuentra la tasa interna de retorno —la tasa de descuento a la cual el valor presente neto es cero— mediante una búsqueda robusta por intervalos. El endpoint annuity resuelve una anualidad nivelada (ordinaria): dados la tasa, el número de períodos y cualquiera de los valores de pago, valor presente o valor futuro, devuelve los otros dos. El endpoint depreciation construye un cronograma completo año por año mediante los métodos de línea recta, saldo decreciente (cualquier factor, incluyendo doble saldo decreciente) o suma de dígitos de los años, sin depreciar por debajo del valor de rescate. Las tasas pueden ingresarse como porcentaje o fracción. Todo se calcula local y determinísticamente, por lo que es instantáneo y privado. Ideal para análisis de inversiones y presupuesto de capital, herramientas de contabilidad y finanzas corporativas, planificación empresarial y educación financiera. Cálculo local puro —sin clave, sin servicio de terceros, instantáneo. En vivo, nada se almacena. 5 endpoints. Esto son matemáticas de inversión y presupuesto de capital; para préstamos, hipotecas e interés compuesto, use una API de calculadora financiera.
api.oanor.com/financecalc-api