{
  "id": "managed-exchange-rate",
  "name": "Managed exchange rate (intervention band)",
  "unit": "global",
  "unitName": "Unit 4 · The global economy",
  "topic": "Exchange rates",
  "hl": false,
  "description": "In a managed float the currency moves freely within a band; the central bank intervenes only when market forces would push the rate beyond the upper or lower limit.",
  "keywords": [
    "managed float",
    "managed exchange rate",
    "dirty float",
    "band",
    "central bank",
    "intervention"
  ],
  "schemaUrl": "https://graphs.lectere.com/api/v1/templates/managed-exchange-rate",
  "previewUrl": "https://graphs.lectere.com/thumbs/managed-exchange-rate.svg",
  "editorUrl": "https://graphs.lectere.com/graph/managed-exchange-rate/",
  "params": [
    {
      "key": "scenario",
      "label": "Scenario",
      "default": "up",
      "type": "enum",
      "options": [
        {
          "value": "up",
          "label": "Demand rises above the upper limit → CB sells"
        },
        {
          "value": "down",
          "label": "Supply rises below the lower limit → CB buys"
        },
        {
          "value": "within",
          "label": "Change stays within the band"
        }
      ]
    },
    {
      "key": "intervene",
      "label": "Show central bank intervention",
      "default": true,
      "type": "boolean"
    },
    {
      "key": "cur",
      "label": "Currency",
      "default": "£",
      "group": "Currency",
      "type": "string"
    },
    {
      "key": "other",
      "label": "Priced in",
      "default": "US$",
      "group": "Currency",
      "type": "string"
    },
    {
      "key": "band",
      "label": "Band half-width",
      "default": 1,
      "group": "Shape",
      "type": "number",
      "min": 0.6,
      "max": 2,
      "step": 0.1
    },
    {
      "key": "shift",
      "label": "Size of the shift",
      "default": 3.5,
      "group": "Shape",
      "type": "number",
      "min": 0.5,
      "max": 4,
      "step": 0.1
    },
    {
      "key": "dSlope",
      "label": "Demand steepness",
      "default": 0.8,
      "group": "Shape",
      "type": "number",
      "min": 0.3,
      "max": 2.5,
      "step": 0.05
    },
    {
      "key": "sSlope",
      "label": "Supply steepness",
      "default": 0.8,
      "group": "Shape",
      "type": "number",
      "min": 0.3,
      "max": 2.5,
      "step": 0.05
    }
  ],
  "defaults": {
    "scenario": "up",
    "intervene": true,
    "cur": "£",
    "other": "US$",
    "band": 1,
    "shift": 3.5,
    "dSlope": 0.8,
    "sSlope": 0.8
  },
  "panels": [
    {
      "id": "main",
      "title": null,
      "xLabel": "Quantity of £",
      "yLabel": "Price of £ (in US$)",
      "xRange": [
        0,
        10
      ],
      "yRange": [
        0,
        10
      ],
      "axisKeys": {
        "x": "main:x",
        "y": "main:y"
      }
    }
  ],
  "labels": [
    {
      "key": "main:y",
      "default": "Price of £ (in US$)",
      "hint": "Vertical axis",
      "panel": "main"
    },
    {
      "key": "main:x",
      "default": "Quantity of £",
      "hint": "Horizontal axis",
      "panel": "main"
    },
    {
      "key": "main.ut",
      "default": "ER_{max}",
      "hint": "Axis mark",
      "panel": "main"
    },
    {
      "key": "main.lt",
      "default": "ER_{min}",
      "hint": "Axis mark",
      "panel": "main"
    },
    {
      "key": "main.utext",
      "default": "upper limit",
      "hint": "Text",
      "panel": "main"
    },
    {
      "key": "main.ltext",
      "default": "lower limit",
      "hint": "Text",
      "panel": "main"
    },
    {
      "key": "main.d1",
      "default": "D_{£1}",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.d2",
      "default": "D_{£2}",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.s1",
      "default": "S_{£}",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.qd:x",
      "default": "Q_d",
      "hint": "Horizontal-axis value",
      "panel": "main"
    },
    {
      "key": "main.qs:x",
      "default": "Q_s",
      "hint": "Horizontal-axis value",
      "panel": "main"
    },
    {
      "key": "main.gap",
      "default": "excess demand for £",
      "hint": "Arrow / line",
      "panel": "main"
    },
    {
      "key": "main.s3",
      "default": "S_{£2}",
      "hint": "Curve",
      "panel": "main"
    },
    {
      "key": "main.cb",
      "default": "CB sells £",
      "hint": "Arrow / line",
      "panel": "main"
    }
  ],
  "elements": [
    {
      "key": "main.upper",
      "kind": "curve"
    },
    {
      "key": "main.lower",
      "kind": "curve"
    },
    {
      "key": "main.ut",
      "kind": "tick",
      "label": "ER_{max}"
    },
    {
      "key": "main.lt",
      "kind": "tick",
      "label": "ER_{min}"
    },
    {
      "key": "main.utext",
      "kind": "text",
      "label": "upper limit"
    },
    {
      "key": "main.ltext",
      "kind": "text",
      "label": "lower limit"
    },
    {
      "key": "main.d1",
      "kind": "curve",
      "label": "D_{£1}"
    },
    {
      "key": "main.d2",
      "kind": "curve",
      "label": "D_{£2}"
    },
    {
      "key": "main.s1",
      "kind": "curve",
      "label": "S_{£}"
    },
    {
      "key": "main.shift",
      "kind": "line"
    },
    {
      "key": "main.e1",
      "kind": "point"
    },
    {
      "key": "main.qd",
      "kind": "point"
    },
    {
      "key": "main.qs",
      "kind": "point"
    },
    {
      "key": "main.gap",
      "kind": "line",
      "label": "excess demand for £"
    },
    {
      "key": "main.s3",
      "kind": "curve",
      "label": "S_{£2}"
    },
    {
      "key": "main.cb",
      "kind": "line",
      "label": "CB sells £"
    }
  ],
  "stats": null,
  "example": {
    "template": "managed-exchange-rate",
    "params": {
      "scenario": "up",
      "intervene": true,
      "cur": "£",
      "other": "US$",
      "band": 1,
      "shift": 3.5,
      "dSlope": 0.8,
      "sSlope": 0.8
    }
  }
}