{
  "version": "1.0",
  "article": "https://decentralised.news/order-book-snapshot-delta-reconstruction-2027",
  "title": "Order Book Snapshots vs Deltas in 2027: A Capture and Replay Experiment",
  "checkedOn": "2026-11-28",
  "evidenceKind": "Executed original synthetic calculation and dated primary-source inspection",
  "scope": "Four authored order-book states serialized as complete snapshots or a seed plus three deltas; actual UTF-8 byte counts, exact reconstruction comparison and an omitted-sequence check.",
  "limitations": [
    "Declared teaching protocol, not a venue protocol or a production collector.",
    "No exchange observations, CCXT execution, ArcticDB benchmark, compression measurement or cost projection.",
    "Reconstruction within the declared scope does not establish queue position, executable fills or trading returns."
  ],
  "sources": [
    {
      "label": "CCXT order-book documentation",
      "url": "https://github.com/ccxt/ccxt/wiki/manual#order-book",
      "supports": "Order-book structure, aggregation and venue-specific timestamp/depth qualifications.",
      "checked": "2026-11-28"
    },
    {
      "label": "Binance Spot WebSocket stream documentation",
      "url": "https://developers.binance.com/docs/binance-spot-api-docs/web-socket-streams",
      "supports": "A concrete primary-source example of diff-depth events carrying first and final update identifiers; DN does not reproduce this protocol.",
      "checked": "2026-11-28"
    },
    {
      "label": "ArcticDB pinned README",
      "url": "https://github.com/man-group/ArcticDB/blob/2a14d65f5f30fadd8f6baca459cc012bce262bba/README.md",
      "supports": "DataFrame storage context and version-specific access/licensing references; not evidence for the original file-size results.",
      "checked": "2026-11-28"
    }
  ],
  "illustrativeInputs": {
    "stream": "{\"asks\":[[\"100.10\",\"1.000\"],[\"100.20\",\"2.000\"],[\"100.30\",\"3.000\"],[\"100.40\",\"4.000\"],[\"100.50\",\"5.000\"]],\"bids\":[[\"99.90\",\"5.000\"],[\"99.80\",\"4.000\"],[\"99.70\",\"3.000\"],[\"99.60\",\"2.000\"],[\"99.50\",\"1.000\"]],\"instrument\":\"SYNTH/UNIT\",\"kind\":\"snapshot\",\"sequence\":1}\n{\"changes\":[{\"price\":\"99.90\",\"side\":\"bids\",\"size\":\"4.000\"},{\"price\":\"100.10\",\"side\":\"asks\",\"size\":\"0\"}],\"instrument\":\"SYNTH/UNIT\",\"kind\":\"delta\",\"sequence\":2}\n{\"changes\":[{\"price\":\"100.00\",\"side\":\"bids\",\"size\":\"2.000\"},{\"price\":\"100.20\",\"side\":\"asks\",\"size\":\"1.500\"}],\"instrument\":\"SYNTH/UNIT\",\"kind\":\"delta\",\"sequence\":3}\n{\"changes\":[{\"price\":\"99.80\",\"side\":\"bids\",\"size\":\"3.750\"},{\"price\":\"100.50\",\"side\":\"asks\",\"size\":\"0\"}],\"instrument\":\"SYNTH/UNIT\",\"kind\":\"delta\",\"sequence\":4}",
    "omitSequence": "0"
  },
  "illustrativeOutputs": {
    "summary": "Replay reconstructs every baseline state through declared sequence 4.",
    "metrics": [
      {
        "label": "Full-state representation (UTF-8 bytes)",
        "value": 1010
      },
      {
        "label": "Complete seed-and-delta representation (bytes)",
        "value": 744
      },
      {
        "label": "Full minus seed-and-delta bytes",
        "value": 266
      },
      {
        "label": "Received replay stream (bytes)",
        "value": 744
      },
      {
        "label": "Last proven sequence",
        "value": 4
      },
      {
        "label": "Completeness against declared baseline",
        "value": "Complete"
      }
    ],
    "table": {
      "columns": [
        "Last proven side",
        "Price string",
        "Size string"
      ],
      "rows": [
        [
          "Bid",
          "100.00",
          "2.000"
        ],
        [
          "Bid",
          "99.90",
          "4.000"
        ],
        [
          "Bid",
          "99.80",
          "3.750"
        ],
        [
          "Bid",
          "99.70",
          "3.000"
        ],
        [
          "Bid",
          "99.60",
          "2.000"
        ],
        [
          "Bid",
          "99.50",
          "1.000"
        ],
        [
          "Ask",
          "100.20",
          "1.500"
        ],
        [
          "Ask",
          "100.30",
          "3.000"
        ],
        [
          "Ask",
          "100.40",
          "4.000"
        ]
      ]
    },
    "warnings": [
      "Sizes replace or insert a price level; zero deletes it. This is a declared teaching protocol. Real exchanges can use different update ranges, checksums, sequence rules and recovery steps.",
      "Byte counts use UTF-8 JSON Lines with sorted object keys, compact separators and one LF after every record, without compression. The full-state baseline is derived from the entered complete stream; it is not an independent live-market truth source.",
      "The initial data are authored. These counts are not ArcticDB layout/compression, exchange bandwidth or storage-price measurements. Missing changes cannot be assumed to mean no change."
    ]
  },
  "author": "Heath Muchena",
  "publisher": "Decentralised News"
}
