Investing

Net present value and internal rate of return for a cash-flow series (index 0 = today, usually a negative outlay), plus the profitability index and an accept/reject call.

Net present value and internal rate of return for a cash-flow series (index 0 = today, usually a negative outlay), plus the profitability index and an accept/reject call.

Payment: x402 ($0.05 USDC on eip155:8453). Call unpaid to receive an HTTP 402 with requirements, then retry with the PAYMENT-SIGNATURE header. Method: NPV = Σ CFₜ/(1+r)ᵗ at your discount rate; IRR = the rate where NPV = 0 (bisection); profitability index = (NPV - CF₀)/-CF₀

post/v1/investing/npv-irr

Request

  • Base URL: (relative, and it does not resolve against the document’s source URL)
  • URL: /v1/investing/npv-irr
  • Auth: none declared

Request body

cashFlowsnumber[] required
discountRatePctnumber

Response

Verified result + provenance (formula, sources, reproducible SHA-256 hash).

Changes

No recorded changes to this operation across all 1 revision of this API.