{
  "ok": true,
  "calculator": "drawdown",
  "title": "Forex Drawdown Calculator",
  "page": "https://forexdemo.com/forex-drawdown-calculator.html",
  "answer": "8 losing trades in a row at 1% risk takes USD 10,000.00 to USD 9,227.45: a drawdown of 7.7%, which needs a gain of 8.4% to win back. At a 50% win rate, the chance of at least one run that long in 100 trades is 17%, and the chance of reaching the 20% drawdown limit is 0.2%.",
  "notes": [],
  "inputs": {
    "balance": "10000",
    "currency": "USD",
    "risk": "1",
    "riskBase": "current",
    "losses": "8",
    "winRate": "50",
    "reward": "1.5",
    "trades": "100",
    "limit": "20",
    "limitType": "peak"
  },
  "result": {
    "ok": true,
    "currency": "USD",
    "balance": 10000,
    "risk": 1,
    "riskBase": "current",
    "losses": 8,
    "winRate": 50,
    "reward": 1.5,
    "trades": 100,
    "limit": 20,
    "limitType": "peak",
    "rows": [
      {
        "loss": 1,
        "amount": 100,
        "balance": 9900,
        "drawdownPercent": 1,
        "recoveryPercent": 1.0101010101
      },
      {
        "loss": 2,
        "amount": 99,
        "balance": 9801,
        "drawdownPercent": 1.99,
        "recoveryPercent": 2.03040506071
      },
      {
        "loss": 3,
        "amount": 98.01,
        "balance": 9702.99,
        "drawdownPercent": 2.9701,
        "recoveryPercent": 3.06101521284
      },
      {
        "loss": 4,
        "amount": 97.0299,
        "balance": 9605.9601,
        "drawdownPercent": 3.940399,
        "recoveryPercent": 4.10203556852
      },
      {
        "loss": 5,
        "amount": 96.059601,
        "balance": 9509.900499,
        "drawdownPercent": 4.90099501,
        "recoveryPercent": 5.15357128134
      },
      {
        "loss": 6,
        "amount": 95.09900499,
        "balance": 9414.80149401,
        "drawdownPercent": 5.8519850599,
        "recoveryPercent": 6.21572856701
      },
      {
        "loss": 7,
        "amount": 94.1480149401,
        "balance": 9320.65347907,
        "drawdownPercent": 6.7934652093,
        "recoveryPercent": 7.28861471415
      },
      {
        "loss": 8,
        "amount": 93.2065347907,
        "balance": 9227.44694428,
        "drawdownPercent": 7.72553055721,
        "recoveryPercent": 8.3723380951
      }
    ],
    "end": 9227.44694428,
    "lost": 772.553055721,
    "drawdownPercent": 7.72553055721,
    "recoveryPercent": 8.3723380951,
    "wipedOutAt": null,
    "winsToRecover": 6,
    "limitLosses": 23,
    "edge": 0.25,
    "limitBalance": 8000,
    "streakChance": 0.170207962419,
    "likelyStreak": 6,
    "limitChance": 0.0024,
    "runs": 10000
  },
  "notice": "For education. Not financial advice."
}