Skip to content
Firewire Firewire
Methodology Glossary Pricing ↗ Site ↗ RU
Knowledge base/ Methodology

Calculation methodology

We don't hide our calculations behind a "black box." Below are the exact formulas for the return and risk metrics that Firewire computes from your trades, with examples.

Portfolio return

Two different — and both correct — return metrics.

Money-weighted

XIRR

Internal rate of return that accounts for the amounts and dates of contributions and withdrawals. Your personal financial result.

Time-weighted

TWR

Strategy performance without the effect of deposits/withdrawals. The standard for benchmark comparison.

Inflation

Real return

The Fisher formula: how much purchasing power remains after subtracting inflation (Russian CPI).

Bonds

Yield and interest-rate risk of debt securities.

Yield

YTM from trade price

Effective yield to maturity from your actual purchase price — with accrued coupon income, taxes and commissions.

Risk

Duration

Macaulay duration and modified duration: the sensitivity of price to changes in the interest rate.

Risk & Performance

Risk Metrics

Sharpe Ratio, Sortino Ratio, Treynor Ratio, Alpha, Beta, VaR (95%) and Max Drawdown.

Bonds

G-Curve & Z-Spread

OFZ zero-coupon curve, Z-spread search and floater simulations under key rate shifts.

Modeling

Monte Carlo Simulation

Probabilistic evaluation of 10,000 capital paths, success rate and quantile estimation.

Reference

Glossary

Short definitions of all terms: accrued coupon income, MCFTR, CPI, duration and others.

Firewire Firewire

Explainable investment portfolio analytics. Firewire's formulas, definitions and calculation methodology.

Methodology

  • XIRR
  • TWR
  • YTM
  • Duration
  • Risk Metrics
  • G-Curve & Z-Spread
  • Real return

Resources

  • Glossary
  • Main site
  • Pricing
  • Privacy
  • info@fire-wire.ru
© 2026 Firewire Analytics. All rights reserved.
Analytics, not individual investment advice.

Knowledge base materials are for informational and educational purposes only and do not constitute individual investment advice, an offer, or a solicitation to buy/sell securities. Past performance does not guarantee future returns.