{
  "ok": true,
  "calculator": "compounding",
  "title": "Forex Compounding Calculator",
  "page": "https://forexdemo.com/forex-compounding-calculator.html",
  "answer": "USD 10,000.00 growing 2% a month for 12 months ends at USD 12,682.42: USD 2,682.42 made by trading.",
  "notes": [],
  "inputs": {
    "balance": "10000",
    "currency": "USD",
    "gain": "2",
    "period": "month",
    "periods": "12",
    "flowType": "none"
  },
  "result": {
    "ok": true,
    "currency": "USD",
    "period": "month",
    "periods": 12,
    "balance": 10000,
    "gain": 2,
    "flowType": "none",
    "flow": 0,
    "flowEvery": 1,
    "winRate": null,
    "lossCount": null,
    "lossEvery": null,
    "lossPercent": null,
    "losingPeriods": 0,
    "firstLoss": null,
    "target": null,
    "targetAt": null,
    "targetInPlan": false,
    "rows": [
      {
        "period": 1,
        "loss": false,
        "rate": 2,
        "start": 10000,
        "change": 200,
        "flow": 0,
        "end": 10200,
        "simple": 10200
      },
      {
        "period": 2,
        "loss": false,
        "rate": 2,
        "start": 10200,
        "change": 204,
        "flow": 0,
        "end": 10404,
        "simple": 10400
      },
      {
        "period": 3,
        "loss": false,
        "rate": 2,
        "start": 10404,
        "change": 208.08,
        "flow": 0,
        "end": 10612.08,
        "simple": 10600
      },
      {
        "period": 4,
        "loss": false,
        "rate": 2,
        "start": 10612.08,
        "change": 212.2416,
        "flow": 0,
        "end": 10824.3216,
        "simple": 10800
      },
      {
        "period": 5,
        "loss": false,
        "rate": 2,
        "start": 10824.3216,
        "change": 216.486432,
        "flow": 0,
        "end": 11040.808032,
        "simple": 11000
      },
      {
        "period": 6,
        "loss": false,
        "rate": 2,
        "start": 11040.808032,
        "change": 220.81616064,
        "flow": 0,
        "end": 11261.6241926,
        "simple": 11200
      },
      {
        "period": 7,
        "loss": false,
        "rate": 2,
        "start": 11261.6241926,
        "change": 225.232483853,
        "flow": 0,
        "end": 11486.8566765,
        "simple": 11400
      },
      {
        "period": 8,
        "loss": false,
        "rate": 2,
        "start": 11486.8566765,
        "change": 229.73713353,
        "flow": 0,
        "end": 11716.59381,
        "simple": 11600
      },
      {
        "period": 9,
        "loss": false,
        "rate": 2,
        "start": 11716.59381,
        "change": 234.3318762,
        "flow": 0,
        "end": 11950.9256862,
        "simple": 11800
      },
      {
        "period": 10,
        "loss": false,
        "rate": 2,
        "start": 11950.9256862,
        "change": 239.018513724,
        "flow": 0,
        "end": 12189.9441999,
        "simple": 12000
      },
      {
        "period": 11,
        "loss": false,
        "rate": 2,
        "start": 12189.9441999,
        "change": 243.798883999,
        "flow": 0,
        "end": 12433.7430839,
        "simple": 12200
      },
      {
        "period": 12,
        "loss": false,
        "rate": 2,
        "start": 12433.7430839,
        "change": 248.674861679,
        "flow": 0,
        "end": 12682.4179456,
        "simple": 12400
      }
    ],
    "end": 12682.4179456,
    "earned": 2682.41794563,
    "deposited": 0,
    "withdrawn": 0,
    "ranOutAt": null,
    "growthPercent": 26.8241794563,
    "simple": {
      "end": 12400,
      "earned": 2400,
      "difference": 282.417945625,
      "ranOutAt": null
    },
    "planPercent": 2,
    "factor": 1.02,
    "effectivePercent": 2,
    "longRun": false,
    "yearlyPercent": 26.8241794563,
    "doublePeriods": 35.0027887811,
    "halvePeriods": null,
    "doubleAt": null,
    "halveAt": null
  },
  "notice": "For education. Not financial advice."
}