{
  "version": "1.0",
  "checkedOn": "2026-11-29",
  "title": "TWAP vs VWAP vs Iceberg Orders in Crypto: A 2027 Execution Planning Guide",
  "article": "https://decentralised.news/twap-vwap-iceberg-crypto-orders-2027",
  "scope": "Compare equal-time and supplied-volume quantities, with separate iceberg-display arithmetic.",
  "methodology": "DN documentation review and authored worksheet. Source dates describe the review, not a provider release or test date. Tables below are the original article tables; illustrative values remain labelled as hypothetical.",
  "sources": [
    "https://help.coinbase.com/en/prime/trading-and-funding/vwap-order-type",
    "https://www.coinbase.com/en-nl/legal/trading_rules",
    "https://help.coinbase.com/en/prime/trading-and-funding/editing-orders-on-prime",
    "https://developers.binance.com/en/docs/catalog/core-trading-spot-trading/api/rest-api/trade",
    "https://developers.binance.com/en/docs/products/spot/filters",
    "https://docs.kraken.com/api-reference/trading/add-order",
    "https://www.okx.com/en-gb/help/how-do-i-use-the-twap-trading-bot",
    "https://www.okx.com/status"
  ],
  "authoredTables": [
    {
      "rows": [
        [
          "Control",
          "Main question",
          "Simplified instruction",
          "What remains uncertain"
        ],
        [
          "TWAP schedule",
          "When should quantity be released?",
          "Divide the parent quantity across a chosen time window.",
          "Prices, available liquidity and completed fills in each interval."
        ],
        [
          "Volume-profile schedule",
          "How should quantity vary between intervals?",
          "Allocate more to intervals with larger supplied volume weights.",
          "Whether a historical profile resembles future conditions."
        ],
        [
          "Iceberg display policy",
          "How much resting quantity should be visible?",
          "Display a portion while retaining an undisplayed remainder.",
          "Queue treatment, refills, detection and when the order completes."
        ]
      ]
    },
    {
      "rows": [
        [
          "Equal interval",
          "Supplied weight",
          "Normalised share",
          "Equal-time quantity",
          "Observed-profile quantity"
        ],
        [
          "1",
          "10",
          "10%",
          "3",
          "1.2"
        ],
        [
          "2",
          "20",
          "20%",
          "3",
          "2.4"
        ],
        [
          "3",
          "30",
          "30%",
          "3",
          "3.6"
        ],
        [
          "4",
          "40",
          "40%",
          "3",
          "4.8"
        ],
        [
          "Total",
          "100",
          "100%",
          "12",
          "12"
        ]
      ]
    },
    {
      "rows": [
        [
          "Documented example",
          "Useful verified detail",
          "What to check in your own account"
        ],
        [
          "Coinbase Prime",
          "Its VWAP documentation describes a historical volume profile; its rules distinguish TWAP and VWAP schedules.",
          "Prime access, asset support, order minimums and the specific trading product. Do not infer retail availability from Prime documentation."
        ],
        [
          "Binance Spot API",
          "The current order reference says an iceberg quantity requires GTC. Symbol filters govern valid quantities and the maximum part count.",
          "Current pair filters and supported order combinations. Do not substitute an example filter value for a live pair setting."
        ],
        [
          "Kraken Spot API",
          "The iceberg order has a separate displayed-volume field and a documented minimum fraction.",
          "Order permission, pair rules, minimum quantity and the interface being used."
        ],
        [
          "OKX TWAP bot",
          "The guide exposes price limits, order interval, individual size and total amount, and warns that features may not apply to every customer.",
          "Your region, instrument, current bot settings, fee schedule and any service notice."
        ]
      ]
    }
  ],
  "worksheet": {
    "name": "DN Execution Slice Planner",
    "sectionId": "dn-execution-slice-tool",
    "kind": "deterministic-client-only",
    "version": "1.0",
    "selectors": {
      "quantity": "#dn-slice-quantity",
      "slices": "#dn-slice-count",
      "weights": "#dn-slice-weights",
      "displayed": "#dn-slice-display",
      "button": "#dn-slice-calculate",
      "output": "#dn-slice-result"
    },
    "defaults": {
      "quantity": "12",
      "slices": "4",
      "weights": "10, 20, 30, 40",
      "displayed": "2.5"
    },
    "validation": [
      "Trim inputs and reject blanks, malformed numbers and nonfinite numbers; do not silently coerce blank values to zero.",
      "Quantity and displayed quantity must be positive finite decimals; displayed quantity must not exceed total quantity.",
      "Slice count must be an integer from 1 to 24.",
      "Split weights on commas or newlines; trim each token and reject empty interior tokens. Require exactly N finite nonnegative values and positive finite sum. Do not infer missing weights.",
      "Reject arithmetic overflow or a non-safe iceberg count with a clear instruction to use smaller consistent units. Do not silently clamp values."
    ],
    "formulas": {
      "equalQuantity": "Q/N",
      "weightShare": "w[i]/sum(w)",
      "profileQuantity": "Q*w[i]/sum(w)",
      "icebergPortions": "ceil(Q/displayed), computed robustly at decimal boundaries",
      "subsequentReplenishments": "icebergPortions-1",
      "finalDisplayedPortion": "Q-(icebergPortions-1)*displayed",
      "initialUndisplayed": "Q-displayed"
    },
    "output": [
      "Accessible table with N rows: interval, input weight, normalised percentage, equal-time planned quantity and observed-profile planned quantity. Totals identify Q for each schedule.",
      "Separate iceberg summary: idealised portions, subsequent replenishments, final portion and initially undisplayed remainder. Never align display portions with the time schedule.",
      "Keep positive tiny values visible with sufficient precision or scientific notation; state display rounding and never apply fictitious exchange lot rules.",
      "Always say: Hypothetical planning only. No prices, fills, slippage, future volume or exchange acceptance are predicted.",
      "D=Q is a valid boundary and yields one portion, zero replenishments,zero hidden quantity."
    ],
    "lifecycle": "Mount once per current article DOM; clean up on leaving; remount on client navigation; preserve unrelated scripts/JSON-LD. Use textContent/DOM creation for user-derived output. No network/storage/wallet actions.",
    "testCases": [
      {
        "inputs": {
          "quantity": 12,
          "slices": 4,
          "weights": [
            10,
            20,
            30,
            40
          ],
          "displayed": 2.5
        },
        "expected": {
          "equal": [
            3,
            3,
            3,
            3
          ],
          "profile": [
            1.2,
            2.4,
            3.6,
            4.8
          ],
          "portions": 5,
          "replenishments": 4,
          "last": 2,
          "hidden": 9.5
        }
      },
      {
        "inputs": {
          "quantity": 1,
          "slices": 1,
          "weights": [
            7
          ],
          "displayed": 1
        },
        "expected": {
          "equal": [
            1
          ],
          "profile": [
            1
          ],
          "portions": 1,
          "replenishments": 0,
          "last": 1,
          "hidden": 0
        }
      },
      {
        "inputs": {
          "quantity": 0.07,
          "slices": 2,
          "weights": [
            0,
            1
          ],
          "displayed": 0.01
        },
        "expected": {
          "equal": [
            0.035,
            0.035
          ],
          "profile": [
            0,
            0.07
          ],
          "portions": 7,
          "replenishments": 6,
          "last": 0.01,
          "hidden": 0.06
        }
      },
      {
        "invalid": [
          "blank quantity",
          "zero or negative quantity",
          "NaN/Infinity",
          "fractional slice count",
          "slice count 0 or 25",
          "too few/many weights",
          "negative weight",
          "all-zero weights",
          "empty weight token",
          "displayed quantity>Q",
          "nonfinite arithmetic"
        ]
      }
    ]
  },
  "limitations": [
    "No execution prices, fills, future volume, exchange acceptance or trading returns are predicted.",
    "No paid account, brokerage, wallet or market-data connection was used by this worksheet.",
    "Provider claims remain documentation evidence; reader inputs do not establish observed performance."
  ],
  "commercialDisclosure": "Optional referrals and DN products are disclosed in the article. They do not determine worksheet calculations or evidence status."
}
