62 Services from finmath.qzqh5rrbkz.workers.dev
Computes the Sharpe ratio from a series of returns, optional risk-free rate, and annualization frequency using exact arithmetic
$0.002/messageRoutes financial and crypto math function calls (TradFi and DeFi) to the correct deterministic computation engine via a function signature
$0.001/messageComputes exact financial and DeFi math (NPV, IRR, Black-Scholes, Greeks, bond pricing, VaR, Sharpe, impermanent loss, Uniswap v3, perp liquidation, health factor, cost basis) via a JSON-in/JSON-out API, billed per call in USDC.
$0.001/messageComputes the present value (PV) of a future amount given a number of periods and a per-period discount rate
$0.001/messageComputes the yield to maturity (YTM) of a bond given its face value, market price, coupon rate, maturity, and payment frequency.
$0.002/messageComputes the exact Net Present Value of irregular cash flows discounted at a specified rate, accounting for actual calendar dates between cash flows (XNPV formula).
$0.002/messageConverts a perpetual futures funding rate into an annualized percentage rate (APR), accounting for funding interval frequency
$0.001/messageBacktests a dollar-cost averaging (DCA) strategy against a historical price series, computing exact portfolio metrics using deterministic arithmetic
$0.002/messageComputes the Compound Annual Growth Rate (CAGR) from a time series of values, with configurable periods-per-year.
$0.002/messageCalculates the token amounts (amount0 and amount1) held in a Uniswap v3 liquidity position given current price, liquidity, and the position's price range.
$0.002/messageComputes deterministic financial and DeFi calculations (NPV, IRR, Black-Scholes, impermanent loss, Uniswap v3, VaR, health factor, etc.) with base64-encoded input, billed per call in USDC
$0.001/messageComputes the Macaulay or modified duration of a bond given its face value, coupon rate, yield, frequency, and maturity.
$0.002/messageCalculates the future value of an ordinary annuity or annuity-due given a periodic payment, number of periods, and interest rate per period.
$0.001/messageValidates whether a given string is a well-formed Ethereum address
$0.001/messageComputes Compound Annual Growth Rate (CAGR) from a beginning value, ending value, and number of years using deterministic arithmetic
$0.001/messageComputes the Net Present Value (NPV) of a series of cash flows at a given discount rate using exact arithmetic
$0.001/messageComputes the Extended Internal Rate of Return (XIRR) for irregular cash flow series with exact, deterministic arithmetic
$0.002/messageComputes the DeFi health factor for a collateralized lending position given debt value, collateral value, and liquidation threshold
$0.001/messageComputes Black-Scholes option price and Greeks for a European call or put given spot, strike, rate, volatility, and time to expiry
$0.003/messageCalculates the impermanent loss percentage for a DeFi liquidity provider given a price ratio between the current and initial asset prices.
$0.001/messageComputes the Pearson correlation coefficient between two numerical arrays using exact arithmetic
$0.002/messageComputes the Internal Rate of Return (IRR) for a series of cash flows with deterministic, exact arithmetic
$0.001/messageComputes the annualized basis (carry) between a spot price and a futures price given days to expiry, expressed as an annualized percentage rate.
$0.001/messageCalculates optimal position size for a trade given account equity, entry price, stop price, and risk fraction using exact arithmetic
$0.002/messageConverts an Annual Percentage Rate (APR) to Annual Percentage Yield (APY) given a compounding frequency, using exact arithmetic.
$0.001/messageComputes the fair price of a fixed-coupon bond given face value, coupon rate, yield, maturity, and payment frequency using exact deterministic arithmetic.
$0.002/messageCalculates the impermanent loss and LP position value compared to simply holding the tokens, given a price ratio and initial position value.
$0.002/messageComputes the optimal Kelly Criterion fraction — the theoretically ideal bet size as a fraction of bankroll — given a win probability and win/loss ratio.
$0.001/messageConverts an Ethereum address to its EIP-55 checksummed (mixed-case) canonical form
$0.001/messageComputes the convexity of a bond given face value, coupon rate, yield, maturity, and payment frequency
$0.002/messageCalculates the funding payment for a perpetual futures position given the side, funding rate, and position notional value
$0.001/messageComputes cost basis for cryptocurrency or asset lots using configurable accounting methods (FIFO, LIFO, HIFO, etc.) given purchase lots and a sale quantity
$0.002/messageComputes implied volatility from an observed option price using a numerical inversion of the Black-Scholes model
$0.003/messageCalculates compound interest and staking yield for a given principal, APR, compounding frequency, and time period
$0.001/messageComputes the present value (PV) of an ordinary or due annuity given a fixed periodic payment, number of periods, and interest rate per period.
$0.001/messageCalculates the liquidation price for a perpetual futures (perp) position given side, leverage, entry price, and optional maintenance margin rate
$0.002/messageConverts Ethereum amounts between denominations (e.g., wei, gwei, ether) with exact, deterministic arithmetic
$0.001/messageComputes Value at Risk (VaR) for a portfolio given a list of historical returns and a confidence level using exact deterministic arithmetic
$0.002/messageConverts Annual Percentage Yield (APY) to Annual Percentage Rate (APR) given a specified compounding frequency, using exact deterministic arithmetic.
$0.001/messageComputes annualized volatility from a series of periodic returns using exact deterministic arithmetic
$0.002/messageComputes the maximum drawdown of a time series of portfolio or asset values
$0.002/messageComputes the Sortino ratio from a series of periodic returns, annualizing downside risk relative to a target return.
$0.002/messageComputes the future value of a present amount given a periodic interest rate and number of compounding periods
$0.001/messageComputes a full loan amortization schedule given principal, annual interest rate, and loan term in months
$0.003/messageComputes the Sharpe ratio (risk-adjusted return) by comparing asset returns against benchmark returns using exact deterministic arithmetic.
$0.002/messageValidates a number using the Luhn algorithm (checksum verification for credit card and ID numbers)
$0.001/messageConverts a timestamp value to a different format or unit (e.g. Unix epoch to ISO 8601, milliseconds to seconds)
$0.001/messageComputes the Keccak-256 cryptographic hash of an input string, as used in Ethereum and other EVM-compatible blockchains.
$0.001/messageConverts a CSV string into a structured JSON array, with optional header row handling, as part of a deterministic finance math service.
$0.001/messageConverts hexadecimal values to/from other formats (decimal, binary, etc.) with exact, deterministic arithmetic
$0.001/messageEncodes or decodes data using Base58 encoding, typically for crypto address/key formatting, as part of a deterministic finance and crypto math computation service.
$0.001/messageDecodes and inspects a JWT token, returning its parsed claims and metadata
$0.001/messageConverts a JSON string into CSV format, as part of the finmath deterministic finance/crypto math service.
$0.001/messageComputes the SHA-512 cryptographic hash of a given input string
$0.001/messageRedacts personally identifiable information (PII) from text input, returning a sanitized version with sensitive data removed or masked.
$0.002/messageComputes an HMAC-SHA256 message authentication code given a key and message string
$0.001/messageConverts an arbitrary text string into a URL-safe slug using deterministic string transformation
$0.001/messageComputes text statistics for a given string using the finmath deterministic computation service
$0.001/messageEvaluates the strength of a given password string and returns a strength assessment result
$0.001/messageGenerates a random token string with configurable format and length, served as part of the finmath financial computation API
$0.001/messageComputes a SHA1 hash of a given input string, part of the finmath deterministic finance and crypto math microservice suite.
$0.001/messageComputes the SHA-256 cryptographic hash of a given input string, returning a deterministic hex digest.
$0.001/message