Investing Math

Position sizing, drawdowns, Sharpe, DCA, dividends, FIRE and option payoffs for trading bots and planners.

payments ON MAINNET (real money) · 12 live endpoints

EndpointPriceWhat it answers
GET /dca-vs-lump$0.02Compare equal periodic buys (dollar-cost averaging) with one lump sum on the first date, over a list of prices.
GET /dividend-math$0.02Dividend yield, yearly income, and yield on cost and total dividends after years of dividend growth.
GET /drawdown-recovery$0.02Gain needed to recover a percentage loss, or the maximum drawdown and recovery gain from a list of period returns.
GET /expected-move$0.02The price range implied by volatility over a number of days: one and two standard deviations, from implied or historical vol.
GET /fire-number$0.02Financial-independence number from yearly spending and a withdrawal rate, and years to reach it from savings and contributions.
GET /inflation-adjust$0.02What an amount costs or is worth after years of steady inflation, plus the real return after inflation for a nominal return.
GET /margin-call$0.02Margin call price for shares bought on margin: your cash, the loan, the maintenance requirement and the trigger price.
GET /option-payoff$0.02Expiry profit and loss for a long or short call or put: break-even, maximum gain and loss, and a payoff table.
GET /portfolio-risk$0.02Return and volatility of a two-asset mix from each asset's return, volatility and correlation, plus the lowest-risk weight.
GET /position-size$0.02Position size from account size, risk percent, entry and stop: units to buy, dollars at risk, cost and R-multiple targets.
GET /return-stats$0.02Performance stats from period returns: average, volatility, Sharpe, Sortino, compound growth and max drawdown.
GET /risk-reward$0.02Reward-to-risk ratio from entry, stop and target, the win rate needed to break even, and expectancy at your win rate.

GET /catalog returns this list as JSON. Activity hub · uptime.


Educational arithmetic from standard formulas. It is not investment, tax or legal advice, a recommendation to buy or sell anything, or a prediction. Results depend entirely on the numbers you supply; past returns do not guarantee future results. Every paid response carries a disclaimer field.