[{"data":1,"prerenderedAt":8896},["ShallowReactive",2],{"wrun-open-editor-url":3,"indicators:cookbook/order-book-hud":4},"https://openmarket.xyz/chart/#wrun-open=v1",{"slug":5,"filePath":6,"frontmatter":7,"rawMarkdown":12,"tree":13},"cookbook/order-book-hud","cookbook/order-book-hud.md",{"title":8,"description":9,"order":10,"section":11},"Order book HUD","A card at the middle left of the price pane that shows what is resting near the price, read from the exchange's own order book and kept current on the live bar…",95,"cookbook","---\ntitle: \"Order book HUD\"\ndescription: \"A card at the middle left of the price pane that shows what is resting near the price, read from the exchange's own order book and kept current on the live bar…\"\norder: 95\nsection: \"cookbook\"\n---\n\n\u003C!-- source: docs/indicators/cookbook/order-book-hud.md; generated by packages/cli/scripts/gen-indicator-docs.ts, do not edit -->\n\n# Order book HUD\n\nA card at the middle left of the price pane that shows what is resting near the price, read from the exchange's own order book and kept current on the live bar. It is drawn in the cockpit look: a dark see-through panel held by four amber corner brackets, with glowing cyan type and its title and labels in capitals. It names the heavier side first, as the headline: Bids heavier or Asks heavier in amber, Balanced in cyan. Under the word, the bids' share of the dollars resting within 1% of the mid lights a bar of 20 segments; three rows give the dollars bid and offered within 0.25%, 0.5% and 1% of the mid, and two rows name the biggest bid and ask within 2%: where each wall sits and how many dollars rest there. The two walls are also drawn on price as thin dotted lines, green under the price and red over it.\n\nThe card is one `render.hud(...)` of four tiles with `look: \"cockpit\"`: a headline pill, a meter and two rows tiles whose lines are words written on the live bar ([HUD cards](../presentation/hud-and-hover-cards.md#hud-cards), [Looks](../presentation/hud-and-hover-cards.md#looks), [Blocks and tiles](../presentation/hud-and-hover-cards.md#blocks-and-tiles)). The book arrives as `book.cells`, one `[price, size, side]` row per level ([Data sources](../core-concepts/data-sources.md), [Order flow](../functions/order-flow-kit.md#what-the-chart-serves)); the numbers are data-only outputs written on every bar, the first word a string slot written on the live bar ([Plotting](../presentation/plotting.md)), and the walls two line handles ([Drawing objects](../presentation/drawing-objects.md#handles)). This is also the `order-book-hud` template: the **Order Book HUD** card under **HUDs** in the editor's starter list, and it compiles as written.\n\n## The wrun indicator\n\n```typescript sample=order-book-hud\n// Order Book HUD: what is resting near the price, read from the exchange's own order book, drawn by the chart in the\n// cockpit look. One card names the heavier side first (Bids heavier or Asks heavier in amber, Balanced in the look's\n// cyan), then the bids' share of the dollars resting within 1% of the mid on a 20-segment bar (50 marked), the\n// dollars bid and offered within 0.25%, 0.5% and 1% of the mid (one row per distance), and the biggest bid and ask\n// walls within 2%: where each sits and how many dollars rest there (one row per wall). The imbalance and its change\n// since the last bar stay data-only outputs for the Console and a watch. The two walls are also drawn on price as thin dotted lines, green under\n// the price and red over it, from line_bars bars back to the live bar and on to the price axis. A market without an\n// order book (FX, stocks) says so in the first tile. The book arrives as one snapshot per bar, refreshed about once a\n// second on the live bar, so the card follows the live book.\n\n// Settings: how far the imbalance must lean before the card names a side, and how far back the wall lines reach.\n// The distances the rows name (0.25%, 0.5%, 1% and the 2% wall reach) are constants below, because a tile's label is\n// fixed text: change a distance and its label together.\nsection(\"Reading\");\nparam.number(\"lean\", 10.0, { min: 1.0, max: 50.0, step: 1.0, label: \"Balanced band in points\", description: \"Imbalance points either side of zero before the card names the heavier side; inside the band it reads Balanced\" });\nsection(\"Wall lines\");\nparam.int(\"line_bars\", 30, { min: 2, max: 300, label: \"Wall line length, bars\", description: \"Bars the two wall lines reach back from the live bar\" });\n\n// Inputs: the chart's own candles set the grid (a file whose first feed is a block starts with them), then the book:\n// one [price, size, side] row per price level, side +1 a bid and -1 an ask, sizes in coins. The chart serves its own\n// book at its own price grouping, up to 500 levels a side, so 1000 rows hold any bar; block_size is required by the\n// declaration, and the chart does not read it.\ninput(\"close\", ohlcv.close);\ninput(\"book\", book.cells, { max_cells: 1000, block_size: 10 });\n\n// Outputs: all data-only, one value per bar, so a watch or an alert can read them too; the card shows the words the\n// slots below carry, written from these numbers on the live bar.\noutput(\"side\", none, overlay, { description: \"0 asks heavier, 1 balanced or no book, 2 bids heavier: the first tile's colour\" });\noutput(\"imbalance\", none, overlay, { format: \"%\", description: \"Bids minus asks over their sum within 1% of the mid, percent\" });\noutput(\"imbalance_change\", none, overlay, { format: \"%\", description: \"The imbalance's change since the previous bar's snapshot, points\" });\noutput(\"bid_share\", none, overlay, { color: \"#10b981\", format: \"%\", description: \"Bids as a percent of all dollars resting within 1% of the mid\" });\noutput(\"bids_near\", none, overlay, { color: \"#10b981\", format: \"si\", description: \"Dollars bid within 0.25% of the mid\" });\noutput(\"asks_near\", none, overlay, { color: \"#ff003c\", format: \"si\", description: \"Dollars offered within 0.25% of the mid\" });\noutput(\"bids_mid\", none, overlay, { color: \"#10b981\", format: \"si\", description: \"Dollars bid within 0.5% of the mid\" });\noutput(\"asks_mid\", none, overlay, { color: \"#ff003c\", format: \"si\", description: \"Dollars offered within 0.5% of the mid\" });\noutput(\"bids_far\", none, overlay, { color: \"#10b981\", format: \"si\", description: \"Dollars bid within 1% of the mid\" });\noutput(\"asks_far\", none, overlay, { color: \"#ff003c\", format: \"si\", description: \"Dollars offered within 1% of the mid\" });\noutput(\"bid_wall\", none, overlay, { color: \"#10b981\", format: \"price\", description: \"The price of the biggest bid within 2% of the mid\" });\noutput(\"bid_wall_size\", none, overlay, { format: \"si\", description: \"Dollars resting at the bid wall\" });\noutput(\"ask_wall\", none, overlay, { color: \"#ff003c\", format: \"price\", description: \"The price of the biggest ask within 2% of the mid\" });\noutput(\"ask_wall_size\", none, overlay, { format: \"si\", description: \"Dollars resting at the ask wall\" });\nstring(\"heavier\", { max_bytes: 40 }); // the first tile's words, written on the live bar\nstring(\"depth_near\", { max_bytes: 24 }); // \"48.9M / 61.7M\": dollars bid / offered within 0.25%, written on the live bar\nstring(\"depth_mid\", { max_bytes: 24 });\nstring(\"depth_far\", { max_bytes: 24 });\nstring(\"bid_wall_text\", { max_bytes: 32 }); // \"84000 · 262.0M\": the wall's price and the dollars resting there\nstring(\"ask_wall_text\", { max_bytes: 32 });\nhandles.line({ width: 1, lineStyle: \"dotted\" }); // the two wall lines, in chart time and price\n\n// The card, in the cockpit look (corner brackets, monospace type, a faint glow, segment bars): the deciding word leads\n// as the headline, the bid-share bar spans the card under it, then one row per distance (dollars bid / offered) and\n// one row per wall (price and dollars). Two columns give the rows room for both numbers.\nrender.hud(\"order_book\", { position: \"middle_left\", look: \"cockpit\", title: \"Order book\", columns: 2, tiles: [\n  tile.pill(\"Heavier side, within 1%\", \"heavier\", { headline: true, color_by: \"side\", colors: [\"#FFB000\", \"#7DF9FF\", \"#FFB000\"] }),\n  tile.meter(\"Bid share within 1%\", \"bid_share\", { min: 0, max: 100, marks: [50], color: \"#7DF9FF\" }),\n  tile.rows(\"Bids / asks, USD\", [[\"Within 0.25%\", \"depth_near\"], [\"Within 0.5%\", \"depth_mid\"], [\"Within 1%\", \"depth_far\"]]),\n  tile.rows(\"Walls within 2%, price and USD\", [[\"Bid wall\", \"bid_wall_text\"], [\"Ask wall\", \"ask_wall_text\"]]),\n] });\n\nconst NEAR_PCT = 0.25; // the three depth bands and the wall reach, percent from the mid (the rows' labels name them)\nconst MID_PCT = 0.5;\nconst FAR_PCT = 1.0; // also the band the imbalance reads\nconst WALL_PCT = 2.0;\n\nconst BID_GREEN = rgb(16, 185, 129); // #10b981, the bid wall line\nconst ASK_RED = rgb(255, 0, 60); // #ff003c, the ask wall line\nconst bidLine = draw.line(0); // handle objects allocate once; ids are one space across kinds\nconst askLine = draw.line(1);\n\nconst ASKS_HEAVIER = 0.0; // the first tile's ladder rungs, in the colours' order: bear, neutral, bull\nconst BALANCED = 1.0;\nconst BIDS_HEAVIER = 2.0;\n\nlet lean = 10.0; // settings, read in onStart()\nlet lineBars = 30;\nlet bookSeen = false; // a snapshot with both sides has arrived on some bar: the market has a book\nlet prevImbalance: f64 = NaN; // the previous bar's imbalance, for the capsule\nlet prevTime: f64 = NaN; // the previous bar's open time, for the bar's width in seconds\nlet barSeconds: f64 = NaN;\n\n// This bar's readings, set by readBook(): NaN when the bar has no usable snapshot.\nlet bidsNear: f64 = NaN;\nlet asksNear: f64 = NaN;\nlet bidsMid: f64 = NaN;\nlet asksMid: f64 = NaN;\nlet bidsFar: f64 = NaN;\nlet asksFar: f64 = NaN;\nlet bidWall: f64 = NaN;\nlet bidWallSize: f64 = NaN;\nlet askWall: f64 = NaN;\nlet askWallSize: f64 = NaN;\n\nfunction clearReadings(): void {\n  bidsNear = NaN;\n  asksNear = NaN;\n  bidsMid = NaN;\n  asksMid = NaN;\n  bidsFar = NaN;\n  asksFar = NaN;\n  bidWall = NaN;\n  bidWallSize = NaN;\n  askWall = NaN;\n  askWallSize = NaN;\n}\n\n// readBook() walks this bar's snapshot twice: first for the touch (the highest bid and the lowest ask: the chart hands\n// the asks over from the highest price down, so position says nothing), then for the dollars in each band and the\n// biggest level on each side within the wall reach. A level's dollars are its price times its size in coins. It\n// answers false when the bar has no usable snapshot: none delivered, a side missing, or a crossed book.\nfunction readBook(): bool {\n  clearReadings();\n  const n = in_book_cells(); // numbers delivered this bar: 0 when the block is empty, -1 when the bar has none\n  if (n \u003C 3) return false;\n  const cells = in_book_view();\n  let bestBid = -Infinity;\n  let bestAsk = Infinity;\n  for (let i = 0; i + 2 \u003C n; i += 3) {\n    const price = cells[i];\n    if (!(price > 0.0) || !(cells[i + 1] > 0.0)) continue; // an empty level is served but rests nothing\n    if (cells[i + 2] > 0.0) bestBid = Math.max(bestBid, price);\n    else if (cells[i + 2] \u003C 0.0) bestAsk = Math.min(bestAsk, price);\n  }\n  if (!(bestBid > 0.0) || !(bestAsk \u003C Infinity) || !(bestAsk > bestBid)) return false; // one side missing, or a crossed book\n  bookSeen = true;\n  const mid = (bestBid + bestAsk) * 0.5;\n  bidsNear = 0.0;\n  asksNear = 0.0;\n  bidsMid = 0.0;\n  asksMid = 0.0;\n  bidsFar = 0.0;\n  asksFar = 0.0;\n  bidWallSize = 0.0;\n  askWallSize = 0.0;\n  for (let i = 0; i + 2 \u003C n; i += 3) {\n    const price = cells[i];\n    const size = cells[i + 1];\n    if (!(price > 0.0) || !(size > 0.0)) continue;\n    const dollars = price * size;\n    if (cells[i + 2] > 0.0) {\n      const away = ((mid - price) / mid) * 100.0; // percent below the mid\n      if (away \u003C= NEAR_PCT) bidsNear += dollars;\n      if (away \u003C= MID_PCT) bidsMid += dollars;\n      if (away \u003C= FAR_PCT) bidsFar += dollars;\n      if (away \u003C= WALL_PCT && dollars > bidWallSize) {\n        bidWallSize = dollars;\n        bidWall = price;\n      }\n    } else if (cells[i + 2] \u003C 0.0) {\n      const away = ((price - mid) / mid) * 100.0; // percent above the mid\n      if (away \u003C= NEAR_PCT) asksNear += dollars;\n      if (away \u003C= MID_PCT) asksMid += dollars;\n      if (away \u003C= FAR_PCT) asksFar += dollars;\n      if (away \u003C= WALL_PCT && dollars > askWallSize) {\n        askWallSize = dollars;\n        askWall = price;\n      }\n    }\n  }\n  if (isNaN(bidWall)) bidWallSize = NaN; // no bid within the reach: no wall to name\n  if (isNaN(askWall)) askWallSize = NaN;\n  return true;\n}\n\n// One wall line: from lineBars bars back to the live bar at the wall's price, extended to the price axis; deleted when\n// there is no wall (a delete on a line that was never drawn does nothing).\nfunction drawWall(line: LineHandle, price: f64, t: f64, color: i32): void {\n  if (isNaN(price) || isNaN(barSeconds)) {\n    line.delete();\n    return;\n  }\n  line.set(t - f64(lineBars) * barSeconds, price, t, price).color(color).style(LineStyle.Dotted).extend(Extend.Right);\n}\n\n// Money as text: 48.9M, 262.0M, 950.0K, one decimal, in the row's slot.\nfunction sbUsd(x: f64): void {\n  if (x >= 1.0e9) { sb_f64(x / 1.0e9, 1); sb_text(\"B\"); }\n  else if (x >= 1.0e6) { sb_f64(x / 1.0e6, 1); sb_text(\"M\"); }\n  else { sb_f64(x / 1.0e3, 1); sb_text(\"K\"); }\n}\n\n// One depth row: \"\u003Cbid dollars> / \u003Cask dollars>\", or a dash while the bar has no snapshot.\nfunction sbDepth(bids: f64, asks: f64): void {\n  sb_clear();\n  if (isNaN(bids) || isNaN(asks)) sb_text(\"-\");\n  else { sbUsd(bids); sb_text(\" / \"); sbUsd(asks); }\n}\n\n// One wall row: \"\u003Cprice> · \u003Cdollars>\", or a dash when no level sits within the reach.\nfunction sbWall(price: f64, dollars: f64): void {\n  sb_clear();\n  if (isNaN(price) || isNaN(dollars)) sb_text(\"-\");\n  else { sb_f64(price, 2); sb_text(\" · \"); sbUsd(dollars); }\n}\n\nfunction onStart(): void {\n  lean = p_lean();\n  lineBars = i32(p_line_bars());\n}\n\n// onBar() runs once per bar: read the snapshot, write every output, and on the live bar write the first tile's words\n// and draw the two wall lines.\nfunction onBar(): void {\n  const t = bar.time();\n  if (!isNaN(prevTime) && t > prevTime && (isNaN(barSeconds) || t - prevTime \u003C barSeconds)) barSeconds = t - prevTime; // the smallest step is one bar\n  prevTime = t;\n  const hasSnapshot = readBook();\n  const depth = bidsFar + asksFar;\n  const imbalance = depth > 0.0 ? ((bidsFar - asksFar) / depth) * 100.0 : NaN;\n  let side = BALANCED;\n  if (imbalance >= lean) side = BIDS_HEAVIER;\n  else if (imbalance \u003C= -lean) side = ASKS_HEAVIER; // a NaN imbalance passes neither test and stays Balanced\n  out_side(side);\n  out_imbalance(imbalance);\n  out_imbalance_change(imbalance - prevImbalance); // NaN until two bars in a row have a book\n  out_bid_share(depth > 0.0 ? (bidsFar / depth) * 100.0 : NaN);\n  out_bids_near(bidsNear);\n  out_asks_near(asksNear);\n  out_bids_mid(bidsMid);\n  out_asks_mid(asksMid);\n  out_bids_far(bidsFar);\n  out_asks_far(asksFar);\n  out_bid_wall(bidWall);\n  out_bid_wall_size(bidWallSize);\n  out_ask_wall(askWall);\n  out_ask_wall_size(askWallSize);\n  prevImbalance = imbalance;\n\n  if (bar.isLast()) {\n    sb_clear();\n    if (!bookSeen) sb_text(\"No order book on this market\");\n    else if (!hasSnapshot) sb_text(\"Waiting for the book\");\n    else if (isNaN(imbalance)) sb_text(\"Nothing resting within 1%\");\n    else if (side == BIDS_HEAVIER) sb_text(\"Bids heavier\");\n    else if (side == ASKS_HEAVIER) sb_text(\"Asks heavier\");\n    else sb_text(\"Balanced\");\n    str_heavier_sb();\n    sbDepth(bidsNear, asksNear);\n    str_depth_near_sb();\n    sbDepth(bidsMid, asksMid);\n    str_depth_mid_sb();\n    sbDepth(bidsFar, asksFar);\n    str_depth_far_sb();\n    sbWall(bidWall, bidWallSize);\n    str_bid_wall_text_sb();\n    sbWall(askWall, askWallSize);\n    str_ask_wall_text_sb();\n    drawWall(bidLine, bidWall, t, BID_GREEN);\n    drawWall(askLine, askWall, t, ASK_RED);\n  }\n}\n```\n\n## How it works\n\n**One snapshot per bar.** `input(\"book\", book.cells, { max_cells: 1000, block_size: 10 })` hands each bar the book the chart loads for its own market, at its own price grouping, up to 500 levels a side. History bars carry the snapshot of their bar; the live bar's book is refreshed about once a second. `block_size` is required by the declaration and the chart does not read it.\n\n**The touch first.** The chart hands the bids over best first and the asks from the highest price down, so the first pass looks for the highest bid and the lowest ask by price, never by position, and skips empty levels. The mid is halfway between them; a book missing a side, or crossed, reads as no snapshot.\n\n**Dollars by distance.** The second pass prices each level (its price times its size in coins) and adds it to every band it sits inside: 0.25%, 0.5% and 1% from the mid. The 1% band also gives the imbalance, bids minus asks over their sum in percent, and the bid share, bids over that sum. The biggest level on each side within 2% is that side's wall.\n\n**The deciding word.** An imbalance at or above `lean` (10 points) reads Bids heavier, at or below minus `lean` reads Asks heavier, and anything between reads Balanced. A data-only `side` output (0, 1 or 2) picks the pill's colour from its ladder: amber for either heavier side and cyan for Balanced, so the colour says whether the book leans and the word says which way. The imbalance and its change since the previous bar's book, in points, are written on every bar as `imbalance` and `imbalance_change` for the Console.\n\n**The bid share in segments.** The meter reads `bid_share` from 0 to 100 in the cyan it declares; the cockpit look draws a meter as 20 segments, so each segment stands for 5 points of the share and ten lit segments is an even book. The number beside the label is the share itself.\n\n**The look draws the tiles.** `look: \"cockpit\"` sets the dark see-through panel with square corners, the four corner brackets in its amber accent, monospaced cyan type with a soft glow, the title and the labels in capitals, and each tile kind's drawing: the pill as its word alone in its colour, the meter as segments. It keeps its colours on a dark and a light chart alike ([Looks](../presentation/hud-and-hover-cards.md#looks)).\n\n**The walls on price.** Two line handles, made once at load, are set on the live bar at the two wall prices, reaching back `line_bars` (30) bars and extended to the price axis, dotted, green for the bid wall and red for the ask wall. A side with no level inside 2% deletes its line.\n\n## Where it runs\n\nEvery market whose order book the chart serves to an indicator: crypto perpetuals and spot such as Binance Futures BTCUSDT and Binance ETHUSDT. FX and stocks have no order book, and some thin perpetuals have none on the chart either: there the first tile reads \"No order book on this market\" and nothing is drawn. On a prediction market the chart serves a book in coarse price steps, wider than 1% of a mid in the tens of cents, so the card reads \"Nothing resting within 1%\" and names no wall.\n\n## When data is missing\n\n- A market with no order book on the chart: the first tile says so, every number reads a dash and no line is drawn.\n- A bar whose snapshot has not arrived yet, or arrived with one side empty or crossed: that bar writes no numbers, and on the live bar the first tile reads \"Waiting for the book\" until it does.\n- A book with no level inside 1% of the mid: the first tile reads \"Nothing resting within 1%\", every band reads 0 (the bands nest) and the bid share reads a dash with no segment lit; a level within 2% is still named as a wall.\n- A band with no level inside it reads 0; a side with no level within 2% names no wall and draws no line.\n\n## Customize it\n\n- **A wider middle.** Raise `lean` so the card names a side only on a clear lean.\n- **Longer or shorter wall lines.** `line_bars` sets how far back the two lines reach from the live bar.\n- **Other distances.** The bands and the wall reach are the constants `NEAR_PCT`, `MID_PCT`, `FAR_PCT` and `WALL_PCT`; change one together with the row labels that name it, since a tile label is fixed text.\n- **The imbalance as a number.** `tile.value(\"Imbalance within 1%\", \"imbalance\", { format: \"%\", delta: \"imbalance_change\" })` puts the imbalance on the card with its change since the last bar's book in the capsule.\n- **Another corner.** Change `position: \"middle_left\"` to any of the nine anchors, `top_left` to `bottom_right`.\n- **Change the look.** `look:` takes any of the twelve shipped looks, `default` to `classic` ([Looks](../presentation/hud-and-hover-cards.md#looks)), and a word declared beside it still wins; the Look row on the indicator's Style page switches it without code ([The Style page](../settings/style-page.md#the-look-row)).\n\n## Run it\n\n1. In the editor's Explorer, press the **Templates** icon (\"Browse starter templates\") and pick **Order Book HUD** under **HUDs**.\n2. Press **Run** on a crypto chart: the cockpit card appears at the middle left and the two walls draw on price.\n3. At the editor's Console prompt, type `outputs` to read the newest value of every output: the imbalance and its change, the bid share, the six depth sums and the two walls with their sizes.\n\n## Concepts used\n\n- [HUD cards](../presentation/hud-and-hover-cards.md#hud-cards) and [Blocks and tiles](../presentation/hud-and-hover-cards.md#blocks-and-tiles) for `render.hud`, the four tiles, the headline and the pill's colour ladder\n- [Looks](../presentation/hud-and-hover-cards.md#looks) for `look: \"cockpit\"` and what it draws for each tile kind\n- [The Style page](../settings/style-page.md#the-look-row) for the Look row that switches the look without code\n- [Data sources](../core-concepts/data-sources.md) and [Order flow](../functions/order-flow-kit.md#what-the-chart-serves) for `book.cells`, its row shape and its order\n- [Drawing objects](../presentation/drawing-objects.md#handles) for line handles made once and set on the live bar\n- [Plotting](../presentation/plotting.md) for data-only outputs and string slots\n",{"type":14,"children":15,"data":8889,"position":8891},"root",[16,26,29,30,47,48,387,388,406,407,7333,7334,7350,7351,7423,7424,7455,7456,7487,7488,7615,7616,7667,7668,7738,7739,7787,7788,7802,7803,7817,7818,7833,7834,7909,7910,7925,7926,8406,8407,8423,8424,8589,8590,8605,8606],{"type":17,"value":18,"position":19},"comment"," source: docs/indicators/cookbook/order-book-hud.md; generated by packages/cli/scripts/gen-indicator-docs.ts, do not edit ",{"start":20,"end":23},{"line":21,"column":21,"offset":22},1,0,{"line":21,"column":24,"offset":25},130,129,{"type":27,"value":28},"text","\n",{"type":27,"value":28},{"type":31,"tagName":32,"properties":33,"children":34,"position":44},"element","p",{},[35],{"type":27,"value":36,"position":37},"A card at the middle left of the price pane that shows what is resting near the price, read from the exchange's own order book and kept current on the live bar. It is drawn in the cockpit look: a dark see-through panel held by four amber corner brackets, with glowing cyan type and its title and labels in capitals. It names the heavier side first, as the headline: Bids heavier or Asks heavier in amber, Balanced in cyan. Under the word, the bids' share of the dollars resting within 1% of the mid lights a bar of 20 segments; three rows give the dollars bid and offered within 0.25%, 0.5% and 1% of the mid, and two rows name the biggest bid and ask within 2%: where each wall sits and how many dollars rest there. The two walls are also drawn on price as thin dotted lines, green under the price and red over it.",{"start":38,"end":41},{"line":39,"column":21,"offset":40},5,149,{"line":39,"column":42,"offset":43},816,964,{"start":45,"end":46},{"line":39,"column":21,"offset":40},{"line":39,"column":42,"offset":43},{"type":27,"value":28},{"type":31,"tagName":32,"properties":49,"children":50,"position":384},{},[51,60,74,81,94,101,120,127,145,151,169,176,189,196,209,216,234,240,258,265,283,290,308,315,328,335,353,360,377],{"type":27,"value":52,"position":53},"The card is one ",{"start":54,"end":57},{"line":55,"column":21,"offset":56},7,966,{"line":55,"column":58,"offset":59},17,982,{"type":31,"tagName":61,"properties":62,"children":63,"position":71},"code",{},[64],{"type":27,"value":65,"position":66},"render.hud(...)",{"start":67,"end":68},{"line":55,"column":58,"offset":59},{"line":55,"column":69,"offset":70},34,999,{"start":72,"end":73},{"line":55,"column":58,"offset":59},{"line":55,"column":69,"offset":70},{"type":27,"value":75,"position":76}," of four tiles with ",{"start":77,"end":78},{"line":55,"column":69,"offset":70},{"line":55,"column":79,"offset":80},54,1019,{"type":31,"tagName":61,"properties":82,"children":83,"position":91},{},[84],{"type":27,"value":85,"position":86},"look: \"cockpit\"",{"start":87,"end":88},{"line":55,"column":79,"offset":80},{"line":55,"column":89,"offset":90},71,1036,{"start":92,"end":93},{"line":55,"column":79,"offset":80},{"line":55,"column":89,"offset":90},{"type":27,"value":95,"position":96},": a headline pill, a meter and two rows tiles whose lines are words written on the live bar (",{"start":97,"end":98},{"line":55,"column":89,"offset":90},{"line":55,"column":99,"offset":100},164,1129,{"type":31,"tagName":102,"properties":103,"children":105,"position":115},"a",{"href":104},"../presentation/hud-and-hover-cards.md#hud-cards",[106],{"type":27,"value":107,"position":108},"HUD cards",{"start":109,"end":112},{"line":55,"column":110,"offset":111},165,1130,{"line":55,"column":113,"offset":114},174,1139,{"start":116,"end":117},{"line":55,"column":99,"offset":100},{"line":55,"column":118,"offset":119},225,1190,{"type":27,"value":121,"position":122},", ",{"start":123,"end":124},{"line":55,"column":118,"offset":119},{"line":55,"column":125,"offset":126},227,1192,{"type":31,"tagName":102,"properties":128,"children":130,"position":140},{"href":129},"../presentation/hud-and-hover-cards.md#looks",[131],{"type":27,"value":132,"position":133},"Looks",{"start":134,"end":137},{"line":55,"column":135,"offset":136},228,1193,{"line":55,"column":138,"offset":139},233,1198,{"start":141,"end":142},{"line":55,"column":125,"offset":126},{"line":55,"column":143,"offset":144},280,1245,{"type":27,"value":121,"position":146},{"start":147,"end":148},{"line":55,"column":143,"offset":144},{"line":55,"column":149,"offset":150},282,1247,{"type":31,"tagName":102,"properties":152,"children":154,"position":164},{"href":153},"../presentation/hud-and-hover-cards.md#blocks-and-tiles",[155],{"type":27,"value":156,"position":157},"Blocks and tiles",{"start":158,"end":161},{"line":55,"column":159,"offset":160},283,1248,{"line":55,"column":162,"offset":163},299,1264,{"start":165,"end":166},{"line":55,"column":149,"offset":150},{"line":55,"column":167,"offset":168},357,1322,{"type":27,"value":170,"position":171},"). The book arrives as ",{"start":172,"end":173},{"line":55,"column":167,"offset":168},{"line":55,"column":174,"offset":175},380,1345,{"type":31,"tagName":61,"properties":177,"children":178,"position":186},{},[179],{"type":27,"value":180,"position":181},"book.cells",{"start":182,"end":183},{"line":55,"column":174,"offset":175},{"line":55,"column":184,"offset":185},392,1357,{"start":187,"end":188},{"line":55,"column":174,"offset":175},{"line":55,"column":184,"offset":185},{"type":27,"value":190,"position":191},", one ",{"start":192,"end":193},{"line":55,"column":184,"offset":185},{"line":55,"column":194,"offset":195},398,1363,{"type":31,"tagName":61,"properties":197,"children":198,"position":206},{},[199],{"type":27,"value":200,"position":201},"[price, size, side]",{"start":202,"end":203},{"line":55,"column":194,"offset":195},{"line":55,"column":204,"offset":205},419,1384,{"start":207,"end":208},{"line":55,"column":194,"offset":195},{"line":55,"column":204,"offset":205},{"type":27,"value":210,"position":211}," row per level (",{"start":212,"end":213},{"line":55,"column":204,"offset":205},{"line":55,"column":214,"offset":215},435,1400,{"type":31,"tagName":102,"properties":217,"children":219,"position":229},{"href":218},"../core-concepts/data-sources.md",[220],{"type":27,"value":221,"position":222},"Data sources",{"start":223,"end":226},{"line":55,"column":224,"offset":225},436,1401,{"line":55,"column":227,"offset":228},448,1413,{"start":230,"end":231},{"line":55,"column":214,"offset":215},{"line":55,"column":232,"offset":233},483,1448,{"type":27,"value":121,"position":235},{"start":236,"end":237},{"line":55,"column":232,"offset":233},{"line":55,"column":238,"offset":239},485,1450,{"type":31,"tagName":102,"properties":241,"children":243,"position":253},{"href":242},"../functions/order-flow-kit.md#what-the-chart-serves",[244],{"type":27,"value":245,"position":246},"Order flow",{"start":247,"end":250},{"line":55,"column":248,"offset":249},486,1451,{"line":55,"column":251,"offset":252},496,1461,{"start":254,"end":255},{"line":55,"column":238,"offset":239},{"line":55,"column":256,"offset":257},551,1516,{"type":27,"value":259,"position":260},"); the numbers are data-only outputs written on every bar, the first word a string slot written on the live bar (",{"start":261,"end":262},{"line":55,"column":256,"offset":257},{"line":55,"column":263,"offset":264},664,1629,{"type":31,"tagName":102,"properties":266,"children":268,"position":278},{"href":267},"../presentation/plotting.md",[269],{"type":27,"value":270,"position":271},"Plotting",{"start":272,"end":275},{"line":55,"column":273,"offset":274},665,1630,{"line":55,"column":276,"offset":277},673,1638,{"start":279,"end":280},{"line":55,"column":263,"offset":264},{"line":55,"column":281,"offset":282},703,1668,{"type":27,"value":284,"position":285},"), and the walls two line handles (",{"start":286,"end":287},{"line":55,"column":281,"offset":282},{"line":55,"column":288,"offset":289},738,1703,{"type":31,"tagName":102,"properties":291,"children":293,"position":303},{"href":292},"../presentation/drawing-objects.md#handles",[294],{"type":27,"value":295,"position":296},"Drawing objects",{"start":297,"end":300},{"line":55,"column":298,"offset":299},739,1704,{"line":55,"column":301,"offset":302},754,1719,{"start":304,"end":305},{"line":55,"column":288,"offset":289},{"line":55,"column":306,"offset":307},799,1764,{"type":27,"value":309,"position":310},"). This is also the ",{"start":311,"end":312},{"line":55,"column":306,"offset":307},{"line":55,"column":313,"offset":314},819,1784,{"type":31,"tagName":61,"properties":316,"children":317,"position":325},{},[318],{"type":27,"value":319,"position":320},"order-book-hud",{"start":321,"end":322},{"line":55,"column":313,"offset":314},{"line":55,"column":323,"offset":324},835,1800,{"start":326,"end":327},{"line":55,"column":313,"offset":314},{"line":55,"column":323,"offset":324},{"type":27,"value":329,"position":330}," template: the ",{"start":331,"end":332},{"line":55,"column":323,"offset":324},{"line":55,"column":333,"offset":334},850,1815,{"type":31,"tagName":336,"properties":337,"children":338,"position":348},"strong",{},[339],{"type":27,"value":340,"position":341},"Order Book HUD",{"start":342,"end":345},{"line":55,"column":343,"offset":344},852,1817,{"line":55,"column":346,"offset":347},866,1831,{"start":349,"end":350},{"line":55,"column":333,"offset":334},{"line":55,"column":351,"offset":352},868,1833,{"type":27,"value":354,"position":355}," card under ",{"start":356,"end":357},{"line":55,"column":351,"offset":352},{"line":55,"column":358,"offset":359},880,1845,{"type":31,"tagName":336,"properties":361,"children":362,"position":372},{},[363],{"type":27,"value":364,"position":365},"HUDs",{"start":366,"end":369},{"line":55,"column":367,"offset":368},882,1847,{"line":55,"column":370,"offset":371},886,1851,{"start":373,"end":374},{"line":55,"column":358,"offset":359},{"line":55,"column":375,"offset":376},888,1853,{"type":27,"value":378,"position":379}," in the editor's starter list, and it compiles as written.",{"start":380,"end":381},{"line":55,"column":375,"offset":376},{"line":55,"column":382,"offset":383},946,1911,{"start":385,"end":386},{"line":55,"column":21,"offset":56},{"line":55,"column":382,"offset":383},{"type":27,"value":28},{"type":31,"tagName":389,"properties":390,"children":391,"position":402},"h2",{},[392],{"type":27,"value":393,"position":394},"The wrun indicator",{"start":395,"end":399},{"line":396,"column":397,"offset":398},9,4,1916,{"line":396,"column":400,"offset":401},22,1934,{"start":403,"end":405},{"line":396,"column":21,"offset":404},1913,{"line":396,"column":400,"offset":401},{"type":27,"value":28},{"type":14,"children":408},[409],{"type":31,"tagName":410,"properties":411,"children":415,"data":-1},"pre",{"class":412,"style":413,"tabindex":414,"data-sample":319},"shiki shiki-themes github-dark github-light","--shiki-dark:#e1e4e8;--shiki-light:#24292e;--shiki-dark-bg:#24292e;--shiki-light-bg:#fff","0",[416],{"type":31,"tagName":61,"properties":417,"children":420},{"class":418},[419],"language-typescript",[421,432,433,441,442,450,451,459,460,468,469,477,478,486,487,495,496,504,505,508,509,517,518,526,527,535,536,562,563,649,650,670,671,741,742,745,746,754,755,763,764,772,773,781,782,804,805,845,846,849,850,858,859,867,868,899,900,939,940,977,978,1026,1027,1073,1074,1120,1121,1166,1167,1212,1213,1258,1259,1304,1305,1351,1352,1389,1390,1435,1436,1473,1474,1511,1512,1546,1547,1575,1576,1604,1605,1639,1640,1668,1669,1710,1711,1714,1715,1723,1724,1732,1733,1741,1742,1808,1809,1890,1891,1961,1962,2041,2042,2100,2101,2109,2110,2113,2114,2148,2149,2175,2176,2206,2207,2232,2233,2236,2237,2295,2296,2351,2352,2394,2395,2431,2432,2435,2436,2466,2467,2491,2492,2516,2517,2520,2521,2553,2554,2579,2580,2610,2611,2651,2652,2689,2690,2722,2723,2726,2727,2735,2736,2768,2769,2801,2802,2834,2835,2867,2868,2900,2901,2933,2934,2966,2967,2999,3000,3032,3033,3065,3066,3069,3070,3102,3103,3123,3124,3144,3145,3165,3166,3186,3187,3207,3208,3228,3229,3249,3250,3270,3271,3291,3292,3312,3313,3321,3322,3325,3326,3334,3335,3343,3344,3352,3353,3361,3362,3391,3392,3405,3406,3438,3439,3480,3481,3506,3507,3538,3539,3564,3565,3635,3636,3658,3659,3750,3751,3807,3808,3868,3869,3877,3878,3973,3974,3995,3996,4039,4040,4059,4060,4079,4080,4099,4100,4119,4120,4139,4140,4159,4160,4179,4180,4199,4200,4259,4260,4279,4280,4314,4315,4379,4380,4410,4411,4446,4447,4507,4508,4544,4545,4577,4578,4610,4611,4649,4650,4666,4667,4684,4685,4693,4694,4739,4740,4793,4794,4826,4827,4859,4860,4892,4893,4929,4930,4946,4947,4963,4964,4971,4972,4980,4981,4988,4989,5027,5028,5060,5061,5077,5078,5085,5086,5089,5090,5098,5099,5107,5108,5207,5208,5242,5243,5260,5261,5273,5274,5281,5282,5351,5352,5359,5360,5363,5364,5372,5373,5418,5419,5495,5496,5570,5571,5629,5630,5637,5638,5641,5642,5650,5651,5713,5714,5726,5727,5777,5778,5825,5826,5833,5834,5837,5838,5846,5847,5908,5909,5920,5921,5969,5970,6024,6025,6032,6033,6036,6037,6065,6066,6087,6088,6118,6119,6126,6127,6130,6131,6139,6140,6148,6149,6177,6178,6208,6209,6316,6317,6334,6335,6359,6360,6390,6391,6469,6470,6494,6495,6528,6529,6574,6575,6588,6589,6602,6603,6630,6631,6689,6690,6703,6704,6717,6718,6731,6732,6745,6746,6759,6760,6773,6774,6787,6788,6801,6802,6815,6816,6829,6830,6847,6848,6851,6852,6874,6875,6887,6888,6925,6926,6967,6968,7009,7010,7056,7057,7101,7102,7127,7128,7140,7141,7154,7155,7167,7168,7180,7181,7193,7194,7206,7207,7219,7220,7233,7234,7246,7247,7259,7260,7272,7273,7295,7296,7317,7318,7325,7326],{"type":31,"tagName":422,"properties":423,"children":425},"span",{"class":424},"line",[426],{"type":31,"tagName":422,"properties":427,"children":429},{"style":428},"--shiki-dark:#6A737D;--shiki-light:#6A737D",[430],{"type":27,"value":431},"// Order Book HUD: what is resting near the price, read from the exchange's own order book, drawn by the chart in the",{"type":27,"value":28},{"type":31,"tagName":422,"properties":434,"children":435},{"class":424},[436],{"type":31,"tagName":422,"properties":437,"children":438},{"style":428},[439],{"type":27,"value":440},"// cockpit look. One card names the heavier side first (Bids heavier or Asks heavier in amber, Balanced in the look's",{"type":27,"value":28},{"type":31,"tagName":422,"properties":443,"children":444},{"class":424},[445],{"type":31,"tagName":422,"properties":446,"children":447},{"style":428},[448],{"type":27,"value":449},"// cyan), then the bids' share of the dollars resting within 1% of the mid on a 20-segment bar (50 marked), the",{"type":27,"value":28},{"type":31,"tagName":422,"properties":452,"children":453},{"class":424},[454],{"type":31,"tagName":422,"properties":455,"children":456},{"style":428},[457],{"type":27,"value":458},"// dollars bid and offered within 0.25%, 0.5% and 1% of the mid (one row per distance), and the biggest bid and ask",{"type":27,"value":28},{"type":31,"tagName":422,"properties":461,"children":462},{"class":424},[463],{"type":31,"tagName":422,"properties":464,"children":465},{"style":428},[466],{"type":27,"value":467},"// walls within 2%: where each sits and how many dollars rest there (one row per wall). The imbalance and its change",{"type":27,"value":28},{"type":31,"tagName":422,"properties":470,"children":471},{"class":424},[472],{"type":31,"tagName":422,"properties":473,"children":474},{"style":428},[475],{"type":27,"value":476},"// since the last bar stay data-only outputs for the Console and a watch. The two walls are also drawn on price as thin dotted lines, green under",{"type":27,"value":28},{"type":31,"tagName":422,"properties":479,"children":480},{"class":424},[481],{"type":31,"tagName":422,"properties":482,"children":483},{"style":428},[484],{"type":27,"value":485},"// the price and red over it, from line_bars bars back to the live bar and on to the price axis. A market without an",{"type":27,"value":28},{"type":31,"tagName":422,"properties":488,"children":489},{"class":424},[490],{"type":31,"tagName":422,"properties":491,"children":492},{"style":428},[493],{"type":27,"value":494},"// order book (FX, stocks) says so in the first tile. The book arrives as one snapshot per bar, refreshed about once a",{"type":27,"value":28},{"type":31,"tagName":422,"properties":497,"children":498},{"class":424},[499],{"type":31,"tagName":422,"properties":500,"children":501},{"style":428},[502],{"type":27,"value":503},"// second on the live bar, so the card follows the live book.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":506,"children":507},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":510,"children":511},{"class":424},[512],{"type":31,"tagName":422,"properties":513,"children":514},{"style":428},[515],{"type":27,"value":516},"// Settings: how far the imbalance must lean before the card names a side, and how far back the wall lines reach.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":519,"children":520},{"class":424},[521],{"type":31,"tagName":422,"properties":522,"children":523},{"style":428},[524],{"type":27,"value":525},"// The distances the rows name (0.25%, 0.5%, 1% and the 2% wall reach) are constants below, because a tile's label is",{"type":27,"value":28},{"type":31,"tagName":422,"properties":528,"children":529},{"class":424},[530],{"type":31,"tagName":422,"properties":531,"children":532},{"style":428},[533],{"type":27,"value":534},"// fixed text: change a distance and its label together.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":537,"children":538},{"class":424},[539,545,551,557],{"type":31,"tagName":422,"properties":540,"children":542},{"style":541},"--shiki-dark:#B392F0;--shiki-light:#6F42C1",[543],{"type":27,"value":544},"section",{"type":31,"tagName":422,"properties":546,"children":548},{"style":547},"--shiki-dark:#E1E4E8;--shiki-light:#24292E",[549],{"type":27,"value":550},"(",{"type":31,"tagName":422,"properties":552,"children":554},{"style":553},"--shiki-dark:#9ECBFF;--shiki-light:#032F62",[555],{"type":27,"value":556},"\"Reading\"",{"type":31,"tagName":422,"properties":558,"children":559},{"style":547},[560],{"type":27,"value":561},");",{"type":27,"value":28},{"type":31,"tagName":422,"properties":564,"children":565},{"class":424},[566,571,576,580,585,589,595,600,605,610,615,620,624,629,634,639,644],{"type":31,"tagName":422,"properties":567,"children":568},{"style":547},[569],{"type":27,"value":570},"param.",{"type":31,"tagName":422,"properties":572,"children":573},{"style":541},[574],{"type":27,"value":575},"number",{"type":31,"tagName":422,"properties":577,"children":578},{"style":547},[579],{"type":27,"value":550},{"type":31,"tagName":422,"properties":581,"children":582},{"style":553},[583],{"type":27,"value":584},"\"lean\"",{"type":31,"tagName":422,"properties":586,"children":587},{"style":547},[588],{"type":27,"value":121},{"type":31,"tagName":422,"properties":590,"children":592},{"style":591},"--shiki-dark:#79B8FF;--shiki-light:#005CC5",[593],{"type":27,"value":594},"10.0",{"type":31,"tagName":422,"properties":596,"children":597},{"style":547},[598],{"type":27,"value":599},", { min: ",{"type":31,"tagName":422,"properties":601,"children":602},{"style":591},[603],{"type":27,"value":604},"1.0",{"type":31,"tagName":422,"properties":606,"children":607},{"style":547},[608],{"type":27,"value":609},", max: ",{"type":31,"tagName":422,"properties":611,"children":612},{"style":591},[613],{"type":27,"value":614},"50.0",{"type":31,"tagName":422,"properties":616,"children":617},{"style":547},[618],{"type":27,"value":619},", step: ",{"type":31,"tagName":422,"properties":621,"children":622},{"style":591},[623],{"type":27,"value":604},{"type":31,"tagName":422,"properties":625,"children":626},{"style":547},[627],{"type":27,"value":628},", label: ",{"type":31,"tagName":422,"properties":630,"children":631},{"style":553},[632],{"type":27,"value":633},"\"Balanced band in points\"",{"type":31,"tagName":422,"properties":635,"children":636},{"style":547},[637],{"type":27,"value":638},", description: ",{"type":31,"tagName":422,"properties":640,"children":641},{"style":553},[642],{"type":27,"value":643},"\"Imbalance points either side of zero before the card names the heavier side; inside the band it reads Balanced\"",{"type":31,"tagName":422,"properties":645,"children":646},{"style":547},[647],{"type":27,"value":648}," });",{"type":27,"value":28},{"type":31,"tagName":422,"properties":651,"children":652},{"class":424},[653,657,661,666],{"type":31,"tagName":422,"properties":654,"children":655},{"style":541},[656],{"type":27,"value":544},{"type":31,"tagName":422,"properties":658,"children":659},{"style":547},[660],{"type":27,"value":550},{"type":31,"tagName":422,"properties":662,"children":663},{"style":553},[664],{"type":27,"value":665},"\"Wall lines\"",{"type":31,"tagName":422,"properties":667,"children":668},{"style":547},[669],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":672,"children":673},{"class":424},[674,678,683,687,692,696,701,705,710,714,719,723,728,732,737],{"type":31,"tagName":422,"properties":675,"children":676},{"style":547},[677],{"type":27,"value":570},{"type":31,"tagName":422,"properties":679,"children":680},{"style":541},[681],{"type":27,"value":682},"int",{"type":31,"tagName":422,"properties":684,"children":685},{"style":547},[686],{"type":27,"value":550},{"type":31,"tagName":422,"properties":688,"children":689},{"style":553},[690],{"type":27,"value":691},"\"line_bars\"",{"type":31,"tagName":422,"properties":693,"children":694},{"style":547},[695],{"type":27,"value":121},{"type":31,"tagName":422,"properties":697,"children":698},{"style":591},[699],{"type":27,"value":700},"30",{"type":31,"tagName":422,"properties":702,"children":703},{"style":547},[704],{"type":27,"value":599},{"type":31,"tagName":422,"properties":706,"children":707},{"style":591},[708],{"type":27,"value":709},"2",{"type":31,"tagName":422,"properties":711,"children":712},{"style":547},[713],{"type":27,"value":609},{"type":31,"tagName":422,"properties":715,"children":716},{"style":591},[717],{"type":27,"value":718},"300",{"type":31,"tagName":422,"properties":720,"children":721},{"style":547},[722],{"type":27,"value":628},{"type":31,"tagName":422,"properties":724,"children":725},{"style":553},[726],{"type":27,"value":727},"\"Wall line length, bars\"",{"type":31,"tagName":422,"properties":729,"children":730},{"style":547},[731],{"type":27,"value":638},{"type":31,"tagName":422,"properties":733,"children":734},{"style":553},[735],{"type":27,"value":736},"\"Bars the two wall lines reach back from the live bar\"",{"type":31,"tagName":422,"properties":738,"children":739},{"style":547},[740],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":743,"children":744},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":747,"children":748},{"class":424},[749],{"type":31,"tagName":422,"properties":750,"children":751},{"style":428},[752],{"type":27,"value":753},"// Inputs: the chart's own candles set the grid (a file whose first feed is a block starts with them), then the book:",{"type":27,"value":28},{"type":31,"tagName":422,"properties":756,"children":757},{"class":424},[758],{"type":31,"tagName":422,"properties":759,"children":760},{"style":428},[761],{"type":27,"value":762},"// one [price, size, side] row per price level, side +1 a bid and -1 an ask, sizes in coins. The chart serves its own",{"type":27,"value":28},{"type":31,"tagName":422,"properties":765,"children":766},{"class":424},[767],{"type":31,"tagName":422,"properties":768,"children":769},{"style":428},[770],{"type":27,"value":771},"// book at its own price grouping, up to 500 levels a side, so 1000 rows hold any bar; block_size is required by the",{"type":27,"value":28},{"type":31,"tagName":422,"properties":774,"children":775},{"class":424},[776],{"type":31,"tagName":422,"properties":777,"children":778},{"style":428},[779],{"type":27,"value":780},"// declaration, and the chart does not read it.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":783,"children":784},{"class":424},[785,790,794,799],{"type":31,"tagName":422,"properties":786,"children":787},{"style":541},[788],{"type":27,"value":789},"input",{"type":31,"tagName":422,"properties":791,"children":792},{"style":547},[793],{"type":27,"value":550},{"type":31,"tagName":422,"properties":795,"children":796},{"style":553},[797],{"type":27,"value":798},"\"close\"",{"type":31,"tagName":422,"properties":800,"children":801},{"style":547},[802],{"type":27,"value":803},", ohlcv.close);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":806,"children":807},{"class":424},[808,812,816,821,826,831,836,841],{"type":31,"tagName":422,"properties":809,"children":810},{"style":541},[811],{"type":27,"value":789},{"type":31,"tagName":422,"properties":813,"children":814},{"style":547},[815],{"type":27,"value":550},{"type":31,"tagName":422,"properties":817,"children":818},{"style":553},[819],{"type":27,"value":820},"\"book\"",{"type":31,"tagName":422,"properties":822,"children":823},{"style":547},[824],{"type":27,"value":825},", book.cells, { max_cells: ",{"type":31,"tagName":422,"properties":827,"children":828},{"style":591},[829],{"type":27,"value":830},"1000",{"type":31,"tagName":422,"properties":832,"children":833},{"style":547},[834],{"type":27,"value":835},", block_size: ",{"type":31,"tagName":422,"properties":837,"children":838},{"style":591},[839],{"type":27,"value":840},"10",{"type":31,"tagName":422,"properties":842,"children":843},{"style":547},[844],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":847,"children":848},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":851,"children":852},{"class":424},[853],{"type":31,"tagName":422,"properties":854,"children":855},{"style":428},[856],{"type":27,"value":857},"// Outputs: all data-only, one value per bar, so a watch or an alert can read them too; the card shows the words the",{"type":27,"value":28},{"type":31,"tagName":422,"properties":860,"children":861},{"class":424},[862],{"type":31,"tagName":422,"properties":863,"children":864},{"style":428},[865],{"type":27,"value":866},"// slots below carry, written from these numbers on the live bar.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":869,"children":870},{"class":424},[871,876,880,885,890,895],{"type":31,"tagName":422,"properties":872,"children":873},{"style":541},[874],{"type":27,"value":875},"output",{"type":31,"tagName":422,"properties":877,"children":878},{"style":547},[879],{"type":27,"value":550},{"type":31,"tagName":422,"properties":881,"children":882},{"style":553},[883],{"type":27,"value":884},"\"side\"",{"type":31,"tagName":422,"properties":886,"children":887},{"style":547},[888],{"type":27,"value":889},", none, overlay, { description: ",{"type":31,"tagName":422,"properties":891,"children":892},{"style":553},[893],{"type":27,"value":894},"\"0 asks heavier, 1 balanced or no book, 2 bids heavier: the first tile's colour\"",{"type":31,"tagName":422,"properties":896,"children":897},{"style":547},[898],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":901,"children":902},{"class":424},[903,907,911,916,921,926,930,935],{"type":31,"tagName":422,"properties":904,"children":905},{"style":541},[906],{"type":27,"value":875},{"type":31,"tagName":422,"properties":908,"children":909},{"style":547},[910],{"type":27,"value":550},{"type":31,"tagName":422,"properties":912,"children":913},{"style":553},[914],{"type":27,"value":915},"\"imbalance\"",{"type":31,"tagName":422,"properties":917,"children":918},{"style":547},[919],{"type":27,"value":920},", none, overlay, { format: ",{"type":31,"tagName":422,"properties":922,"children":923},{"style":553},[924],{"type":27,"value":925},"\"%\"",{"type":31,"tagName":422,"properties":927,"children":928},{"style":547},[929],{"type":27,"value":638},{"type":31,"tagName":422,"properties":931,"children":932},{"style":553},[933],{"type":27,"value":934},"\"Bids minus asks over their sum within 1% of the mid, percent\"",{"type":31,"tagName":422,"properties":936,"children":937},{"style":547},[938],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":941,"children":942},{"class":424},[943,947,951,956,960,964,968,973],{"type":31,"tagName":422,"properties":944,"children":945},{"style":541},[946],{"type":27,"value":875},{"type":31,"tagName":422,"properties":948,"children":949},{"style":547},[950],{"type":27,"value":550},{"type":31,"tagName":422,"properties":952,"children":953},{"style":553},[954],{"type":27,"value":955},"\"imbalance_change\"",{"type":31,"tagName":422,"properties":957,"children":958},{"style":547},[959],{"type":27,"value":920},{"type":31,"tagName":422,"properties":961,"children":962},{"style":553},[963],{"type":27,"value":925},{"type":31,"tagName":422,"properties":965,"children":966},{"style":547},[967],{"type":27,"value":638},{"type":31,"tagName":422,"properties":969,"children":970},{"style":553},[971],{"type":27,"value":972},"\"The imbalance's change since the previous bar's snapshot, points\"",{"type":31,"tagName":422,"properties":974,"children":975},{"style":547},[976],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":979,"children":980},{"class":424},[981,985,989,994,999,1004,1009,1013,1017,1022],{"type":31,"tagName":422,"properties":982,"children":983},{"style":541},[984],{"type":27,"value":875},{"type":31,"tagName":422,"properties":986,"children":987},{"style":547},[988],{"type":27,"value":550},{"type":31,"tagName":422,"properties":990,"children":991},{"style":553},[992],{"type":27,"value":993},"\"bid_share\"",{"type":31,"tagName":422,"properties":995,"children":996},{"style":547},[997],{"type":27,"value":998},", none, overlay, { color: ",{"type":31,"tagName":422,"properties":1000,"children":1001},{"style":553},[1002],{"type":27,"value":1003},"\"#10b981\"",{"type":31,"tagName":422,"properties":1005,"children":1006},{"style":547},[1007],{"type":27,"value":1008},", format: ",{"type":31,"tagName":422,"properties":1010,"children":1011},{"style":553},[1012],{"type":27,"value":925},{"type":31,"tagName":422,"properties":1014,"children":1015},{"style":547},[1016],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1018,"children":1019},{"style":553},[1020],{"type":27,"value":1021},"\"Bids as a percent of all dollars resting within 1% of the mid\"",{"type":31,"tagName":422,"properties":1023,"children":1024},{"style":547},[1025],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1028,"children":1029},{"class":424},[1030,1034,1038,1043,1047,1051,1055,1060,1064,1069],{"type":31,"tagName":422,"properties":1031,"children":1032},{"style":541},[1033],{"type":27,"value":875},{"type":31,"tagName":422,"properties":1035,"children":1036},{"style":547},[1037],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1039,"children":1040},{"style":553},[1041],{"type":27,"value":1042},"\"bids_near\"",{"type":31,"tagName":422,"properties":1044,"children":1045},{"style":547},[1046],{"type":27,"value":998},{"type":31,"tagName":422,"properties":1048,"children":1049},{"style":553},[1050],{"type":27,"value":1003},{"type":31,"tagName":422,"properties":1052,"children":1053},{"style":547},[1054],{"type":27,"value":1008},{"type":31,"tagName":422,"properties":1056,"children":1057},{"style":553},[1058],{"type":27,"value":1059},"\"si\"",{"type":31,"tagName":422,"properties":1061,"children":1062},{"style":547},[1063],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1065,"children":1066},{"style":553},[1067],{"type":27,"value":1068},"\"Dollars bid within 0.25% of the mid\"",{"type":31,"tagName":422,"properties":1070,"children":1071},{"style":547},[1072],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1075,"children":1076},{"class":424},[1077,1081,1085,1090,1094,1099,1103,1107,1111,1116],{"type":31,"tagName":422,"properties":1078,"children":1079},{"style":541},[1080],{"type":27,"value":875},{"type":31,"tagName":422,"properties":1082,"children":1083},{"style":547},[1084],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1086,"children":1087},{"style":553},[1088],{"type":27,"value":1089},"\"asks_near\"",{"type":31,"tagName":422,"properties":1091,"children":1092},{"style":547},[1093],{"type":27,"value":998},{"type":31,"tagName":422,"properties":1095,"children":1096},{"style":553},[1097],{"type":27,"value":1098},"\"#ff003c\"",{"type":31,"tagName":422,"properties":1100,"children":1101},{"style":547},[1102],{"type":27,"value":1008},{"type":31,"tagName":422,"properties":1104,"children":1105},{"style":553},[1106],{"type":27,"value":1059},{"type":31,"tagName":422,"properties":1108,"children":1109},{"style":547},[1110],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1112,"children":1113},{"style":553},[1114],{"type":27,"value":1115},"\"Dollars offered within 0.25% of the mid\"",{"type":31,"tagName":422,"properties":1117,"children":1118},{"style":547},[1119],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1122,"children":1123},{"class":424},[1124,1128,1132,1137,1141,1145,1149,1153,1157,1162],{"type":31,"tagName":422,"properties":1125,"children":1126},{"style":541},[1127],{"type":27,"value":875},{"type":31,"tagName":422,"properties":1129,"children":1130},{"style":547},[1131],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1133,"children":1134},{"style":553},[1135],{"type":27,"value":1136},"\"bids_mid\"",{"type":31,"tagName":422,"properties":1138,"children":1139},{"style":547},[1140],{"type":27,"value":998},{"type":31,"tagName":422,"properties":1142,"children":1143},{"style":553},[1144],{"type":27,"value":1003},{"type":31,"tagName":422,"properties":1146,"children":1147},{"style":547},[1148],{"type":27,"value":1008},{"type":31,"tagName":422,"properties":1150,"children":1151},{"style":553},[1152],{"type":27,"value":1059},{"type":31,"tagName":422,"properties":1154,"children":1155},{"style":547},[1156],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1158,"children":1159},{"style":553},[1160],{"type":27,"value":1161},"\"Dollars bid within 0.5% of the mid\"",{"type":31,"tagName":422,"properties":1163,"children":1164},{"style":547},[1165],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1168,"children":1169},{"class":424},[1170,1174,1178,1183,1187,1191,1195,1199,1203,1208],{"type":31,"tagName":422,"properties":1171,"children":1172},{"style":541},[1173],{"type":27,"value":875},{"type":31,"tagName":422,"properties":1175,"children":1176},{"style":547},[1177],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1179,"children":1180},{"style":553},[1181],{"type":27,"value":1182},"\"asks_mid\"",{"type":31,"tagName":422,"properties":1184,"children":1185},{"style":547},[1186],{"type":27,"value":998},{"type":31,"tagName":422,"properties":1188,"children":1189},{"style":553},[1190],{"type":27,"value":1098},{"type":31,"tagName":422,"properties":1192,"children":1193},{"style":547},[1194],{"type":27,"value":1008},{"type":31,"tagName":422,"properties":1196,"children":1197},{"style":553},[1198],{"type":27,"value":1059},{"type":31,"tagName":422,"properties":1200,"children":1201},{"style":547},[1202],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1204,"children":1205},{"style":553},[1206],{"type":27,"value":1207},"\"Dollars offered within 0.5% of the mid\"",{"type":31,"tagName":422,"properties":1209,"children":1210},{"style":547},[1211],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1214,"children":1215},{"class":424},[1216,1220,1224,1229,1233,1237,1241,1245,1249,1254],{"type":31,"tagName":422,"properties":1217,"children":1218},{"style":541},[1219],{"type":27,"value":875},{"type":31,"tagName":422,"properties":1221,"children":1222},{"style":547},[1223],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1225,"children":1226},{"style":553},[1227],{"type":27,"value":1228},"\"bids_far\"",{"type":31,"tagName":422,"properties":1230,"children":1231},{"style":547},[1232],{"type":27,"value":998},{"type":31,"tagName":422,"properties":1234,"children":1235},{"style":553},[1236],{"type":27,"value":1003},{"type":31,"tagName":422,"properties":1238,"children":1239},{"style":547},[1240],{"type":27,"value":1008},{"type":31,"tagName":422,"properties":1242,"children":1243},{"style":553},[1244],{"type":27,"value":1059},{"type":31,"tagName":422,"properties":1246,"children":1247},{"style":547},[1248],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1250,"children":1251},{"style":553},[1252],{"type":27,"value":1253},"\"Dollars bid within 1% of the mid\"",{"type":31,"tagName":422,"properties":1255,"children":1256},{"style":547},[1257],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1260,"children":1261},{"class":424},[1262,1266,1270,1275,1279,1283,1287,1291,1295,1300],{"type":31,"tagName":422,"properties":1263,"children":1264},{"style":541},[1265],{"type":27,"value":875},{"type":31,"tagName":422,"properties":1267,"children":1268},{"style":547},[1269],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1271,"children":1272},{"style":553},[1273],{"type":27,"value":1274},"\"asks_far\"",{"type":31,"tagName":422,"properties":1276,"children":1277},{"style":547},[1278],{"type":27,"value":998},{"type":31,"tagName":422,"properties":1280,"children":1281},{"style":553},[1282],{"type":27,"value":1098},{"type":31,"tagName":422,"properties":1284,"children":1285},{"style":547},[1286],{"type":27,"value":1008},{"type":31,"tagName":422,"properties":1288,"children":1289},{"style":553},[1290],{"type":27,"value":1059},{"type":31,"tagName":422,"properties":1292,"children":1293},{"style":547},[1294],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1296,"children":1297},{"style":553},[1298],{"type":27,"value":1299},"\"Dollars offered within 1% of the mid\"",{"type":31,"tagName":422,"properties":1301,"children":1302},{"style":547},[1303],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1306,"children":1307},{"class":424},[1308,1312,1316,1321,1325,1329,1333,1338,1342,1347],{"type":31,"tagName":422,"properties":1309,"children":1310},{"style":541},[1311],{"type":27,"value":875},{"type":31,"tagName":422,"properties":1313,"children":1314},{"style":547},[1315],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1317,"children":1318},{"style":553},[1319],{"type":27,"value":1320},"\"bid_wall\"",{"type":31,"tagName":422,"properties":1322,"children":1323},{"style":547},[1324],{"type":27,"value":998},{"type":31,"tagName":422,"properties":1326,"children":1327},{"style":553},[1328],{"type":27,"value":1003},{"type":31,"tagName":422,"properties":1330,"children":1331},{"style":547},[1332],{"type":27,"value":1008},{"type":31,"tagName":422,"properties":1334,"children":1335},{"style":553},[1336],{"type":27,"value":1337},"\"price\"",{"type":31,"tagName":422,"properties":1339,"children":1340},{"style":547},[1341],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1343,"children":1344},{"style":553},[1345],{"type":27,"value":1346},"\"The price of the biggest bid within 2% of the mid\"",{"type":31,"tagName":422,"properties":1348,"children":1349},{"style":547},[1350],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1353,"children":1354},{"class":424},[1355,1359,1363,1368,1372,1376,1380,1385],{"type":31,"tagName":422,"properties":1356,"children":1357},{"style":541},[1358],{"type":27,"value":875},{"type":31,"tagName":422,"properties":1360,"children":1361},{"style":547},[1362],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1364,"children":1365},{"style":553},[1366],{"type":27,"value":1367},"\"bid_wall_size\"",{"type":31,"tagName":422,"properties":1369,"children":1370},{"style":547},[1371],{"type":27,"value":920},{"type":31,"tagName":422,"properties":1373,"children":1374},{"style":553},[1375],{"type":27,"value":1059},{"type":31,"tagName":422,"properties":1377,"children":1378},{"style":547},[1379],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1381,"children":1382},{"style":553},[1383],{"type":27,"value":1384},"\"Dollars resting at the bid wall\"",{"type":31,"tagName":422,"properties":1386,"children":1387},{"style":547},[1388],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1391,"children":1392},{"class":424},[1393,1397,1401,1406,1410,1414,1418,1422,1426,1431],{"type":31,"tagName":422,"properties":1394,"children":1395},{"style":541},[1396],{"type":27,"value":875},{"type":31,"tagName":422,"properties":1398,"children":1399},{"style":547},[1400],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1402,"children":1403},{"style":553},[1404],{"type":27,"value":1405},"\"ask_wall\"",{"type":31,"tagName":422,"properties":1407,"children":1408},{"style":547},[1409],{"type":27,"value":998},{"type":31,"tagName":422,"properties":1411,"children":1412},{"style":553},[1413],{"type":27,"value":1098},{"type":31,"tagName":422,"properties":1415,"children":1416},{"style":547},[1417],{"type":27,"value":1008},{"type":31,"tagName":422,"properties":1419,"children":1420},{"style":553},[1421],{"type":27,"value":1337},{"type":31,"tagName":422,"properties":1423,"children":1424},{"style":547},[1425],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1427,"children":1428},{"style":553},[1429],{"type":27,"value":1430},"\"The price of the biggest ask within 2% of the mid\"",{"type":31,"tagName":422,"properties":1432,"children":1433},{"style":547},[1434],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1437,"children":1438},{"class":424},[1439,1443,1447,1452,1456,1460,1464,1469],{"type":31,"tagName":422,"properties":1440,"children":1441},{"style":541},[1442],{"type":27,"value":875},{"type":31,"tagName":422,"properties":1444,"children":1445},{"style":547},[1446],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1448,"children":1449},{"style":553},[1450],{"type":27,"value":1451},"\"ask_wall_size\"",{"type":31,"tagName":422,"properties":1453,"children":1454},{"style":547},[1455],{"type":27,"value":920},{"type":31,"tagName":422,"properties":1457,"children":1458},{"style":553},[1459],{"type":27,"value":1059},{"type":31,"tagName":422,"properties":1461,"children":1462},{"style":547},[1463],{"type":27,"value":638},{"type":31,"tagName":422,"properties":1465,"children":1466},{"style":553},[1467],{"type":27,"value":1468},"\"Dollars resting at the ask wall\"",{"type":31,"tagName":422,"properties":1470,"children":1471},{"style":547},[1472],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1475,"children":1476},{"class":424},[1477,1482,1486,1491,1496,1501,1506],{"type":31,"tagName":422,"properties":1478,"children":1479},{"style":541},[1480],{"type":27,"value":1481},"string",{"type":31,"tagName":422,"properties":1483,"children":1484},{"style":547},[1485],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1487,"children":1488},{"style":553},[1489],{"type":27,"value":1490},"\"heavier\"",{"type":31,"tagName":422,"properties":1492,"children":1493},{"style":547},[1494],{"type":27,"value":1495},", { max_bytes: ",{"type":31,"tagName":422,"properties":1497,"children":1498},{"style":591},[1499],{"type":27,"value":1500},"40",{"type":31,"tagName":422,"properties":1502,"children":1503},{"style":547},[1504],{"type":27,"value":1505}," }); ",{"type":31,"tagName":422,"properties":1507,"children":1508},{"style":428},[1509],{"type":27,"value":1510},"// the first tile's words, written on the live bar",{"type":27,"value":28},{"type":31,"tagName":422,"properties":1513,"children":1514},{"class":424},[1515,1519,1523,1528,1532,1537,1541],{"type":31,"tagName":422,"properties":1516,"children":1517},{"style":541},[1518],{"type":27,"value":1481},{"type":31,"tagName":422,"properties":1520,"children":1521},{"style":547},[1522],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1524,"children":1525},{"style":553},[1526],{"type":27,"value":1527},"\"depth_near\"",{"type":31,"tagName":422,"properties":1529,"children":1530},{"style":547},[1531],{"type":27,"value":1495},{"type":31,"tagName":422,"properties":1533,"children":1534},{"style":591},[1535],{"type":27,"value":1536},"24",{"type":31,"tagName":422,"properties":1538,"children":1539},{"style":547},[1540],{"type":27,"value":1505},{"type":31,"tagName":422,"properties":1542,"children":1543},{"style":428},[1544],{"type":27,"value":1545},"// \"48.9M / 61.7M\": dollars bid / offered within 0.25%, written on the live bar",{"type":27,"value":28},{"type":31,"tagName":422,"properties":1548,"children":1549},{"class":424},[1550,1554,1558,1563,1567,1571],{"type":31,"tagName":422,"properties":1551,"children":1552},{"style":541},[1553],{"type":27,"value":1481},{"type":31,"tagName":422,"properties":1555,"children":1556},{"style":547},[1557],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1559,"children":1560},{"style":553},[1561],{"type":27,"value":1562},"\"depth_mid\"",{"type":31,"tagName":422,"properties":1564,"children":1565},{"style":547},[1566],{"type":27,"value":1495},{"type":31,"tagName":422,"properties":1568,"children":1569},{"style":591},[1570],{"type":27,"value":1536},{"type":31,"tagName":422,"properties":1572,"children":1573},{"style":547},[1574],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1577,"children":1578},{"class":424},[1579,1583,1587,1592,1596,1600],{"type":31,"tagName":422,"properties":1580,"children":1581},{"style":541},[1582],{"type":27,"value":1481},{"type":31,"tagName":422,"properties":1584,"children":1585},{"style":547},[1586],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1588,"children":1589},{"style":553},[1590],{"type":27,"value":1591},"\"depth_far\"",{"type":31,"tagName":422,"properties":1593,"children":1594},{"style":547},[1595],{"type":27,"value":1495},{"type":31,"tagName":422,"properties":1597,"children":1598},{"style":591},[1599],{"type":27,"value":1536},{"type":31,"tagName":422,"properties":1601,"children":1602},{"style":547},[1603],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1606,"children":1607},{"class":424},[1608,1612,1616,1621,1625,1630,1634],{"type":31,"tagName":422,"properties":1609,"children":1610},{"style":541},[1611],{"type":27,"value":1481},{"type":31,"tagName":422,"properties":1613,"children":1614},{"style":547},[1615],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1617,"children":1618},{"style":553},[1619],{"type":27,"value":1620},"\"bid_wall_text\"",{"type":31,"tagName":422,"properties":1622,"children":1623},{"style":547},[1624],{"type":27,"value":1495},{"type":31,"tagName":422,"properties":1626,"children":1627},{"style":591},[1628],{"type":27,"value":1629},"32",{"type":31,"tagName":422,"properties":1631,"children":1632},{"style":547},[1633],{"type":27,"value":1505},{"type":31,"tagName":422,"properties":1635,"children":1636},{"style":428},[1637],{"type":27,"value":1638},"// \"84000 · 262.0M\": the wall's price and the dollars resting there",{"type":27,"value":28},{"type":31,"tagName":422,"properties":1641,"children":1642},{"class":424},[1643,1647,1651,1656,1660,1664],{"type":31,"tagName":422,"properties":1644,"children":1645},{"style":541},[1646],{"type":27,"value":1481},{"type":31,"tagName":422,"properties":1648,"children":1649},{"style":547},[1650],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1652,"children":1653},{"style":553},[1654],{"type":27,"value":1655},"\"ask_wall_text\"",{"type":31,"tagName":422,"properties":1657,"children":1658},{"style":547},[1659],{"type":27,"value":1495},{"type":31,"tagName":422,"properties":1661,"children":1662},{"style":591},[1663],{"type":27,"value":1629},{"type":31,"tagName":422,"properties":1665,"children":1666},{"style":547},[1667],{"type":27,"value":648},{"type":27,"value":28},{"type":31,"tagName":422,"properties":1670,"children":1671},{"class":424},[1672,1677,1681,1686,1691,1696,1701,1705],{"type":31,"tagName":422,"properties":1673,"children":1674},{"style":547},[1675],{"type":27,"value":1676},"handles.",{"type":31,"tagName":422,"properties":1678,"children":1679},{"style":541},[1680],{"type":27,"value":424},{"type":31,"tagName":422,"properties":1682,"children":1683},{"style":547},[1684],{"type":27,"value":1685},"({ width: ",{"type":31,"tagName":422,"properties":1687,"children":1688},{"style":591},[1689],{"type":27,"value":1690},"1",{"type":31,"tagName":422,"properties":1692,"children":1693},{"style":547},[1694],{"type":27,"value":1695},", lineStyle: ",{"type":31,"tagName":422,"properties":1697,"children":1698},{"style":553},[1699],{"type":27,"value":1700},"\"dotted\"",{"type":31,"tagName":422,"properties":1702,"children":1703},{"style":547},[1704],{"type":27,"value":1505},{"type":31,"tagName":422,"properties":1706,"children":1707},{"style":428},[1708],{"type":27,"value":1709},"// the two wall lines, in chart time and price",{"type":27,"value":28},{"type":31,"tagName":422,"properties":1712,"children":1713},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":1716,"children":1717},{"class":424},[1718],{"type":31,"tagName":422,"properties":1719,"children":1720},{"style":428},[1721],{"type":27,"value":1722},"// The card, in the cockpit look (corner brackets, monospace type, a faint glow, segment bars): the deciding word leads",{"type":27,"value":28},{"type":31,"tagName":422,"properties":1725,"children":1726},{"class":424},[1727],{"type":31,"tagName":422,"properties":1728,"children":1729},{"style":428},[1730],{"type":27,"value":1731},"// as the headline, the bid-share bar spans the card under it, then one row per distance (dollars bid / offered) and",{"type":27,"value":28},{"type":31,"tagName":422,"properties":1734,"children":1735},{"class":424},[1736],{"type":31,"tagName":422,"properties":1737,"children":1738},{"style":428},[1739],{"type":27,"value":1740},"// one row per wall (price and dollars). Two columns give the rows room for both numbers.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":1743,"children":1744},{"class":424},[1745,1750,1755,1759,1764,1769,1774,1779,1784,1789,1794,1799,1803],{"type":31,"tagName":422,"properties":1746,"children":1747},{"style":547},[1748],{"type":27,"value":1749},"render.",{"type":31,"tagName":422,"properties":1751,"children":1752},{"style":541},[1753],{"type":27,"value":1754},"hud",{"type":31,"tagName":422,"properties":1756,"children":1757},{"style":547},[1758],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1760,"children":1761},{"style":553},[1762],{"type":27,"value":1763},"\"order_book\"",{"type":31,"tagName":422,"properties":1765,"children":1766},{"style":547},[1767],{"type":27,"value":1768},", { position: ",{"type":31,"tagName":422,"properties":1770,"children":1771},{"style":553},[1772],{"type":27,"value":1773},"\"middle_left\"",{"type":31,"tagName":422,"properties":1775,"children":1776},{"style":547},[1777],{"type":27,"value":1778},", look: ",{"type":31,"tagName":422,"properties":1780,"children":1781},{"style":553},[1782],{"type":27,"value":1783},"\"cockpit\"",{"type":31,"tagName":422,"properties":1785,"children":1786},{"style":547},[1787],{"type":27,"value":1788},", title: ",{"type":31,"tagName":422,"properties":1790,"children":1791},{"style":553},[1792],{"type":27,"value":1793},"\"Order book\"",{"type":31,"tagName":422,"properties":1795,"children":1796},{"style":547},[1797],{"type":27,"value":1798},", columns: ",{"type":31,"tagName":422,"properties":1800,"children":1801},{"style":591},[1802],{"type":27,"value":709},{"type":31,"tagName":422,"properties":1804,"children":1805},{"style":547},[1806],{"type":27,"value":1807},", tiles: [",{"type":27,"value":28},{"type":31,"tagName":422,"properties":1810,"children":1811},{"class":424},[1812,1817,1822,1826,1831,1835,1839,1844,1849,1854,1858,1863,1868,1872,1877,1881,1885],{"type":31,"tagName":422,"properties":1813,"children":1814},{"style":547},[1815],{"type":27,"value":1816},"  tile.",{"type":31,"tagName":422,"properties":1818,"children":1819},{"style":541},[1820],{"type":27,"value":1821},"pill",{"type":31,"tagName":422,"properties":1823,"children":1824},{"style":547},[1825],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1827,"children":1828},{"style":553},[1829],{"type":27,"value":1830},"\"Heavier side, within 1%\"",{"type":31,"tagName":422,"properties":1832,"children":1833},{"style":547},[1834],{"type":27,"value":121},{"type":31,"tagName":422,"properties":1836,"children":1837},{"style":553},[1838],{"type":27,"value":1490},{"type":31,"tagName":422,"properties":1840,"children":1841},{"style":547},[1842],{"type":27,"value":1843},", { headline: ",{"type":31,"tagName":422,"properties":1845,"children":1846},{"style":591},[1847],{"type":27,"value":1848},"true",{"type":31,"tagName":422,"properties":1850,"children":1851},{"style":547},[1852],{"type":27,"value":1853},", color_by: ",{"type":31,"tagName":422,"properties":1855,"children":1856},{"style":553},[1857],{"type":27,"value":884},{"type":31,"tagName":422,"properties":1859,"children":1860},{"style":547},[1861],{"type":27,"value":1862},", colors: [",{"type":31,"tagName":422,"properties":1864,"children":1865},{"style":553},[1866],{"type":27,"value":1867},"\"#FFB000\"",{"type":31,"tagName":422,"properties":1869,"children":1870},{"style":547},[1871],{"type":27,"value":121},{"type":31,"tagName":422,"properties":1873,"children":1874},{"style":553},[1875],{"type":27,"value":1876},"\"#7DF9FF\"",{"type":31,"tagName":422,"properties":1878,"children":1879},{"style":547},[1880],{"type":27,"value":121},{"type":31,"tagName":422,"properties":1882,"children":1883},{"style":553},[1884],{"type":27,"value":1867},{"type":31,"tagName":422,"properties":1886,"children":1887},{"style":547},[1888],{"type":27,"value":1889},"] }),",{"type":27,"value":28},{"type":31,"tagName":422,"properties":1892,"children":1893},{"class":424},[1894,1898,1903,1907,1912,1916,1920,1924,1928,1932,1937,1942,1947,1952,1956],{"type":31,"tagName":422,"properties":1895,"children":1896},{"style":547},[1897],{"type":27,"value":1816},{"type":31,"tagName":422,"properties":1899,"children":1900},{"style":541},[1901],{"type":27,"value":1902},"meter",{"type":31,"tagName":422,"properties":1904,"children":1905},{"style":547},[1906],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1908,"children":1909},{"style":553},[1910],{"type":27,"value":1911},"\"Bid share within 1%\"",{"type":31,"tagName":422,"properties":1913,"children":1914},{"style":547},[1915],{"type":27,"value":121},{"type":31,"tagName":422,"properties":1917,"children":1918},{"style":553},[1919],{"type":27,"value":993},{"type":31,"tagName":422,"properties":1921,"children":1922},{"style":547},[1923],{"type":27,"value":599},{"type":31,"tagName":422,"properties":1925,"children":1926},{"style":591},[1927],{"type":27,"value":414},{"type":31,"tagName":422,"properties":1929,"children":1930},{"style":547},[1931],{"type":27,"value":609},{"type":31,"tagName":422,"properties":1933,"children":1934},{"style":591},[1935],{"type":27,"value":1936},"100",{"type":31,"tagName":422,"properties":1938,"children":1939},{"style":547},[1940],{"type":27,"value":1941},", marks: [",{"type":31,"tagName":422,"properties":1943,"children":1944},{"style":591},[1945],{"type":27,"value":1946},"50",{"type":31,"tagName":422,"properties":1948,"children":1949},{"style":547},[1950],{"type":27,"value":1951},"], color: ",{"type":31,"tagName":422,"properties":1953,"children":1954},{"style":553},[1955],{"type":27,"value":1876},{"type":31,"tagName":422,"properties":1957,"children":1958},{"style":547},[1959],{"type":27,"value":1960}," }),",{"type":27,"value":28},{"type":31,"tagName":422,"properties":1963,"children":1964},{"class":424},[1965,1969,1974,1978,1983,1988,1993,1997,2001,2006,2011,2015,2019,2023,2028,2032,2036],{"type":31,"tagName":422,"properties":1966,"children":1967},{"style":547},[1968],{"type":27,"value":1816},{"type":31,"tagName":422,"properties":1970,"children":1971},{"style":541},[1972],{"type":27,"value":1973},"rows",{"type":31,"tagName":422,"properties":1975,"children":1976},{"style":547},[1977],{"type":27,"value":550},{"type":31,"tagName":422,"properties":1979,"children":1980},{"style":553},[1981],{"type":27,"value":1982},"\"Bids / asks, USD\"",{"type":31,"tagName":422,"properties":1984,"children":1985},{"style":547},[1986],{"type":27,"value":1987},", [[",{"type":31,"tagName":422,"properties":1989,"children":1990},{"style":553},[1991],{"type":27,"value":1992},"\"Within 0.25%\"",{"type":31,"tagName":422,"properties":1994,"children":1995},{"style":547},[1996],{"type":27,"value":121},{"type":31,"tagName":422,"properties":1998,"children":1999},{"style":553},[2000],{"type":27,"value":1527},{"type":31,"tagName":422,"properties":2002,"children":2003},{"style":547},[2004],{"type":27,"value":2005},"], [",{"type":31,"tagName":422,"properties":2007,"children":2008},{"style":553},[2009],{"type":27,"value":2010},"\"Within 0.5%\"",{"type":31,"tagName":422,"properties":2012,"children":2013},{"style":547},[2014],{"type":27,"value":121},{"type":31,"tagName":422,"properties":2016,"children":2017},{"style":553},[2018],{"type":27,"value":1562},{"type":31,"tagName":422,"properties":2020,"children":2021},{"style":547},[2022],{"type":27,"value":2005},{"type":31,"tagName":422,"properties":2024,"children":2025},{"style":553},[2026],{"type":27,"value":2027},"\"Within 1%\"",{"type":31,"tagName":422,"properties":2029,"children":2030},{"style":547},[2031],{"type":27,"value":121},{"type":31,"tagName":422,"properties":2033,"children":2034},{"style":553},[2035],{"type":27,"value":1591},{"type":31,"tagName":422,"properties":2037,"children":2038},{"style":547},[2039],{"type":27,"value":2040},"]]),",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2043,"children":2044},{"class":424},[2045,2049,2053,2057,2062,2066,2071,2075,2079,2083,2088,2092,2096],{"type":31,"tagName":422,"properties":2046,"children":2047},{"style":547},[2048],{"type":27,"value":1816},{"type":31,"tagName":422,"properties":2050,"children":2051},{"style":541},[2052],{"type":27,"value":1973},{"type":31,"tagName":422,"properties":2054,"children":2055},{"style":547},[2056],{"type":27,"value":550},{"type":31,"tagName":422,"properties":2058,"children":2059},{"style":553},[2060],{"type":27,"value":2061},"\"Walls within 2%, price and USD\"",{"type":31,"tagName":422,"properties":2063,"children":2064},{"style":547},[2065],{"type":27,"value":1987},{"type":31,"tagName":422,"properties":2067,"children":2068},{"style":553},[2069],{"type":27,"value":2070},"\"Bid wall\"",{"type":31,"tagName":422,"properties":2072,"children":2073},{"style":547},[2074],{"type":27,"value":121},{"type":31,"tagName":422,"properties":2076,"children":2077},{"style":553},[2078],{"type":27,"value":1620},{"type":31,"tagName":422,"properties":2080,"children":2081},{"style":547},[2082],{"type":27,"value":2005},{"type":31,"tagName":422,"properties":2084,"children":2085},{"style":553},[2086],{"type":27,"value":2087},"\"Ask wall\"",{"type":31,"tagName":422,"properties":2089,"children":2090},{"style":547},[2091],{"type":27,"value":121},{"type":31,"tagName":422,"properties":2093,"children":2094},{"style":553},[2095],{"type":27,"value":1655},{"type":31,"tagName":422,"properties":2097,"children":2098},{"style":547},[2099],{"type":27,"value":2040},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2102,"children":2103},{"class":424},[2104],{"type":31,"tagName":422,"properties":2105,"children":2106},{"style":547},[2107],{"type":27,"value":2108},"] });",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2111,"children":2112},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":2115,"children":2116},{"class":424},[2117,2123,2128,2133,2138,2143],{"type":31,"tagName":422,"properties":2118,"children":2120},{"style":2119},"--shiki-dark:#F97583;--shiki-light:#D73A49",[2121],{"type":27,"value":2122},"const",{"type":31,"tagName":422,"properties":2124,"children":2125},{"style":591},[2126],{"type":27,"value":2127}," NEAR_PCT",{"type":31,"tagName":422,"properties":2129,"children":2130},{"style":2119},[2131],{"type":27,"value":2132}," =",{"type":31,"tagName":422,"properties":2134,"children":2135},{"style":591},[2136],{"type":27,"value":2137}," 0.25",{"type":31,"tagName":422,"properties":2139,"children":2140},{"style":547},[2141],{"type":27,"value":2142},"; ",{"type":31,"tagName":422,"properties":2144,"children":2145},{"style":428},[2146],{"type":27,"value":2147},"// the three depth bands and the wall reach, percent from the mid (the rows' labels name them)",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2150,"children":2151},{"class":424},[2152,2156,2161,2165,2170],{"type":31,"tagName":422,"properties":2153,"children":2154},{"style":2119},[2155],{"type":27,"value":2122},{"type":31,"tagName":422,"properties":2157,"children":2158},{"style":591},[2159],{"type":27,"value":2160}," MID_PCT",{"type":31,"tagName":422,"properties":2162,"children":2163},{"style":2119},[2164],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2166,"children":2167},{"style":591},[2168],{"type":27,"value":2169}," 0.5",{"type":31,"tagName":422,"properties":2171,"children":2172},{"style":547},[2173],{"type":27,"value":2174},";",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2177,"children":2178},{"class":424},[2179,2183,2188,2192,2197,2201],{"type":31,"tagName":422,"properties":2180,"children":2181},{"style":2119},[2182],{"type":27,"value":2122},{"type":31,"tagName":422,"properties":2184,"children":2185},{"style":591},[2186],{"type":27,"value":2187}," FAR_PCT",{"type":31,"tagName":422,"properties":2189,"children":2190},{"style":2119},[2191],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2193,"children":2194},{"style":591},[2195],{"type":27,"value":2196}," 1.0",{"type":31,"tagName":422,"properties":2198,"children":2199},{"style":547},[2200],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":2202,"children":2203},{"style":428},[2204],{"type":27,"value":2205},"// also the band the imbalance reads",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2208,"children":2209},{"class":424},[2210,2214,2219,2223,2228],{"type":31,"tagName":422,"properties":2211,"children":2212},{"style":2119},[2213],{"type":27,"value":2122},{"type":31,"tagName":422,"properties":2215,"children":2216},{"style":591},[2217],{"type":27,"value":2218}," WALL_PCT",{"type":31,"tagName":422,"properties":2220,"children":2221},{"style":2119},[2222],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2224,"children":2225},{"style":591},[2226],{"type":27,"value":2227}," 2.0",{"type":31,"tagName":422,"properties":2229,"children":2230},{"style":547},[2231],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2234,"children":2235},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":2238,"children":2239},{"class":424},[2240,2244,2249,2253,2258,2262,2267,2271,2276,2280,2285,2290],{"type":31,"tagName":422,"properties":2241,"children":2242},{"style":2119},[2243],{"type":27,"value":2122},{"type":31,"tagName":422,"properties":2245,"children":2246},{"style":591},[2247],{"type":27,"value":2248}," BID_GREEN",{"type":31,"tagName":422,"properties":2250,"children":2251},{"style":2119},[2252],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2254,"children":2255},{"style":541},[2256],{"type":27,"value":2257}," rgb",{"type":31,"tagName":422,"properties":2259,"children":2260},{"style":547},[2261],{"type":27,"value":550},{"type":31,"tagName":422,"properties":2263,"children":2264},{"style":591},[2265],{"type":27,"value":2266},"16",{"type":31,"tagName":422,"properties":2268,"children":2269},{"style":547},[2270],{"type":27,"value":121},{"type":31,"tagName":422,"properties":2272,"children":2273},{"style":591},[2274],{"type":27,"value":2275},"185",{"type":31,"tagName":422,"properties":2277,"children":2278},{"style":547},[2279],{"type":27,"value":121},{"type":31,"tagName":422,"properties":2281,"children":2282},{"style":591},[2283],{"type":27,"value":2284},"129",{"type":31,"tagName":422,"properties":2286,"children":2287},{"style":547},[2288],{"type":27,"value":2289},"); ",{"type":31,"tagName":422,"properties":2291,"children":2292},{"style":428},[2293],{"type":27,"value":2294},"// #10b981, the bid wall line",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2297,"children":2298},{"class":424},[2299,2303,2308,2312,2316,2320,2325,2329,2333,2337,2342,2346],{"type":31,"tagName":422,"properties":2300,"children":2301},{"style":2119},[2302],{"type":27,"value":2122},{"type":31,"tagName":422,"properties":2304,"children":2305},{"style":591},[2306],{"type":27,"value":2307}," ASK_RED",{"type":31,"tagName":422,"properties":2309,"children":2310},{"style":2119},[2311],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2313,"children":2314},{"style":541},[2315],{"type":27,"value":2257},{"type":31,"tagName":422,"properties":2317,"children":2318},{"style":547},[2319],{"type":27,"value":550},{"type":31,"tagName":422,"properties":2321,"children":2322},{"style":591},[2323],{"type":27,"value":2324},"255",{"type":31,"tagName":422,"properties":2326,"children":2327},{"style":547},[2328],{"type":27,"value":121},{"type":31,"tagName":422,"properties":2330,"children":2331},{"style":591},[2332],{"type":27,"value":414},{"type":31,"tagName":422,"properties":2334,"children":2335},{"style":547},[2336],{"type":27,"value":121},{"type":31,"tagName":422,"properties":2338,"children":2339},{"style":591},[2340],{"type":27,"value":2341},"60",{"type":31,"tagName":422,"properties":2343,"children":2344},{"style":547},[2345],{"type":27,"value":2289},{"type":31,"tagName":422,"properties":2347,"children":2348},{"style":428},[2349],{"type":27,"value":2350},"// #ff003c, the ask wall line",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2353,"children":2354},{"class":424},[2355,2359,2364,2368,2373,2377,2381,2385,2389],{"type":31,"tagName":422,"properties":2356,"children":2357},{"style":2119},[2358],{"type":27,"value":2122},{"type":31,"tagName":422,"properties":2360,"children":2361},{"style":591},[2362],{"type":27,"value":2363}," bidLine",{"type":31,"tagName":422,"properties":2365,"children":2366},{"style":2119},[2367],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2369,"children":2370},{"style":547},[2371],{"type":27,"value":2372}," draw.",{"type":31,"tagName":422,"properties":2374,"children":2375},{"style":541},[2376],{"type":27,"value":424},{"type":31,"tagName":422,"properties":2378,"children":2379},{"style":547},[2380],{"type":27,"value":550},{"type":31,"tagName":422,"properties":2382,"children":2383},{"style":591},[2384],{"type":27,"value":414},{"type":31,"tagName":422,"properties":2386,"children":2387},{"style":547},[2388],{"type":27,"value":2289},{"type":31,"tagName":422,"properties":2390,"children":2391},{"style":428},[2392],{"type":27,"value":2393},"// handle objects allocate once; ids are one space across kinds",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2396,"children":2397},{"class":424},[2398,2402,2407,2411,2415,2419,2423,2427],{"type":31,"tagName":422,"properties":2399,"children":2400},{"style":2119},[2401],{"type":27,"value":2122},{"type":31,"tagName":422,"properties":2403,"children":2404},{"style":591},[2405],{"type":27,"value":2406}," askLine",{"type":31,"tagName":422,"properties":2408,"children":2409},{"style":2119},[2410],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2412,"children":2413},{"style":547},[2414],{"type":27,"value":2372},{"type":31,"tagName":422,"properties":2416,"children":2417},{"style":541},[2418],{"type":27,"value":424},{"type":31,"tagName":422,"properties":2420,"children":2421},{"style":547},[2422],{"type":27,"value":550},{"type":31,"tagName":422,"properties":2424,"children":2425},{"style":591},[2426],{"type":27,"value":1690},{"type":31,"tagName":422,"properties":2428,"children":2429},{"style":547},[2430],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2433,"children":2434},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":2437,"children":2438},{"class":424},[2439,2443,2448,2452,2457,2461],{"type":31,"tagName":422,"properties":2440,"children":2441},{"style":2119},[2442],{"type":27,"value":2122},{"type":31,"tagName":422,"properties":2444,"children":2445},{"style":591},[2446],{"type":27,"value":2447}," ASKS_HEAVIER",{"type":31,"tagName":422,"properties":2449,"children":2450},{"style":2119},[2451],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2453,"children":2454},{"style":591},[2455],{"type":27,"value":2456}," 0.0",{"type":31,"tagName":422,"properties":2458,"children":2459},{"style":547},[2460],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":2462,"children":2463},{"style":428},[2464],{"type":27,"value":2465},"// the first tile's ladder rungs, in the colours' order: bear, neutral, bull",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2468,"children":2469},{"class":424},[2470,2474,2479,2483,2487],{"type":31,"tagName":422,"properties":2471,"children":2472},{"style":2119},[2473],{"type":27,"value":2122},{"type":31,"tagName":422,"properties":2475,"children":2476},{"style":591},[2477],{"type":27,"value":2478}," BALANCED",{"type":31,"tagName":422,"properties":2480,"children":2481},{"style":2119},[2482],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2484,"children":2485},{"style":591},[2486],{"type":27,"value":2196},{"type":31,"tagName":422,"properties":2488,"children":2489},{"style":547},[2490],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2493,"children":2494},{"class":424},[2495,2499,2504,2508,2512],{"type":31,"tagName":422,"properties":2496,"children":2497},{"style":2119},[2498],{"type":27,"value":2122},{"type":31,"tagName":422,"properties":2500,"children":2501},{"style":591},[2502],{"type":27,"value":2503}," BIDS_HEAVIER",{"type":31,"tagName":422,"properties":2505,"children":2506},{"style":2119},[2507],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2509,"children":2510},{"style":591},[2511],{"type":27,"value":2227},{"type":31,"tagName":422,"properties":2513,"children":2514},{"style":547},[2515],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2518,"children":2519},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":2522,"children":2523},{"class":424},[2524,2529,2534,2539,2544,2548],{"type":31,"tagName":422,"properties":2525,"children":2526},{"style":2119},[2527],{"type":27,"value":2528},"let",{"type":31,"tagName":422,"properties":2530,"children":2531},{"style":547},[2532],{"type":27,"value":2533}," lean ",{"type":31,"tagName":422,"properties":2535,"children":2536},{"style":2119},[2537],{"type":27,"value":2538},"=",{"type":31,"tagName":422,"properties":2540,"children":2541},{"style":591},[2542],{"type":27,"value":2543}," 10.0",{"type":31,"tagName":422,"properties":2545,"children":2546},{"style":547},[2547],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":2549,"children":2550},{"style":428},[2551],{"type":27,"value":2552},"// settings, read in onStart()",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2555,"children":2556},{"class":424},[2557,2561,2566,2570,2575],{"type":31,"tagName":422,"properties":2558,"children":2559},{"style":2119},[2560],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2562,"children":2563},{"style":547},[2564],{"type":27,"value":2565}," lineBars ",{"type":31,"tagName":422,"properties":2567,"children":2568},{"style":2119},[2569],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":2571,"children":2572},{"style":591},[2573],{"type":27,"value":2574}," 30",{"type":31,"tagName":422,"properties":2576,"children":2577},{"style":547},[2578],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2581,"children":2582},{"class":424},[2583,2587,2592,2596,2601,2605],{"type":31,"tagName":422,"properties":2584,"children":2585},{"style":2119},[2586],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2588,"children":2589},{"style":547},[2590],{"type":27,"value":2591}," bookSeen ",{"type":31,"tagName":422,"properties":2593,"children":2594},{"style":2119},[2595],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":2597,"children":2598},{"style":591},[2599],{"type":27,"value":2600}," false",{"type":31,"tagName":422,"properties":2602,"children":2603},{"style":547},[2604],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":2606,"children":2607},{"style":428},[2608],{"type":27,"value":2609},"// a snapshot with both sides has arrived on some bar: the market has a book",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2612,"children":2613},{"class":424},[2614,2618,2623,2628,2633,2637,2642,2646],{"type":31,"tagName":422,"properties":2615,"children":2616},{"style":2119},[2617],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2619,"children":2620},{"style":547},[2621],{"type":27,"value":2622}," prevImbalance",{"type":31,"tagName":422,"properties":2624,"children":2625},{"style":2119},[2626],{"type":27,"value":2627},":",{"type":31,"tagName":422,"properties":2629,"children":2630},{"style":541},[2631],{"type":27,"value":2632}," f64",{"type":31,"tagName":422,"properties":2634,"children":2635},{"style":2119},[2636],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2638,"children":2639},{"style":591},[2640],{"type":27,"value":2641}," NaN",{"type":31,"tagName":422,"properties":2643,"children":2644},{"style":547},[2645],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":2647,"children":2648},{"style":428},[2649],{"type":27,"value":2650},"// the previous bar's imbalance, for the capsule",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2653,"children":2654},{"class":424},[2655,2659,2664,2668,2672,2676,2680,2684],{"type":31,"tagName":422,"properties":2656,"children":2657},{"style":2119},[2658],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2660,"children":2661},{"style":547},[2662],{"type":27,"value":2663}," prevTime",{"type":31,"tagName":422,"properties":2665,"children":2666},{"style":2119},[2667],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":2669,"children":2670},{"style":541},[2671],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":2673,"children":2674},{"style":2119},[2675],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2677,"children":2678},{"style":591},[2679],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":2681,"children":2682},{"style":547},[2683],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":2685,"children":2686},{"style":428},[2687],{"type":27,"value":2688},"// the previous bar's open time, for the bar's width in seconds",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2691,"children":2692},{"class":424},[2693,2697,2702,2706,2710,2714,2718],{"type":31,"tagName":422,"properties":2694,"children":2695},{"style":2119},[2696],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2698,"children":2699},{"style":547},[2700],{"type":27,"value":2701}," barSeconds",{"type":31,"tagName":422,"properties":2703,"children":2704},{"style":2119},[2705],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":2707,"children":2708},{"style":541},[2709],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":2711,"children":2712},{"style":2119},[2713],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2715,"children":2716},{"style":591},[2717],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":2719,"children":2720},{"style":547},[2721],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2724,"children":2725},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":2728,"children":2729},{"class":424},[2730],{"type":31,"tagName":422,"properties":2731,"children":2732},{"style":428},[2733],{"type":27,"value":2734},"// This bar's readings, set by readBook(): NaN when the bar has no usable snapshot.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":2737,"children":2738},{"class":424},[2739,2743,2748,2752,2756,2760,2764],{"type":31,"tagName":422,"properties":2740,"children":2741},{"style":2119},[2742],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2744,"children":2745},{"style":547},[2746],{"type":27,"value":2747}," bidsNear",{"type":31,"tagName":422,"properties":2749,"children":2750},{"style":2119},[2751],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":2753,"children":2754},{"style":541},[2755],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":2757,"children":2758},{"style":2119},[2759],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2761,"children":2762},{"style":591},[2763],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":2765,"children":2766},{"style":547},[2767],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2770,"children":2771},{"class":424},[2772,2776,2781,2785,2789,2793,2797],{"type":31,"tagName":422,"properties":2773,"children":2774},{"style":2119},[2775],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2777,"children":2778},{"style":547},[2779],{"type":27,"value":2780}," asksNear",{"type":31,"tagName":422,"properties":2782,"children":2783},{"style":2119},[2784],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":2786,"children":2787},{"style":541},[2788],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":2790,"children":2791},{"style":2119},[2792],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2794,"children":2795},{"style":591},[2796],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":2798,"children":2799},{"style":547},[2800],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2803,"children":2804},{"class":424},[2805,2809,2814,2818,2822,2826,2830],{"type":31,"tagName":422,"properties":2806,"children":2807},{"style":2119},[2808],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2810,"children":2811},{"style":547},[2812],{"type":27,"value":2813}," bidsMid",{"type":31,"tagName":422,"properties":2815,"children":2816},{"style":2119},[2817],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":2819,"children":2820},{"style":541},[2821],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":2823,"children":2824},{"style":2119},[2825],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2827,"children":2828},{"style":591},[2829],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":2831,"children":2832},{"style":547},[2833],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2836,"children":2837},{"class":424},[2838,2842,2847,2851,2855,2859,2863],{"type":31,"tagName":422,"properties":2839,"children":2840},{"style":2119},[2841],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2843,"children":2844},{"style":547},[2845],{"type":27,"value":2846}," asksMid",{"type":31,"tagName":422,"properties":2848,"children":2849},{"style":2119},[2850],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":2852,"children":2853},{"style":541},[2854],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":2856,"children":2857},{"style":2119},[2858],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2860,"children":2861},{"style":591},[2862],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":2864,"children":2865},{"style":547},[2866],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2869,"children":2870},{"class":424},[2871,2875,2880,2884,2888,2892,2896],{"type":31,"tagName":422,"properties":2872,"children":2873},{"style":2119},[2874],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2876,"children":2877},{"style":547},[2878],{"type":27,"value":2879}," bidsFar",{"type":31,"tagName":422,"properties":2881,"children":2882},{"style":2119},[2883],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":2885,"children":2886},{"style":541},[2887],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":2889,"children":2890},{"style":2119},[2891],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2893,"children":2894},{"style":591},[2895],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":2897,"children":2898},{"style":547},[2899],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2902,"children":2903},{"class":424},[2904,2908,2913,2917,2921,2925,2929],{"type":31,"tagName":422,"properties":2905,"children":2906},{"style":2119},[2907],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2909,"children":2910},{"style":547},[2911],{"type":27,"value":2912}," asksFar",{"type":31,"tagName":422,"properties":2914,"children":2915},{"style":2119},[2916],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":2918,"children":2919},{"style":541},[2920],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":2922,"children":2923},{"style":2119},[2924],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2926,"children":2927},{"style":591},[2928],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":2930,"children":2931},{"style":547},[2932],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2935,"children":2936},{"class":424},[2937,2941,2946,2950,2954,2958,2962],{"type":31,"tagName":422,"properties":2938,"children":2939},{"style":2119},[2940],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2942,"children":2943},{"style":547},[2944],{"type":27,"value":2945}," bidWall",{"type":31,"tagName":422,"properties":2947,"children":2948},{"style":2119},[2949],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":2951,"children":2952},{"style":541},[2953],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":2955,"children":2956},{"style":2119},[2957],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2959,"children":2960},{"style":591},[2961],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":2963,"children":2964},{"style":547},[2965],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":2968,"children":2969},{"class":424},[2970,2974,2979,2983,2987,2991,2995],{"type":31,"tagName":422,"properties":2971,"children":2972},{"style":2119},[2973],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":2975,"children":2976},{"style":547},[2977],{"type":27,"value":2978}," bidWallSize",{"type":31,"tagName":422,"properties":2980,"children":2981},{"style":2119},[2982],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":2984,"children":2985},{"style":541},[2986],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":2988,"children":2989},{"style":2119},[2990],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":2992,"children":2993},{"style":591},[2994],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":2996,"children":2997},{"style":547},[2998],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3001,"children":3002},{"class":424},[3003,3007,3012,3016,3020,3024,3028],{"type":31,"tagName":422,"properties":3004,"children":3005},{"style":2119},[3006],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":3008,"children":3009},{"style":547},[3010],{"type":27,"value":3011}," askWall",{"type":31,"tagName":422,"properties":3013,"children":3014},{"style":2119},[3015],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":3017,"children":3018},{"style":541},[3019],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":3021,"children":3022},{"style":2119},[3023],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":3025,"children":3026},{"style":591},[3027],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3029,"children":3030},{"style":547},[3031],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3034,"children":3035},{"class":424},[3036,3040,3045,3049,3053,3057,3061],{"type":31,"tagName":422,"properties":3037,"children":3038},{"style":2119},[3039],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":3041,"children":3042},{"style":547},[3043],{"type":27,"value":3044}," askWallSize",{"type":31,"tagName":422,"properties":3046,"children":3047},{"style":2119},[3048],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":3050,"children":3051},{"style":541},[3052],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":3054,"children":3055},{"style":2119},[3056],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":3058,"children":3059},{"style":591},[3060],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3062,"children":3063},{"style":547},[3064],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3067,"children":3068},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":3071,"children":3072},{"class":424},[3073,3078,3083,3088,3092,3097],{"type":31,"tagName":422,"properties":3074,"children":3075},{"style":2119},[3076],{"type":27,"value":3077},"function",{"type":31,"tagName":422,"properties":3079,"children":3080},{"style":541},[3081],{"type":27,"value":3082}," clearReadings",{"type":31,"tagName":422,"properties":3084,"children":3085},{"style":547},[3086],{"type":27,"value":3087},"()",{"type":31,"tagName":422,"properties":3089,"children":3090},{"style":2119},[3091],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":3093,"children":3094},{"style":591},[3095],{"type":27,"value":3096}," void",{"type":31,"tagName":422,"properties":3098,"children":3099},{"style":547},[3100],{"type":27,"value":3101}," {",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3104,"children":3105},{"class":424},[3106,3111,3115,3119],{"type":31,"tagName":422,"properties":3107,"children":3108},{"style":547},[3109],{"type":27,"value":3110},"  bidsNear ",{"type":31,"tagName":422,"properties":3112,"children":3113},{"style":2119},[3114],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3116,"children":3117},{"style":591},[3118],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3120,"children":3121},{"style":547},[3122],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3125,"children":3126},{"class":424},[3127,3132,3136,3140],{"type":31,"tagName":422,"properties":3128,"children":3129},{"style":547},[3130],{"type":27,"value":3131},"  asksNear ",{"type":31,"tagName":422,"properties":3133,"children":3134},{"style":2119},[3135],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3137,"children":3138},{"style":591},[3139],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3141,"children":3142},{"style":547},[3143],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3146,"children":3147},{"class":424},[3148,3153,3157,3161],{"type":31,"tagName":422,"properties":3149,"children":3150},{"style":547},[3151],{"type":27,"value":3152},"  bidsMid ",{"type":31,"tagName":422,"properties":3154,"children":3155},{"style":2119},[3156],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3158,"children":3159},{"style":591},[3160],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3162,"children":3163},{"style":547},[3164],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3167,"children":3168},{"class":424},[3169,3174,3178,3182],{"type":31,"tagName":422,"properties":3170,"children":3171},{"style":547},[3172],{"type":27,"value":3173},"  asksMid ",{"type":31,"tagName":422,"properties":3175,"children":3176},{"style":2119},[3177],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3179,"children":3180},{"style":591},[3181],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3183,"children":3184},{"style":547},[3185],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3188,"children":3189},{"class":424},[3190,3195,3199,3203],{"type":31,"tagName":422,"properties":3191,"children":3192},{"style":547},[3193],{"type":27,"value":3194},"  bidsFar ",{"type":31,"tagName":422,"properties":3196,"children":3197},{"style":2119},[3198],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3200,"children":3201},{"style":591},[3202],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3204,"children":3205},{"style":547},[3206],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3209,"children":3210},{"class":424},[3211,3216,3220,3224],{"type":31,"tagName":422,"properties":3212,"children":3213},{"style":547},[3214],{"type":27,"value":3215},"  asksFar ",{"type":31,"tagName":422,"properties":3217,"children":3218},{"style":2119},[3219],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3221,"children":3222},{"style":591},[3223],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3225,"children":3226},{"style":547},[3227],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3230,"children":3231},{"class":424},[3232,3237,3241,3245],{"type":31,"tagName":422,"properties":3233,"children":3234},{"style":547},[3235],{"type":27,"value":3236},"  bidWall ",{"type":31,"tagName":422,"properties":3238,"children":3239},{"style":2119},[3240],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3242,"children":3243},{"style":591},[3244],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3246,"children":3247},{"style":547},[3248],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3251,"children":3252},{"class":424},[3253,3258,3262,3266],{"type":31,"tagName":422,"properties":3254,"children":3255},{"style":547},[3256],{"type":27,"value":3257},"  bidWallSize ",{"type":31,"tagName":422,"properties":3259,"children":3260},{"style":2119},[3261],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3263,"children":3264},{"style":591},[3265],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3267,"children":3268},{"style":547},[3269],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3272,"children":3273},{"class":424},[3274,3279,3283,3287],{"type":31,"tagName":422,"properties":3275,"children":3276},{"style":547},[3277],{"type":27,"value":3278},"  askWall ",{"type":31,"tagName":422,"properties":3280,"children":3281},{"style":2119},[3282],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3284,"children":3285},{"style":591},[3286],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3288,"children":3289},{"style":547},[3290],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3293,"children":3294},{"class":424},[3295,3300,3304,3308],{"type":31,"tagName":422,"properties":3296,"children":3297},{"style":547},[3298],{"type":27,"value":3299},"  askWallSize ",{"type":31,"tagName":422,"properties":3301,"children":3302},{"style":2119},[3303],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3305,"children":3306},{"style":591},[3307],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":3309,"children":3310},{"style":547},[3311],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3314,"children":3315},{"class":424},[3316],{"type":31,"tagName":422,"properties":3317,"children":3318},{"style":547},[3319],{"type":27,"value":3320},"}",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3323,"children":3324},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":3327,"children":3328},{"class":424},[3329],{"type":31,"tagName":422,"properties":3330,"children":3331},{"style":428},[3332],{"type":27,"value":3333},"// readBook() walks this bar's snapshot twice: first for the touch (the highest bid and the lowest ask: the chart hands",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3336,"children":3337},{"class":424},[3338],{"type":31,"tagName":422,"properties":3339,"children":3340},{"style":428},[3341],{"type":27,"value":3342},"// the asks over from the highest price down, so position says nothing), then for the dollars in each band and the",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3345,"children":3346},{"class":424},[3347],{"type":31,"tagName":422,"properties":3348,"children":3349},{"style":428},[3350],{"type":27,"value":3351},"// biggest level on each side within the wall reach. A level's dollars are its price times its size in coins. It",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3354,"children":3355},{"class":424},[3356],{"type":31,"tagName":422,"properties":3357,"children":3358},{"style":428},[3359],{"type":27,"value":3360},"// answers false when the bar has no usable snapshot: none delivered, a side missing, or a crossed book.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3363,"children":3364},{"class":424},[3365,3369,3374,3378,3382,3387],{"type":31,"tagName":422,"properties":3366,"children":3367},{"style":2119},[3368],{"type":27,"value":3077},{"type":31,"tagName":422,"properties":3370,"children":3371},{"style":541},[3372],{"type":27,"value":3373}," readBook",{"type":31,"tagName":422,"properties":3375,"children":3376},{"style":547},[3377],{"type":27,"value":3087},{"type":31,"tagName":422,"properties":3379,"children":3380},{"style":2119},[3381],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":3383,"children":3384},{"style":541},[3385],{"type":27,"value":3386}," bool",{"type":31,"tagName":422,"properties":3388,"children":3389},{"style":547},[3390],{"type":27,"value":3101},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3393,"children":3394},{"class":424},[3395,3400],{"type":31,"tagName":422,"properties":3396,"children":3397},{"style":541},[3398],{"type":27,"value":3399},"  clearReadings",{"type":31,"tagName":422,"properties":3401,"children":3402},{"style":547},[3403],{"type":27,"value":3404},"();",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3407,"children":3408},{"class":424},[3409,3414,3419,3423,3428,3433],{"type":31,"tagName":422,"properties":3410,"children":3411},{"style":2119},[3412],{"type":27,"value":3413},"  const",{"type":31,"tagName":422,"properties":3415,"children":3416},{"style":591},[3417],{"type":27,"value":3418}," n",{"type":31,"tagName":422,"properties":3420,"children":3421},{"style":2119},[3422],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":3424,"children":3425},{"style":541},[3426],{"type":27,"value":3427}," in_book_cells",{"type":31,"tagName":422,"properties":3429,"children":3430},{"style":547},[3431],{"type":27,"value":3432},"(); ",{"type":31,"tagName":422,"properties":3434,"children":3435},{"style":428},[3436],{"type":27,"value":3437},"// numbers delivered this bar: 0 when the block is empty, -1 when the bar has none",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3440,"children":3441},{"class":424},[3442,3447,3452,3457,3462,3467,3472,3476],{"type":31,"tagName":422,"properties":3443,"children":3444},{"style":2119},[3445],{"type":27,"value":3446},"  if",{"type":31,"tagName":422,"properties":3448,"children":3449},{"style":547},[3450],{"type":27,"value":3451}," (n ",{"type":31,"tagName":422,"properties":3453,"children":3454},{"style":2119},[3455],{"type":27,"value":3456},"\u003C",{"type":31,"tagName":422,"properties":3458,"children":3459},{"style":591},[3460],{"type":27,"value":3461}," 3",{"type":31,"tagName":422,"properties":3463,"children":3464},{"style":547},[3465],{"type":27,"value":3466},") ",{"type":31,"tagName":422,"properties":3468,"children":3469},{"style":2119},[3470],{"type":27,"value":3471},"return",{"type":31,"tagName":422,"properties":3473,"children":3474},{"style":591},[3475],{"type":27,"value":2600},{"type":31,"tagName":422,"properties":3477,"children":3478},{"style":547},[3479],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3482,"children":3483},{"class":424},[3484,3488,3493,3497,3502],{"type":31,"tagName":422,"properties":3485,"children":3486},{"style":2119},[3487],{"type":27,"value":3413},{"type":31,"tagName":422,"properties":3489,"children":3490},{"style":591},[3491],{"type":27,"value":3492}," cells",{"type":31,"tagName":422,"properties":3494,"children":3495},{"style":2119},[3496],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":3498,"children":3499},{"style":541},[3500],{"type":27,"value":3501}," in_book_view",{"type":31,"tagName":422,"properties":3503,"children":3504},{"style":547},[3505],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3508,"children":3509},{"class":424},[3510,3515,3520,3524,3529,3534],{"type":31,"tagName":422,"properties":3511,"children":3512},{"style":2119},[3513],{"type":27,"value":3514},"  let",{"type":31,"tagName":422,"properties":3516,"children":3517},{"style":547},[3518],{"type":27,"value":3519}," bestBid ",{"type":31,"tagName":422,"properties":3521,"children":3522},{"style":2119},[3523],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3525,"children":3526},{"style":2119},[3527],{"type":27,"value":3528}," -",{"type":31,"tagName":422,"properties":3530,"children":3531},{"style":591},[3532],{"type":27,"value":3533},"Infinity",{"type":31,"tagName":422,"properties":3535,"children":3536},{"style":547},[3537],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3540,"children":3541},{"class":424},[3542,3546,3551,3555,3560],{"type":31,"tagName":422,"properties":3543,"children":3544},{"style":2119},[3545],{"type":27,"value":3514},{"type":31,"tagName":422,"properties":3547,"children":3548},{"style":547},[3549],{"type":27,"value":3550}," bestAsk ",{"type":31,"tagName":422,"properties":3552,"children":3553},{"style":2119},[3554],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3556,"children":3557},{"style":591},[3558],{"type":27,"value":3559}," Infinity",{"type":31,"tagName":422,"properties":3561,"children":3562},{"style":547},[3563],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3566,"children":3567},{"class":424},[3568,3573,3578,3582,3587,3591,3596,3601,3606,3611,3616,3621,3626,3630],{"type":31,"tagName":422,"properties":3569,"children":3570},{"style":2119},[3571],{"type":27,"value":3572},"  for",{"type":31,"tagName":422,"properties":3574,"children":3575},{"style":547},[3576],{"type":27,"value":3577}," (",{"type":31,"tagName":422,"properties":3579,"children":3580},{"style":2119},[3581],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":3583,"children":3584},{"style":547},[3585],{"type":27,"value":3586}," i ",{"type":31,"tagName":422,"properties":3588,"children":3589},{"style":2119},[3590],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3592,"children":3593},{"style":591},[3594],{"type":27,"value":3595}," 0",{"type":31,"tagName":422,"properties":3597,"children":3598},{"style":547},[3599],{"type":27,"value":3600},"; i ",{"type":31,"tagName":422,"properties":3602,"children":3603},{"style":2119},[3604],{"type":27,"value":3605},"+",{"type":31,"tagName":422,"properties":3607,"children":3608},{"style":591},[3609],{"type":27,"value":3610}," 2",{"type":31,"tagName":422,"properties":3612,"children":3613},{"style":2119},[3614],{"type":27,"value":3615}," \u003C",{"type":31,"tagName":422,"properties":3617,"children":3618},{"style":547},[3619],{"type":27,"value":3620}," n; i ",{"type":31,"tagName":422,"properties":3622,"children":3623},{"style":2119},[3624],{"type":27,"value":3625},"+=",{"type":31,"tagName":422,"properties":3627,"children":3628},{"style":591},[3629],{"type":27,"value":3461},{"type":31,"tagName":422,"properties":3631,"children":3632},{"style":547},[3633],{"type":27,"value":3634},") {",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3637,"children":3638},{"class":424},[3639,3644,3649,3653],{"type":31,"tagName":422,"properties":3640,"children":3641},{"style":2119},[3642],{"type":27,"value":3643},"    const",{"type":31,"tagName":422,"properties":3645,"children":3646},{"style":591},[3647],{"type":27,"value":3648}," price",{"type":31,"tagName":422,"properties":3650,"children":3651},{"style":2119},[3652],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":3654,"children":3655},{"style":547},[3656],{"type":27,"value":3657}," cells[i];",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3660,"children":3661},{"class":424},[3662,3667,3671,3676,3681,3686,3690,3694,3699,3704,3709,3713,3718,3723,3727,3731,3736,3741,3745],{"type":31,"tagName":422,"properties":3663,"children":3664},{"style":2119},[3665],{"type":27,"value":3666},"    if",{"type":31,"tagName":422,"properties":3668,"children":3669},{"style":547},[3670],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":3672,"children":3673},{"style":2119},[3674],{"type":27,"value":3675},"!",{"type":31,"tagName":422,"properties":3677,"children":3678},{"style":547},[3679],{"type":27,"value":3680},"(price ",{"type":31,"tagName":422,"properties":3682,"children":3683},{"style":2119},[3684],{"type":27,"value":3685},">",{"type":31,"tagName":422,"properties":3687,"children":3688},{"style":591},[3689],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":3691,"children":3692},{"style":547},[3693],{"type":27,"value":3466},{"type":31,"tagName":422,"properties":3695,"children":3696},{"style":2119},[3697],{"type":27,"value":3698},"||",{"type":31,"tagName":422,"properties":3700,"children":3701},{"style":2119},[3702],{"type":27,"value":3703}," !",{"type":31,"tagName":422,"properties":3705,"children":3706},{"style":547},[3707],{"type":27,"value":3708},"(cells[i ",{"type":31,"tagName":422,"properties":3710,"children":3711},{"style":2119},[3712],{"type":27,"value":3605},{"type":31,"tagName":422,"properties":3714,"children":3715},{"style":591},[3716],{"type":27,"value":3717}," 1",{"type":31,"tagName":422,"properties":3719,"children":3720},{"style":547},[3721],{"type":27,"value":3722},"] ",{"type":31,"tagName":422,"properties":3724,"children":3725},{"style":2119},[3726],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":3728,"children":3729},{"style":591},[3730],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":3732,"children":3733},{"style":547},[3734],{"type":27,"value":3735},")) ",{"type":31,"tagName":422,"properties":3737,"children":3738},{"style":2119},[3739],{"type":27,"value":3740},"continue",{"type":31,"tagName":422,"properties":3742,"children":3743},{"style":547},[3744],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":3746,"children":3747},{"style":428},[3748],{"type":27,"value":3749},"// an empty level is served but rests nothing",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3752,"children":3753},{"class":424},[3754,3758,3763,3767,3771,3775,3779,3783,3788,3792,3797,3802],{"type":31,"tagName":422,"properties":3755,"children":3756},{"style":2119},[3757],{"type":27,"value":3666},{"type":31,"tagName":422,"properties":3759,"children":3760},{"style":547},[3761],{"type":27,"value":3762}," (cells[i ",{"type":31,"tagName":422,"properties":3764,"children":3765},{"style":2119},[3766],{"type":27,"value":3605},{"type":31,"tagName":422,"properties":3768,"children":3769},{"style":591},[3770],{"type":27,"value":3610},{"type":31,"tagName":422,"properties":3772,"children":3773},{"style":547},[3774],{"type":27,"value":3722},{"type":31,"tagName":422,"properties":3776,"children":3777},{"style":2119},[3778],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":3780,"children":3781},{"style":591},[3782],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":3784,"children":3785},{"style":547},[3786],{"type":27,"value":3787},") bestBid ",{"type":31,"tagName":422,"properties":3789,"children":3790},{"style":2119},[3791],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3793,"children":3794},{"style":547},[3795],{"type":27,"value":3796}," Math.",{"type":31,"tagName":422,"properties":3798,"children":3799},{"style":541},[3800],{"type":27,"value":3801},"max",{"type":31,"tagName":422,"properties":3803,"children":3804},{"style":547},[3805],{"type":27,"value":3806},"(bestBid, price);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3809,"children":3810},{"class":424},[3811,3816,3821,3825,3829,3833,3837,3841,3845,3850,3854,3858,3863],{"type":31,"tagName":422,"properties":3812,"children":3813},{"style":2119},[3814],{"type":27,"value":3815},"    else",{"type":31,"tagName":422,"properties":3817,"children":3818},{"style":2119},[3819],{"type":27,"value":3820}," if",{"type":31,"tagName":422,"properties":3822,"children":3823},{"style":547},[3824],{"type":27,"value":3762},{"type":31,"tagName":422,"properties":3826,"children":3827},{"style":2119},[3828],{"type":27,"value":3605},{"type":31,"tagName":422,"properties":3830,"children":3831},{"style":591},[3832],{"type":27,"value":3610},{"type":31,"tagName":422,"properties":3834,"children":3835},{"style":547},[3836],{"type":27,"value":3722},{"type":31,"tagName":422,"properties":3838,"children":3839},{"style":2119},[3840],{"type":27,"value":3456},{"type":31,"tagName":422,"properties":3842,"children":3843},{"style":591},[3844],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":3846,"children":3847},{"style":547},[3848],{"type":27,"value":3849},") bestAsk ",{"type":31,"tagName":422,"properties":3851,"children":3852},{"style":2119},[3853],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3855,"children":3856},{"style":547},[3857],{"type":27,"value":3796},{"type":31,"tagName":422,"properties":3859,"children":3860},{"style":541},[3861],{"type":27,"value":3862},"min",{"type":31,"tagName":422,"properties":3864,"children":3865},{"style":547},[3866],{"type":27,"value":3867},"(bestAsk, price);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3870,"children":3871},{"class":424},[3872],{"type":31,"tagName":422,"properties":3873,"children":3874},{"style":547},[3875],{"type":27,"value":3876},"  }",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3879,"children":3880},{"class":424},[3881,3885,3889,3893,3898,3902,3906,3910,3914,3918,3923,3927,3931,3935,3939,3943,3947,3951,3956,3960,3964,3968],{"type":31,"tagName":422,"properties":3882,"children":3883},{"style":2119},[3884],{"type":27,"value":3446},{"type":31,"tagName":422,"properties":3886,"children":3887},{"style":547},[3888],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":3890,"children":3891},{"style":2119},[3892],{"type":27,"value":3675},{"type":31,"tagName":422,"properties":3894,"children":3895},{"style":547},[3896],{"type":27,"value":3897},"(bestBid ",{"type":31,"tagName":422,"properties":3899,"children":3900},{"style":2119},[3901],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":3903,"children":3904},{"style":591},[3905],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":3907,"children":3908},{"style":547},[3909],{"type":27,"value":3466},{"type":31,"tagName":422,"properties":3911,"children":3912},{"style":2119},[3913],{"type":27,"value":3698},{"type":31,"tagName":422,"properties":3915,"children":3916},{"style":2119},[3917],{"type":27,"value":3703},{"type":31,"tagName":422,"properties":3919,"children":3920},{"style":547},[3921],{"type":27,"value":3922},"(bestAsk ",{"type":31,"tagName":422,"properties":3924,"children":3925},{"style":2119},[3926],{"type":27,"value":3456},{"type":31,"tagName":422,"properties":3928,"children":3929},{"style":591},[3930],{"type":27,"value":3559},{"type":31,"tagName":422,"properties":3932,"children":3933},{"style":547},[3934],{"type":27,"value":3466},{"type":31,"tagName":422,"properties":3936,"children":3937},{"style":2119},[3938],{"type":27,"value":3698},{"type":31,"tagName":422,"properties":3940,"children":3941},{"style":2119},[3942],{"type":27,"value":3703},{"type":31,"tagName":422,"properties":3944,"children":3945},{"style":547},[3946],{"type":27,"value":3922},{"type":31,"tagName":422,"properties":3948,"children":3949},{"style":2119},[3950],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":3952,"children":3953},{"style":547},[3954],{"type":27,"value":3955}," bestBid)) ",{"type":31,"tagName":422,"properties":3957,"children":3958},{"style":2119},[3959],{"type":27,"value":3471},{"type":31,"tagName":422,"properties":3961,"children":3962},{"style":591},[3963],{"type":27,"value":2600},{"type":31,"tagName":422,"properties":3965,"children":3966},{"style":547},[3967],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":3969,"children":3970},{"style":428},[3971],{"type":27,"value":3972},"// one side missing, or a crossed book",{"type":27,"value":28},{"type":31,"tagName":422,"properties":3975,"children":3976},{"class":424},[3977,3982,3986,3991],{"type":31,"tagName":422,"properties":3978,"children":3979},{"style":547},[3980],{"type":27,"value":3981},"  bookSeen ",{"type":31,"tagName":422,"properties":3983,"children":3984},{"style":2119},[3985],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":3987,"children":3988},{"style":591},[3989],{"type":27,"value":3990}," true",{"type":31,"tagName":422,"properties":3992,"children":3993},{"style":547},[3994],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":3997,"children":3998},{"class":424},[3999,4003,4008,4012,4017,4021,4026,4031,4035],{"type":31,"tagName":422,"properties":4000,"children":4001},{"style":2119},[4002],{"type":27,"value":3413},{"type":31,"tagName":422,"properties":4004,"children":4005},{"style":591},[4006],{"type":27,"value":4007}," mid",{"type":31,"tagName":422,"properties":4009,"children":4010},{"style":2119},[4011],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":4013,"children":4014},{"style":547},[4015],{"type":27,"value":4016}," (bestBid ",{"type":31,"tagName":422,"properties":4018,"children":4019},{"style":2119},[4020],{"type":27,"value":3605},{"type":31,"tagName":422,"properties":4022,"children":4023},{"style":547},[4024],{"type":27,"value":4025}," bestAsk) ",{"type":31,"tagName":422,"properties":4027,"children":4028},{"style":2119},[4029],{"type":27,"value":4030},"*",{"type":31,"tagName":422,"properties":4032,"children":4033},{"style":591},[4034],{"type":27,"value":2169},{"type":31,"tagName":422,"properties":4036,"children":4037},{"style":547},[4038],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4041,"children":4042},{"class":424},[4043,4047,4051,4055],{"type":31,"tagName":422,"properties":4044,"children":4045},{"style":547},[4046],{"type":27,"value":3110},{"type":31,"tagName":422,"properties":4048,"children":4049},{"style":2119},[4050],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4052,"children":4053},{"style":591},[4054],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4056,"children":4057},{"style":547},[4058],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4061,"children":4062},{"class":424},[4063,4067,4071,4075],{"type":31,"tagName":422,"properties":4064,"children":4065},{"style":547},[4066],{"type":27,"value":3131},{"type":31,"tagName":422,"properties":4068,"children":4069},{"style":2119},[4070],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4072,"children":4073},{"style":591},[4074],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4076,"children":4077},{"style":547},[4078],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4081,"children":4082},{"class":424},[4083,4087,4091,4095],{"type":31,"tagName":422,"properties":4084,"children":4085},{"style":547},[4086],{"type":27,"value":3152},{"type":31,"tagName":422,"properties":4088,"children":4089},{"style":2119},[4090],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4092,"children":4093},{"style":591},[4094],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4096,"children":4097},{"style":547},[4098],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4101,"children":4102},{"class":424},[4103,4107,4111,4115],{"type":31,"tagName":422,"properties":4104,"children":4105},{"style":547},[4106],{"type":27,"value":3173},{"type":31,"tagName":422,"properties":4108,"children":4109},{"style":2119},[4110],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4112,"children":4113},{"style":591},[4114],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4116,"children":4117},{"style":547},[4118],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4121,"children":4122},{"class":424},[4123,4127,4131,4135],{"type":31,"tagName":422,"properties":4124,"children":4125},{"style":547},[4126],{"type":27,"value":3194},{"type":31,"tagName":422,"properties":4128,"children":4129},{"style":2119},[4130],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4132,"children":4133},{"style":591},[4134],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4136,"children":4137},{"style":547},[4138],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4141,"children":4142},{"class":424},[4143,4147,4151,4155],{"type":31,"tagName":422,"properties":4144,"children":4145},{"style":547},[4146],{"type":27,"value":3215},{"type":31,"tagName":422,"properties":4148,"children":4149},{"style":2119},[4150],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4152,"children":4153},{"style":591},[4154],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4156,"children":4157},{"style":547},[4158],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4161,"children":4162},{"class":424},[4163,4167,4171,4175],{"type":31,"tagName":422,"properties":4164,"children":4165},{"style":547},[4166],{"type":27,"value":3257},{"type":31,"tagName":422,"properties":4168,"children":4169},{"style":2119},[4170],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4172,"children":4173},{"style":591},[4174],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4176,"children":4177},{"style":547},[4178],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4181,"children":4182},{"class":424},[4183,4187,4191,4195],{"type":31,"tagName":422,"properties":4184,"children":4185},{"style":547},[4186],{"type":27,"value":3299},{"type":31,"tagName":422,"properties":4188,"children":4189},{"style":2119},[4190],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4192,"children":4193},{"style":591},[4194],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4196,"children":4197},{"style":547},[4198],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4201,"children":4202},{"class":424},[4203,4207,4211,4215,4219,4223,4227,4231,4235,4239,4243,4247,4251,4255],{"type":31,"tagName":422,"properties":4204,"children":4205},{"style":2119},[4206],{"type":27,"value":3572},{"type":31,"tagName":422,"properties":4208,"children":4209},{"style":547},[4210],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":4212,"children":4213},{"style":2119},[4214],{"type":27,"value":2528},{"type":31,"tagName":422,"properties":4216,"children":4217},{"style":547},[4218],{"type":27,"value":3586},{"type":31,"tagName":422,"properties":4220,"children":4221},{"style":2119},[4222],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4224,"children":4225},{"style":591},[4226],{"type":27,"value":3595},{"type":31,"tagName":422,"properties":4228,"children":4229},{"style":547},[4230],{"type":27,"value":3600},{"type":31,"tagName":422,"properties":4232,"children":4233},{"style":2119},[4234],{"type":27,"value":3605},{"type":31,"tagName":422,"properties":4236,"children":4237},{"style":591},[4238],{"type":27,"value":3610},{"type":31,"tagName":422,"properties":4240,"children":4241},{"style":2119},[4242],{"type":27,"value":3615},{"type":31,"tagName":422,"properties":4244,"children":4245},{"style":547},[4246],{"type":27,"value":3620},{"type":31,"tagName":422,"properties":4248,"children":4249},{"style":2119},[4250],{"type":27,"value":3625},{"type":31,"tagName":422,"properties":4252,"children":4253},{"style":591},[4254],{"type":27,"value":3461},{"type":31,"tagName":422,"properties":4256,"children":4257},{"style":547},[4258],{"type":27,"value":3634},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4261,"children":4262},{"class":424},[4263,4267,4271,4275],{"type":31,"tagName":422,"properties":4264,"children":4265},{"style":2119},[4266],{"type":27,"value":3643},{"type":31,"tagName":422,"properties":4268,"children":4269},{"style":591},[4270],{"type":27,"value":3648},{"type":31,"tagName":422,"properties":4272,"children":4273},{"style":2119},[4274],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":4276,"children":4277},{"style":547},[4278],{"type":27,"value":3657},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4281,"children":4282},{"class":424},[4283,4287,4292,4296,4301,4305,4309],{"type":31,"tagName":422,"properties":4284,"children":4285},{"style":2119},[4286],{"type":27,"value":3643},{"type":31,"tagName":422,"properties":4288,"children":4289},{"style":591},[4290],{"type":27,"value":4291}," size",{"type":31,"tagName":422,"properties":4293,"children":4294},{"style":2119},[4295],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":4297,"children":4298},{"style":547},[4299],{"type":27,"value":4300}," cells[i ",{"type":31,"tagName":422,"properties":4302,"children":4303},{"style":2119},[4304],{"type":27,"value":3605},{"type":31,"tagName":422,"properties":4306,"children":4307},{"style":591},[4308],{"type":27,"value":3717},{"type":31,"tagName":422,"properties":4310,"children":4311},{"style":547},[4312],{"type":27,"value":4313},"];",{"type":27,"value":28},{"type":31,"tagName":422,"properties":4316,"children":4317},{"class":424},[4318,4322,4326,4330,4334,4338,4342,4346,4350,4354,4359,4363,4367,4371,4375],{"type":31,"tagName":422,"properties":4319,"children":4320},{"style":2119},[4321],{"type":27,"value":3666},{"type":31,"tagName":422,"properties":4323,"children":4324},{"style":547},[4325],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":4327,"children":4328},{"style":2119},[4329],{"type":27,"value":3675},{"type":31,"tagName":422,"properties":4331,"children":4332},{"style":547},[4333],{"type":27,"value":3680},{"type":31,"tagName":422,"properties":4335,"children":4336},{"style":2119},[4337],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":4339,"children":4340},{"style":591},[4341],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4343,"children":4344},{"style":547},[4345],{"type":27,"value":3466},{"type":31,"tagName":422,"properties":4347,"children":4348},{"style":2119},[4349],{"type":27,"value":3698},{"type":31,"tagName":422,"properties":4351,"children":4352},{"style":2119},[4353],{"type":27,"value":3703},{"type":31,"tagName":422,"properties":4355,"children":4356},{"style":547},[4357],{"type":27,"value":4358},"(size ",{"type":31,"tagName":422,"properties":4360,"children":4361},{"style":2119},[4362],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":4364,"children":4365},{"style":591},[4366],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4368,"children":4369},{"style":547},[4370],{"type":27,"value":3735},{"type":31,"tagName":422,"properties":4372,"children":4373},{"style":2119},[4374],{"type":27,"value":3740},{"type":31,"tagName":422,"properties":4376,"children":4377},{"style":547},[4378],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4381,"children":4382},{"class":424},[4383,4387,4392,4396,4401,4405],{"type":31,"tagName":422,"properties":4384,"children":4385},{"style":2119},[4386],{"type":27,"value":3643},{"type":31,"tagName":422,"properties":4388,"children":4389},{"style":591},[4390],{"type":27,"value":4391}," dollars",{"type":31,"tagName":422,"properties":4393,"children":4394},{"style":2119},[4395],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":4397,"children":4398},{"style":547},[4399],{"type":27,"value":4400}," price ",{"type":31,"tagName":422,"properties":4402,"children":4403},{"style":2119},[4404],{"type":27,"value":4030},{"type":31,"tagName":422,"properties":4406,"children":4407},{"style":547},[4408],{"type":27,"value":4409}," size;",{"type":27,"value":28},{"type":31,"tagName":422,"properties":4412,"children":4413},{"class":424},[4414,4418,4422,4426,4430,4434,4438,4442],{"type":31,"tagName":422,"properties":4415,"children":4416},{"style":2119},[4417],{"type":27,"value":3666},{"type":31,"tagName":422,"properties":4419,"children":4420},{"style":547},[4421],{"type":27,"value":3762},{"type":31,"tagName":422,"properties":4423,"children":4424},{"style":2119},[4425],{"type":27,"value":3605},{"type":31,"tagName":422,"properties":4427,"children":4428},{"style":591},[4429],{"type":27,"value":3610},{"type":31,"tagName":422,"properties":4431,"children":4432},{"style":547},[4433],{"type":27,"value":3722},{"type":31,"tagName":422,"properties":4435,"children":4436},{"style":2119},[4437],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":4439,"children":4440},{"style":591},[4441],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4443,"children":4444},{"style":547},[4445],{"type":27,"value":3634},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4448,"children":4449},{"class":424},[4450,4455,4460,4464,4469,4474,4479,4484,4489,4493,4498,4502],{"type":31,"tagName":422,"properties":4451,"children":4452},{"style":2119},[4453],{"type":27,"value":4454},"      const",{"type":31,"tagName":422,"properties":4456,"children":4457},{"style":591},[4458],{"type":27,"value":4459}," away",{"type":31,"tagName":422,"properties":4461,"children":4462},{"style":2119},[4463],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":4465,"children":4466},{"style":547},[4467],{"type":27,"value":4468}," ((mid ",{"type":31,"tagName":422,"properties":4470,"children":4471},{"style":2119},[4472],{"type":27,"value":4473},"-",{"type":31,"tagName":422,"properties":4475,"children":4476},{"style":547},[4477],{"type":27,"value":4478}," price) ",{"type":31,"tagName":422,"properties":4480,"children":4481},{"style":2119},[4482],{"type":27,"value":4483},"/",{"type":31,"tagName":422,"properties":4485,"children":4486},{"style":547},[4487],{"type":27,"value":4488}," mid) ",{"type":31,"tagName":422,"properties":4490,"children":4491},{"style":2119},[4492],{"type":27,"value":4030},{"type":31,"tagName":422,"properties":4494,"children":4495},{"style":591},[4496],{"type":27,"value":4497}," 100.0",{"type":31,"tagName":422,"properties":4499,"children":4500},{"style":547},[4501],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":4503,"children":4504},{"style":428},[4505],{"type":27,"value":4506},"// percent below the mid",{"type":27,"value":28},{"type":31,"tagName":422,"properties":4509,"children":4510},{"class":424},[4511,4516,4521,4526,4530,4535,4539],{"type":31,"tagName":422,"properties":4512,"children":4513},{"style":2119},[4514],{"type":27,"value":4515},"      if",{"type":31,"tagName":422,"properties":4517,"children":4518},{"style":547},[4519],{"type":27,"value":4520}," (away ",{"type":31,"tagName":422,"properties":4522,"children":4523},{"style":2119},[4524],{"type":27,"value":4525},"\u003C=",{"type":31,"tagName":422,"properties":4527,"children":4528},{"style":591},[4529],{"type":27,"value":2127},{"type":31,"tagName":422,"properties":4531,"children":4532},{"style":547},[4533],{"type":27,"value":4534},") bidsNear ",{"type":31,"tagName":422,"properties":4536,"children":4537},{"style":2119},[4538],{"type":27,"value":3625},{"type":31,"tagName":422,"properties":4540,"children":4541},{"style":547},[4542],{"type":27,"value":4543}," dollars;",{"type":27,"value":28},{"type":31,"tagName":422,"properties":4546,"children":4547},{"class":424},[4548,4552,4556,4560,4564,4569,4573],{"type":31,"tagName":422,"properties":4549,"children":4550},{"style":2119},[4551],{"type":27,"value":4515},{"type":31,"tagName":422,"properties":4553,"children":4554},{"style":547},[4555],{"type":27,"value":4520},{"type":31,"tagName":422,"properties":4557,"children":4558},{"style":2119},[4559],{"type":27,"value":4525},{"type":31,"tagName":422,"properties":4561,"children":4562},{"style":591},[4563],{"type":27,"value":2160},{"type":31,"tagName":422,"properties":4565,"children":4566},{"style":547},[4567],{"type":27,"value":4568},") bidsMid ",{"type":31,"tagName":422,"properties":4570,"children":4571},{"style":2119},[4572],{"type":27,"value":3625},{"type":31,"tagName":422,"properties":4574,"children":4575},{"style":547},[4576],{"type":27,"value":4543},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4579,"children":4580},{"class":424},[4581,4585,4589,4593,4597,4602,4606],{"type":31,"tagName":422,"properties":4582,"children":4583},{"style":2119},[4584],{"type":27,"value":4515},{"type":31,"tagName":422,"properties":4586,"children":4587},{"style":547},[4588],{"type":27,"value":4520},{"type":31,"tagName":422,"properties":4590,"children":4591},{"style":2119},[4592],{"type":27,"value":4525},{"type":31,"tagName":422,"properties":4594,"children":4595},{"style":591},[4596],{"type":27,"value":2187},{"type":31,"tagName":422,"properties":4598,"children":4599},{"style":547},[4600],{"type":27,"value":4601},") bidsFar ",{"type":31,"tagName":422,"properties":4603,"children":4604},{"style":2119},[4605],{"type":27,"value":3625},{"type":31,"tagName":422,"properties":4607,"children":4608},{"style":547},[4609],{"type":27,"value":4543},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4612,"children":4613},{"class":424},[4614,4618,4622,4626,4630,4635,4640,4644],{"type":31,"tagName":422,"properties":4615,"children":4616},{"style":2119},[4617],{"type":27,"value":4515},{"type":31,"tagName":422,"properties":4619,"children":4620},{"style":547},[4621],{"type":27,"value":4520},{"type":31,"tagName":422,"properties":4623,"children":4624},{"style":2119},[4625],{"type":27,"value":4525},{"type":31,"tagName":422,"properties":4627,"children":4628},{"style":591},[4629],{"type":27,"value":2218},{"type":31,"tagName":422,"properties":4631,"children":4632},{"style":2119},[4633],{"type":27,"value":4634}," &&",{"type":31,"tagName":422,"properties":4636,"children":4637},{"style":547},[4638],{"type":27,"value":4639}," dollars ",{"type":31,"tagName":422,"properties":4641,"children":4642},{"style":2119},[4643],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":4645,"children":4646},{"style":547},[4647],{"type":27,"value":4648}," bidWallSize) {",{"type":27,"value":28},{"type":31,"tagName":422,"properties":4651,"children":4652},{"class":424},[4653,4658,4662],{"type":31,"tagName":422,"properties":4654,"children":4655},{"style":547},[4656],{"type":27,"value":4657},"        bidWallSize ",{"type":31,"tagName":422,"properties":4659,"children":4660},{"style":2119},[4661],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4663,"children":4664},{"style":547},[4665],{"type":27,"value":4543},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4668,"children":4669},{"class":424},[4670,4675,4679],{"type":31,"tagName":422,"properties":4671,"children":4672},{"style":547},[4673],{"type":27,"value":4674},"        bidWall ",{"type":31,"tagName":422,"properties":4676,"children":4677},{"style":2119},[4678],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4680,"children":4681},{"style":547},[4682],{"type":27,"value":4683}," price;",{"type":27,"value":28},{"type":31,"tagName":422,"properties":4686,"children":4687},{"class":424},[4688],{"type":31,"tagName":422,"properties":4689,"children":4690},{"style":547},[4691],{"type":27,"value":4692},"      }",{"type":27,"value":28},{"type":31,"tagName":422,"properties":4695,"children":4696},{"class":424},[4697,4702,4707,4711,4715,4719,4723,4727,4731,4735],{"type":31,"tagName":422,"properties":4698,"children":4699},{"style":547},[4700],{"type":27,"value":4701},"    } ",{"type":31,"tagName":422,"properties":4703,"children":4704},{"style":2119},[4705],{"type":27,"value":4706},"else",{"type":31,"tagName":422,"properties":4708,"children":4709},{"style":2119},[4710],{"type":27,"value":3820},{"type":31,"tagName":422,"properties":4712,"children":4713},{"style":547},[4714],{"type":27,"value":3762},{"type":31,"tagName":422,"properties":4716,"children":4717},{"style":2119},[4718],{"type":27,"value":3605},{"type":31,"tagName":422,"properties":4720,"children":4721},{"style":591},[4722],{"type":27,"value":3610},{"type":31,"tagName":422,"properties":4724,"children":4725},{"style":547},[4726],{"type":27,"value":3722},{"type":31,"tagName":422,"properties":4728,"children":4729},{"style":2119},[4730],{"type":27,"value":3456},{"type":31,"tagName":422,"properties":4732,"children":4733},{"style":591},[4734],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":4736,"children":4737},{"style":547},[4738],{"type":27,"value":3634},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4741,"children":4742},{"class":424},[4743,4747,4751,4755,4760,4764,4768,4772,4776,4780,4784,4788],{"type":31,"tagName":422,"properties":4744,"children":4745},{"style":2119},[4746],{"type":27,"value":4454},{"type":31,"tagName":422,"properties":4748,"children":4749},{"style":591},[4750],{"type":27,"value":4459},{"type":31,"tagName":422,"properties":4752,"children":4753},{"style":2119},[4754],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":4756,"children":4757},{"style":547},[4758],{"type":27,"value":4759}," ((price ",{"type":31,"tagName":422,"properties":4761,"children":4762},{"style":2119},[4763],{"type":27,"value":4473},{"type":31,"tagName":422,"properties":4765,"children":4766},{"style":547},[4767],{"type":27,"value":4488},{"type":31,"tagName":422,"properties":4769,"children":4770},{"style":2119},[4771],{"type":27,"value":4483},{"type":31,"tagName":422,"properties":4773,"children":4774},{"style":547},[4775],{"type":27,"value":4488},{"type":31,"tagName":422,"properties":4777,"children":4778},{"style":2119},[4779],{"type":27,"value":4030},{"type":31,"tagName":422,"properties":4781,"children":4782},{"style":591},[4783],{"type":27,"value":4497},{"type":31,"tagName":422,"properties":4785,"children":4786},{"style":547},[4787],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":4789,"children":4790},{"style":428},[4791],{"type":27,"value":4792},"// percent above the mid",{"type":27,"value":28},{"type":31,"tagName":422,"properties":4795,"children":4796},{"class":424},[4797,4801,4805,4809,4813,4818,4822],{"type":31,"tagName":422,"properties":4798,"children":4799},{"style":2119},[4800],{"type":27,"value":4515},{"type":31,"tagName":422,"properties":4802,"children":4803},{"style":547},[4804],{"type":27,"value":4520},{"type":31,"tagName":422,"properties":4806,"children":4807},{"style":2119},[4808],{"type":27,"value":4525},{"type":31,"tagName":422,"properties":4810,"children":4811},{"style":591},[4812],{"type":27,"value":2127},{"type":31,"tagName":422,"properties":4814,"children":4815},{"style":547},[4816],{"type":27,"value":4817},") asksNear ",{"type":31,"tagName":422,"properties":4819,"children":4820},{"style":2119},[4821],{"type":27,"value":3625},{"type":31,"tagName":422,"properties":4823,"children":4824},{"style":547},[4825],{"type":27,"value":4543},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4828,"children":4829},{"class":424},[4830,4834,4838,4842,4846,4851,4855],{"type":31,"tagName":422,"properties":4831,"children":4832},{"style":2119},[4833],{"type":27,"value":4515},{"type":31,"tagName":422,"properties":4835,"children":4836},{"style":547},[4837],{"type":27,"value":4520},{"type":31,"tagName":422,"properties":4839,"children":4840},{"style":2119},[4841],{"type":27,"value":4525},{"type":31,"tagName":422,"properties":4843,"children":4844},{"style":591},[4845],{"type":27,"value":2160},{"type":31,"tagName":422,"properties":4847,"children":4848},{"style":547},[4849],{"type":27,"value":4850},") asksMid ",{"type":31,"tagName":422,"properties":4852,"children":4853},{"style":2119},[4854],{"type":27,"value":3625},{"type":31,"tagName":422,"properties":4856,"children":4857},{"style":547},[4858],{"type":27,"value":4543},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4861,"children":4862},{"class":424},[4863,4867,4871,4875,4879,4884,4888],{"type":31,"tagName":422,"properties":4864,"children":4865},{"style":2119},[4866],{"type":27,"value":4515},{"type":31,"tagName":422,"properties":4868,"children":4869},{"style":547},[4870],{"type":27,"value":4520},{"type":31,"tagName":422,"properties":4872,"children":4873},{"style":2119},[4874],{"type":27,"value":4525},{"type":31,"tagName":422,"properties":4876,"children":4877},{"style":591},[4878],{"type":27,"value":2187},{"type":31,"tagName":422,"properties":4880,"children":4881},{"style":547},[4882],{"type":27,"value":4883},") asksFar ",{"type":31,"tagName":422,"properties":4885,"children":4886},{"style":2119},[4887],{"type":27,"value":3625},{"type":31,"tagName":422,"properties":4889,"children":4890},{"style":547},[4891],{"type":27,"value":4543},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4894,"children":4895},{"class":424},[4896,4900,4904,4908,4912,4916,4920,4924],{"type":31,"tagName":422,"properties":4897,"children":4898},{"style":2119},[4899],{"type":27,"value":4515},{"type":31,"tagName":422,"properties":4901,"children":4902},{"style":547},[4903],{"type":27,"value":4520},{"type":31,"tagName":422,"properties":4905,"children":4906},{"style":2119},[4907],{"type":27,"value":4525},{"type":31,"tagName":422,"properties":4909,"children":4910},{"style":591},[4911],{"type":27,"value":2218},{"type":31,"tagName":422,"properties":4913,"children":4914},{"style":2119},[4915],{"type":27,"value":4634},{"type":31,"tagName":422,"properties":4917,"children":4918},{"style":547},[4919],{"type":27,"value":4639},{"type":31,"tagName":422,"properties":4921,"children":4922},{"style":2119},[4923],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":4925,"children":4926},{"style":547},[4927],{"type":27,"value":4928}," askWallSize) {",{"type":27,"value":28},{"type":31,"tagName":422,"properties":4931,"children":4932},{"class":424},[4933,4938,4942],{"type":31,"tagName":422,"properties":4934,"children":4935},{"style":547},[4936],{"type":27,"value":4937},"        askWallSize ",{"type":31,"tagName":422,"properties":4939,"children":4940},{"style":2119},[4941],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4943,"children":4944},{"style":547},[4945],{"type":27,"value":4543},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4948,"children":4949},{"class":424},[4950,4955,4959],{"type":31,"tagName":422,"properties":4951,"children":4952},{"style":547},[4953],{"type":27,"value":4954},"        askWall ",{"type":31,"tagName":422,"properties":4956,"children":4957},{"style":2119},[4958],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":4960,"children":4961},{"style":547},[4962],{"type":27,"value":4683},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4965,"children":4966},{"class":424},[4967],{"type":31,"tagName":422,"properties":4968,"children":4969},{"style":547},[4970],{"type":27,"value":4692},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4973,"children":4974},{"class":424},[4975],{"type":31,"tagName":422,"properties":4976,"children":4977},{"style":547},[4978],{"type":27,"value":4979},"    }",{"type":27,"value":28},{"type":31,"tagName":422,"properties":4982,"children":4983},{"class":424},[4984],{"type":31,"tagName":422,"properties":4985,"children":4986},{"style":547},[4987],{"type":27,"value":3876},{"type":27,"value":28},{"type":31,"tagName":422,"properties":4990,"children":4991},{"class":424},[4992,4996,5000,5005,5010,5014,5018,5022],{"type":31,"tagName":422,"properties":4993,"children":4994},{"style":2119},[4995],{"type":27,"value":3446},{"type":31,"tagName":422,"properties":4997,"children":4998},{"style":547},[4999],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":5001,"children":5002},{"style":541},[5003],{"type":27,"value":5004},"isNaN",{"type":31,"tagName":422,"properties":5006,"children":5007},{"style":547},[5008],{"type":27,"value":5009},"(bidWall)) bidWallSize ",{"type":31,"tagName":422,"properties":5011,"children":5012},{"style":2119},[5013],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":5015,"children":5016},{"style":591},[5017],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":5019,"children":5020},{"style":547},[5021],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":5023,"children":5024},{"style":428},[5025],{"type":27,"value":5026},"// no bid within the reach: no wall to name",{"type":27,"value":28},{"type":31,"tagName":422,"properties":5029,"children":5030},{"class":424},[5031,5035,5039,5043,5048,5052,5056],{"type":31,"tagName":422,"properties":5032,"children":5033},{"style":2119},[5034],{"type":27,"value":3446},{"type":31,"tagName":422,"properties":5036,"children":5037},{"style":547},[5038],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":5040,"children":5041},{"style":541},[5042],{"type":27,"value":5004},{"type":31,"tagName":422,"properties":5044,"children":5045},{"style":547},[5046],{"type":27,"value":5047},"(askWall)) askWallSize ",{"type":31,"tagName":422,"properties":5049,"children":5050},{"style":2119},[5051],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":5053,"children":5054},{"style":591},[5055],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":5057,"children":5058},{"style":547},[5059],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5062,"children":5063},{"class":424},[5064,5069,5073],{"type":31,"tagName":422,"properties":5065,"children":5066},{"style":2119},[5067],{"type":27,"value":5068},"  return",{"type":31,"tagName":422,"properties":5070,"children":5071},{"style":591},[5072],{"type":27,"value":3990},{"type":31,"tagName":422,"properties":5074,"children":5075},{"style":547},[5076],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5079,"children":5080},{"class":424},[5081],{"type":31,"tagName":422,"properties":5082,"children":5083},{"style":547},[5084],{"type":27,"value":3320},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5087,"children":5088},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":5091,"children":5092},{"class":424},[5093],{"type":31,"tagName":422,"properties":5094,"children":5095},{"style":428},[5096],{"type":27,"value":5097},"// One wall line: from lineBars bars back to the live bar at the wall's price, extended to the price axis; deleted when",{"type":27,"value":28},{"type":31,"tagName":422,"properties":5100,"children":5101},{"class":424},[5102],{"type":31,"tagName":422,"properties":5103,"children":5104},{"style":428},[5105],{"type":27,"value":5106},"// there is no wall (a delete on a line that was never drawn does nothing).",{"type":27,"value":28},{"type":31,"tagName":422,"properties":5109,"children":5110},{"class":424},[5111,5115,5120,5124,5129,5133,5138,5142,5147,5151,5155,5159,5164,5168,5172,5176,5181,5185,5190,5195,5199,5203],{"type":31,"tagName":422,"properties":5112,"children":5113},{"style":2119},[5114],{"type":27,"value":3077},{"type":31,"tagName":422,"properties":5116,"children":5117},{"style":541},[5118],{"type":27,"value":5119}," drawWall",{"type":31,"tagName":422,"properties":5121,"children":5122},{"style":547},[5123],{"type":27,"value":550},{"type":31,"tagName":422,"properties":5125,"children":5127},{"style":5126},"--shiki-dark:#FFAB70;--shiki-light:#E36209",[5128],{"type":27,"value":424},{"type":31,"tagName":422,"properties":5130,"children":5131},{"style":2119},[5132],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5134,"children":5135},{"style":541},[5136],{"type":27,"value":5137}," LineHandle",{"type":31,"tagName":422,"properties":5139,"children":5140},{"style":547},[5141],{"type":27,"value":121},{"type":31,"tagName":422,"properties":5143,"children":5144},{"style":5126},[5145],{"type":27,"value":5146},"price",{"type":31,"tagName":422,"properties":5148,"children":5149},{"style":2119},[5150],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5152,"children":5153},{"style":541},[5154],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":5156,"children":5157},{"style":547},[5158],{"type":27,"value":121},{"type":31,"tagName":422,"properties":5160,"children":5161},{"style":5126},[5162],{"type":27,"value":5163},"t",{"type":31,"tagName":422,"properties":5165,"children":5166},{"style":2119},[5167],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5169,"children":5170},{"style":541},[5171],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":5173,"children":5174},{"style":547},[5175],{"type":27,"value":121},{"type":31,"tagName":422,"properties":5177,"children":5178},{"style":5126},[5179],{"type":27,"value":5180},"color",{"type":31,"tagName":422,"properties":5182,"children":5183},{"style":2119},[5184],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5186,"children":5187},{"style":541},[5188],{"type":27,"value":5189}," i32",{"type":31,"tagName":422,"properties":5191,"children":5192},{"style":547},[5193],{"type":27,"value":5194},")",{"type":31,"tagName":422,"properties":5196,"children":5197},{"style":2119},[5198],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5200,"children":5201},{"style":591},[5202],{"type":27,"value":3096},{"type":31,"tagName":422,"properties":5204,"children":5205},{"style":547},[5206],{"type":27,"value":3101},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5209,"children":5210},{"class":424},[5211,5215,5219,5223,5228,5232,5237],{"type":31,"tagName":422,"properties":5212,"children":5213},{"style":2119},[5214],{"type":27,"value":3446},{"type":31,"tagName":422,"properties":5216,"children":5217},{"style":547},[5218],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":5220,"children":5221},{"style":541},[5222],{"type":27,"value":5004},{"type":31,"tagName":422,"properties":5224,"children":5225},{"style":547},[5226],{"type":27,"value":5227},"(price) ",{"type":31,"tagName":422,"properties":5229,"children":5230},{"style":2119},[5231],{"type":27,"value":3698},{"type":31,"tagName":422,"properties":5233,"children":5234},{"style":541},[5235],{"type":27,"value":5236}," isNaN",{"type":31,"tagName":422,"properties":5238,"children":5239},{"style":547},[5240],{"type":27,"value":5241},"(barSeconds)) {",{"type":27,"value":28},{"type":31,"tagName":422,"properties":5244,"children":5245},{"class":424},[5246,5251,5256],{"type":31,"tagName":422,"properties":5247,"children":5248},{"style":547},[5249],{"type":27,"value":5250},"    line.",{"type":31,"tagName":422,"properties":5252,"children":5253},{"style":541},[5254],{"type":27,"value":5255},"delete",{"type":31,"tagName":422,"properties":5257,"children":5258},{"style":547},[5259],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5262,"children":5263},{"class":424},[5264,5269],{"type":31,"tagName":422,"properties":5265,"children":5266},{"style":2119},[5267],{"type":27,"value":5268},"    return",{"type":31,"tagName":422,"properties":5270,"children":5271},{"style":547},[5272],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5275,"children":5276},{"class":424},[5277],{"type":31,"tagName":422,"properties":5278,"children":5279},{"style":547},[5280],{"type":27,"value":3876},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5283,"children":5284},{"class":424},[5285,5290,5295,5300,5304,5308,5313,5317,5322,5326,5331,5336,5341,5346],{"type":31,"tagName":422,"properties":5286,"children":5287},{"style":547},[5288],{"type":27,"value":5289},"  line.",{"type":31,"tagName":422,"properties":5291,"children":5292},{"style":541},[5293],{"type":27,"value":5294},"set",{"type":31,"tagName":422,"properties":5296,"children":5297},{"style":547},[5298],{"type":27,"value":5299},"(t ",{"type":31,"tagName":422,"properties":5301,"children":5302},{"style":2119},[5303],{"type":27,"value":4473},{"type":31,"tagName":422,"properties":5305,"children":5306},{"style":541},[5307],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":5309,"children":5310},{"style":547},[5311],{"type":27,"value":5312},"(lineBars) ",{"type":31,"tagName":422,"properties":5314,"children":5315},{"style":2119},[5316],{"type":27,"value":4030},{"type":31,"tagName":422,"properties":5318,"children":5319},{"style":547},[5320],{"type":27,"value":5321}," barSeconds, price, t, price).",{"type":31,"tagName":422,"properties":5323,"children":5324},{"style":541},[5325],{"type":27,"value":5180},{"type":31,"tagName":422,"properties":5327,"children":5328},{"style":547},[5329],{"type":27,"value":5330},"(color).",{"type":31,"tagName":422,"properties":5332,"children":5333},{"style":541},[5334],{"type":27,"value":5335},"style",{"type":31,"tagName":422,"properties":5337,"children":5338},{"style":547},[5339],{"type":27,"value":5340},"(LineStyle.Dotted).",{"type":31,"tagName":422,"properties":5342,"children":5343},{"style":541},[5344],{"type":27,"value":5345},"extend",{"type":31,"tagName":422,"properties":5347,"children":5348},{"style":547},[5349],{"type":27,"value":5350},"(Extend.Right);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":5353,"children":5354},{"class":424},[5355],{"type":31,"tagName":422,"properties":5356,"children":5357},{"style":547},[5358],{"type":27,"value":3320},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5361,"children":5362},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":5365,"children":5366},{"class":424},[5367],{"type":31,"tagName":422,"properties":5368,"children":5369},{"style":428},[5370],{"type":27,"value":5371},"// Money as text: 48.9M, 262.0M, 950.0K, one decimal, in the row's slot.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":5374,"children":5375},{"class":424},[5376,5380,5385,5389,5394,5398,5402,5406,5410,5414],{"type":31,"tagName":422,"properties":5377,"children":5378},{"style":2119},[5379],{"type":27,"value":3077},{"type":31,"tagName":422,"properties":5381,"children":5382},{"style":541},[5383],{"type":27,"value":5384}," sbUsd",{"type":31,"tagName":422,"properties":5386,"children":5387},{"style":547},[5388],{"type":27,"value":550},{"type":31,"tagName":422,"properties":5390,"children":5391},{"style":5126},[5392],{"type":27,"value":5393},"x",{"type":31,"tagName":422,"properties":5395,"children":5396},{"style":2119},[5397],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5399,"children":5400},{"style":541},[5401],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":5403,"children":5404},{"style":547},[5405],{"type":27,"value":5194},{"type":31,"tagName":422,"properties":5407,"children":5408},{"style":2119},[5409],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5411,"children":5412},{"style":591},[5413],{"type":27,"value":3096},{"type":31,"tagName":422,"properties":5415,"children":5416},{"style":547},[5417],{"type":27,"value":3101},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5420,"children":5421},{"class":424},[5422,5426,5431,5436,5441,5446,5451,5456,5460,5464,5468,5472,5476,5481,5485,5490],{"type":31,"tagName":422,"properties":5423,"children":5424},{"style":2119},[5425],{"type":27,"value":3446},{"type":31,"tagName":422,"properties":5427,"children":5428},{"style":547},[5429],{"type":27,"value":5430}," (x ",{"type":31,"tagName":422,"properties":5432,"children":5433},{"style":2119},[5434],{"type":27,"value":5435},">=",{"type":31,"tagName":422,"properties":5437,"children":5438},{"style":591},[5439],{"type":27,"value":5440}," 1.0e9",{"type":31,"tagName":422,"properties":5442,"children":5443},{"style":547},[5444],{"type":27,"value":5445},") { ",{"type":31,"tagName":422,"properties":5447,"children":5448},{"style":541},[5449],{"type":27,"value":5450},"sb_f64",{"type":31,"tagName":422,"properties":5452,"children":5453},{"style":547},[5454],{"type":27,"value":5455},"(x ",{"type":31,"tagName":422,"properties":5457,"children":5458},{"style":2119},[5459],{"type":27,"value":4483},{"type":31,"tagName":422,"properties":5461,"children":5462},{"style":591},[5463],{"type":27,"value":5440},{"type":31,"tagName":422,"properties":5465,"children":5466},{"style":547},[5467],{"type":27,"value":121},{"type":31,"tagName":422,"properties":5469,"children":5470},{"style":591},[5471],{"type":27,"value":1690},{"type":31,"tagName":422,"properties":5473,"children":5474},{"style":547},[5475],{"type":27,"value":2289},{"type":31,"tagName":422,"properties":5477,"children":5478},{"style":541},[5479],{"type":27,"value":5480},"sb_text",{"type":31,"tagName":422,"properties":5482,"children":5483},{"style":547},[5484],{"type":27,"value":550},{"type":31,"tagName":422,"properties":5486,"children":5487},{"style":553},[5488],{"type":27,"value":5489},"\"B\"",{"type":31,"tagName":422,"properties":5491,"children":5492},{"style":547},[5493],{"type":27,"value":5494},"); }",{"type":27,"value":28},{"type":31,"tagName":422,"properties":5497,"children":5498},{"class":424},[5499,5504,5508,5512,5516,5521,5525,5529,5533,5537,5541,5545,5549,5553,5557,5561,5566],{"type":31,"tagName":422,"properties":5500,"children":5501},{"style":2119},[5502],{"type":27,"value":5503},"  else",{"type":31,"tagName":422,"properties":5505,"children":5506},{"style":2119},[5507],{"type":27,"value":3820},{"type":31,"tagName":422,"properties":5509,"children":5510},{"style":547},[5511],{"type":27,"value":5430},{"type":31,"tagName":422,"properties":5513,"children":5514},{"style":2119},[5515],{"type":27,"value":5435},{"type":31,"tagName":422,"properties":5517,"children":5518},{"style":591},[5519],{"type":27,"value":5520}," 1.0e6",{"type":31,"tagName":422,"properties":5522,"children":5523},{"style":547},[5524],{"type":27,"value":5445},{"type":31,"tagName":422,"properties":5526,"children":5527},{"style":541},[5528],{"type":27,"value":5450},{"type":31,"tagName":422,"properties":5530,"children":5531},{"style":547},[5532],{"type":27,"value":5455},{"type":31,"tagName":422,"properties":5534,"children":5535},{"style":2119},[5536],{"type":27,"value":4483},{"type":31,"tagName":422,"properties":5538,"children":5539},{"style":591},[5540],{"type":27,"value":5520},{"type":31,"tagName":422,"properties":5542,"children":5543},{"style":547},[5544],{"type":27,"value":121},{"type":31,"tagName":422,"properties":5546,"children":5547},{"style":591},[5548],{"type":27,"value":1690},{"type":31,"tagName":422,"properties":5550,"children":5551},{"style":547},[5552],{"type":27,"value":2289},{"type":31,"tagName":422,"properties":5554,"children":5555},{"style":541},[5556],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":5558,"children":5559},{"style":547},[5560],{"type":27,"value":550},{"type":31,"tagName":422,"properties":5562,"children":5563},{"style":553},[5564],{"type":27,"value":5565},"\"M\"",{"type":31,"tagName":422,"properties":5567,"children":5568},{"style":547},[5569],{"type":27,"value":5494},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5572,"children":5573},{"class":424},[5574,5578,5583,5587,5591,5595,5600,5604,5608,5612,5616,5620,5625],{"type":31,"tagName":422,"properties":5575,"children":5576},{"style":2119},[5577],{"type":27,"value":5503},{"type":31,"tagName":422,"properties":5579,"children":5580},{"style":547},[5581],{"type":27,"value":5582}," { ",{"type":31,"tagName":422,"properties":5584,"children":5585},{"style":541},[5586],{"type":27,"value":5450},{"type":31,"tagName":422,"properties":5588,"children":5589},{"style":547},[5590],{"type":27,"value":5455},{"type":31,"tagName":422,"properties":5592,"children":5593},{"style":2119},[5594],{"type":27,"value":4483},{"type":31,"tagName":422,"properties":5596,"children":5597},{"style":591},[5598],{"type":27,"value":5599}," 1.0e3",{"type":31,"tagName":422,"properties":5601,"children":5602},{"style":547},[5603],{"type":27,"value":121},{"type":31,"tagName":422,"properties":5605,"children":5606},{"style":591},[5607],{"type":27,"value":1690},{"type":31,"tagName":422,"properties":5609,"children":5610},{"style":547},[5611],{"type":27,"value":2289},{"type":31,"tagName":422,"properties":5613,"children":5614},{"style":541},[5615],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":5617,"children":5618},{"style":547},[5619],{"type":27,"value":550},{"type":31,"tagName":422,"properties":5621,"children":5622},{"style":553},[5623],{"type":27,"value":5624},"\"K\"",{"type":31,"tagName":422,"properties":5626,"children":5627},{"style":547},[5628],{"type":27,"value":5494},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5631,"children":5632},{"class":424},[5633],{"type":31,"tagName":422,"properties":5634,"children":5635},{"style":547},[5636],{"type":27,"value":3320},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5639,"children":5640},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":5643,"children":5644},{"class":424},[5645],{"type":31,"tagName":422,"properties":5646,"children":5647},{"style":428},[5648],{"type":27,"value":5649},"// One depth row: \"\u003Cbid dollars> / \u003Cask dollars>\", or a dash while the bar has no snapshot.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":5652,"children":5653},{"class":424},[5654,5658,5663,5667,5672,5676,5680,5684,5689,5693,5697,5701,5705,5709],{"type":31,"tagName":422,"properties":5655,"children":5656},{"style":2119},[5657],{"type":27,"value":3077},{"type":31,"tagName":422,"properties":5659,"children":5660},{"style":541},[5661],{"type":27,"value":5662}," sbDepth",{"type":31,"tagName":422,"properties":5664,"children":5665},{"style":547},[5666],{"type":27,"value":550},{"type":31,"tagName":422,"properties":5668,"children":5669},{"style":5126},[5670],{"type":27,"value":5671},"bids",{"type":31,"tagName":422,"properties":5673,"children":5674},{"style":2119},[5675],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5677,"children":5678},{"style":541},[5679],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":5681,"children":5682},{"style":547},[5683],{"type":27,"value":121},{"type":31,"tagName":422,"properties":5685,"children":5686},{"style":5126},[5687],{"type":27,"value":5688},"asks",{"type":31,"tagName":422,"properties":5690,"children":5691},{"style":2119},[5692],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5694,"children":5695},{"style":541},[5696],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":5698,"children":5699},{"style":547},[5700],{"type":27,"value":5194},{"type":31,"tagName":422,"properties":5702,"children":5703},{"style":2119},[5704],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5706,"children":5707},{"style":591},[5708],{"type":27,"value":3096},{"type":31,"tagName":422,"properties":5710,"children":5711},{"style":547},[5712],{"type":27,"value":3101},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5715,"children":5716},{"class":424},[5717,5722],{"type":31,"tagName":422,"properties":5718,"children":5719},{"style":541},[5720],{"type":27,"value":5721},"  sb_clear",{"type":31,"tagName":422,"properties":5723,"children":5724},{"style":547},[5725],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5728,"children":5729},{"class":424},[5730,5734,5738,5742,5747,5751,5755,5760,5764,5768,5773],{"type":31,"tagName":422,"properties":5731,"children":5732},{"style":2119},[5733],{"type":27,"value":3446},{"type":31,"tagName":422,"properties":5735,"children":5736},{"style":547},[5737],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":5739,"children":5740},{"style":541},[5741],{"type":27,"value":5004},{"type":31,"tagName":422,"properties":5743,"children":5744},{"style":547},[5745],{"type":27,"value":5746},"(bids) ",{"type":31,"tagName":422,"properties":5748,"children":5749},{"style":2119},[5750],{"type":27,"value":3698},{"type":31,"tagName":422,"properties":5752,"children":5753},{"style":541},[5754],{"type":27,"value":5236},{"type":31,"tagName":422,"properties":5756,"children":5757},{"style":547},[5758],{"type":27,"value":5759},"(asks)) ",{"type":31,"tagName":422,"properties":5761,"children":5762},{"style":541},[5763],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":5765,"children":5766},{"style":547},[5767],{"type":27,"value":550},{"type":31,"tagName":422,"properties":5769,"children":5770},{"style":553},[5771],{"type":27,"value":5772},"\"-\"",{"type":31,"tagName":422,"properties":5774,"children":5775},{"style":547},[5776],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5779,"children":5780},{"class":424},[5781,5785,5789,5794,5799,5803,5807,5812,5816,5820],{"type":31,"tagName":422,"properties":5782,"children":5783},{"style":2119},[5784],{"type":27,"value":5503},{"type":31,"tagName":422,"properties":5786,"children":5787},{"style":547},[5788],{"type":27,"value":5582},{"type":31,"tagName":422,"properties":5790,"children":5791},{"style":541},[5792],{"type":27,"value":5793},"sbUsd",{"type":31,"tagName":422,"properties":5795,"children":5796},{"style":547},[5797],{"type":27,"value":5798},"(bids); ",{"type":31,"tagName":422,"properties":5800,"children":5801},{"style":541},[5802],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":5804,"children":5805},{"style":547},[5806],{"type":27,"value":550},{"type":31,"tagName":422,"properties":5808,"children":5809},{"style":553},[5810],{"type":27,"value":5811},"\" / \"",{"type":31,"tagName":422,"properties":5813,"children":5814},{"style":547},[5815],{"type":27,"value":2289},{"type":31,"tagName":422,"properties":5817,"children":5818},{"style":541},[5819],{"type":27,"value":5793},{"type":31,"tagName":422,"properties":5821,"children":5822},{"style":547},[5823],{"type":27,"value":5824},"(asks); }",{"type":27,"value":28},{"type":31,"tagName":422,"properties":5827,"children":5828},{"class":424},[5829],{"type":31,"tagName":422,"properties":5830,"children":5831},{"style":547},[5832],{"type":27,"value":3320},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5835,"children":5836},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":5839,"children":5840},{"class":424},[5841],{"type":31,"tagName":422,"properties":5842,"children":5843},{"style":428},[5844],{"type":27,"value":5845},"// One wall row: \"\u003Cprice> · \u003Cdollars>\", or a dash when no level sits within the reach.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":5848,"children":5849},{"class":424},[5850,5854,5859,5863,5867,5871,5875,5879,5884,5888,5892,5896,5900,5904],{"type":31,"tagName":422,"properties":5851,"children":5852},{"style":2119},[5853],{"type":27,"value":3077},{"type":31,"tagName":422,"properties":5855,"children":5856},{"style":541},[5857],{"type":27,"value":5858}," sbWall",{"type":31,"tagName":422,"properties":5860,"children":5861},{"style":547},[5862],{"type":27,"value":550},{"type":31,"tagName":422,"properties":5864,"children":5865},{"style":5126},[5866],{"type":27,"value":5146},{"type":31,"tagName":422,"properties":5868,"children":5869},{"style":2119},[5870],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5872,"children":5873},{"style":541},[5874],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":5876,"children":5877},{"style":547},[5878],{"type":27,"value":121},{"type":31,"tagName":422,"properties":5880,"children":5881},{"style":5126},[5882],{"type":27,"value":5883},"dollars",{"type":31,"tagName":422,"properties":5885,"children":5886},{"style":2119},[5887],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5889,"children":5890},{"style":541},[5891],{"type":27,"value":2632},{"type":31,"tagName":422,"properties":5893,"children":5894},{"style":547},[5895],{"type":27,"value":5194},{"type":31,"tagName":422,"properties":5897,"children":5898},{"style":2119},[5899],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":5901,"children":5902},{"style":591},[5903],{"type":27,"value":3096},{"type":31,"tagName":422,"properties":5905,"children":5906},{"style":547},[5907],{"type":27,"value":3101},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5910,"children":5911},{"class":424},[5912,5916],{"type":31,"tagName":422,"properties":5913,"children":5914},{"style":541},[5915],{"type":27,"value":5721},{"type":31,"tagName":422,"properties":5917,"children":5918},{"style":547},[5919],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5922,"children":5923},{"class":424},[5924,5928,5932,5936,5940,5944,5948,5953,5957,5961,5965],{"type":31,"tagName":422,"properties":5925,"children":5926},{"style":2119},[5927],{"type":27,"value":3446},{"type":31,"tagName":422,"properties":5929,"children":5930},{"style":547},[5931],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":5933,"children":5934},{"style":541},[5935],{"type":27,"value":5004},{"type":31,"tagName":422,"properties":5937,"children":5938},{"style":547},[5939],{"type":27,"value":5227},{"type":31,"tagName":422,"properties":5941,"children":5942},{"style":2119},[5943],{"type":27,"value":3698},{"type":31,"tagName":422,"properties":5945,"children":5946},{"style":541},[5947],{"type":27,"value":5236},{"type":31,"tagName":422,"properties":5949,"children":5950},{"style":547},[5951],{"type":27,"value":5952},"(dollars)) ",{"type":31,"tagName":422,"properties":5954,"children":5955},{"style":541},[5956],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":5958,"children":5959},{"style":547},[5960],{"type":27,"value":550},{"type":31,"tagName":422,"properties":5962,"children":5963},{"style":553},[5964],{"type":27,"value":5772},{"type":31,"tagName":422,"properties":5966,"children":5967},{"style":547},[5968],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":5971,"children":5972},{"class":424},[5973,5977,5981,5985,5990,5994,5998,6002,6006,6011,6015,6019],{"type":31,"tagName":422,"properties":5974,"children":5975},{"style":2119},[5976],{"type":27,"value":5503},{"type":31,"tagName":422,"properties":5978,"children":5979},{"style":547},[5980],{"type":27,"value":5582},{"type":31,"tagName":422,"properties":5982,"children":5983},{"style":541},[5984],{"type":27,"value":5450},{"type":31,"tagName":422,"properties":5986,"children":5987},{"style":547},[5988],{"type":27,"value":5989},"(price, ",{"type":31,"tagName":422,"properties":5991,"children":5992},{"style":591},[5993],{"type":27,"value":709},{"type":31,"tagName":422,"properties":5995,"children":5996},{"style":547},[5997],{"type":27,"value":2289},{"type":31,"tagName":422,"properties":5999,"children":6000},{"style":541},[6001],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":6003,"children":6004},{"style":547},[6005],{"type":27,"value":550},{"type":31,"tagName":422,"properties":6007,"children":6008},{"style":553},[6009],{"type":27,"value":6010},"\" · \"",{"type":31,"tagName":422,"properties":6012,"children":6013},{"style":547},[6014],{"type":27,"value":2289},{"type":31,"tagName":422,"properties":6016,"children":6017},{"style":541},[6018],{"type":27,"value":5793},{"type":31,"tagName":422,"properties":6020,"children":6021},{"style":547},[6022],{"type":27,"value":6023},"(dollars); }",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6026,"children":6027},{"class":424},[6028],{"type":31,"tagName":422,"properties":6029,"children":6030},{"style":547},[6031],{"type":27,"value":3320},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6034,"children":6035},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":6038,"children":6039},{"class":424},[6040,6044,6049,6053,6057,6061],{"type":31,"tagName":422,"properties":6041,"children":6042},{"style":2119},[6043],{"type":27,"value":3077},{"type":31,"tagName":422,"properties":6045,"children":6046},{"style":541},[6047],{"type":27,"value":6048}," onStart",{"type":31,"tagName":422,"properties":6050,"children":6051},{"style":547},[6052],{"type":27,"value":3087},{"type":31,"tagName":422,"properties":6054,"children":6055},{"style":2119},[6056],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":6058,"children":6059},{"style":591},[6060],{"type":27,"value":3096},{"type":31,"tagName":422,"properties":6062,"children":6063},{"style":547},[6064],{"type":27,"value":3101},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6067,"children":6068},{"class":424},[6069,6074,6078,6083],{"type":31,"tagName":422,"properties":6070,"children":6071},{"style":547},[6072],{"type":27,"value":6073},"  lean ",{"type":31,"tagName":422,"properties":6075,"children":6076},{"style":2119},[6077],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":6079,"children":6080},{"style":541},[6081],{"type":27,"value":6082}," p_lean",{"type":31,"tagName":422,"properties":6084,"children":6085},{"style":547},[6086],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6089,"children":6090},{"class":424},[6091,6096,6100,6104,6108,6113],{"type":31,"tagName":422,"properties":6092,"children":6093},{"style":547},[6094],{"type":27,"value":6095},"  lineBars ",{"type":31,"tagName":422,"properties":6097,"children":6098},{"style":2119},[6099],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":6101,"children":6102},{"style":541},[6103],{"type":27,"value":5189},{"type":31,"tagName":422,"properties":6105,"children":6106},{"style":547},[6107],{"type":27,"value":550},{"type":31,"tagName":422,"properties":6109,"children":6110},{"style":541},[6111],{"type":27,"value":6112},"p_line_bars",{"type":31,"tagName":422,"properties":6114,"children":6115},{"style":547},[6116],{"type":27,"value":6117},"());",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6120,"children":6121},{"class":424},[6122],{"type":31,"tagName":422,"properties":6123,"children":6124},{"style":547},[6125],{"type":27,"value":3320},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6128,"children":6129},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":6132,"children":6133},{"class":424},[6134],{"type":31,"tagName":422,"properties":6135,"children":6136},{"style":428},[6137],{"type":27,"value":6138},"// onBar() runs once per bar: read the snapshot, write every output, and on the live bar write the first tile's words",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6141,"children":6142},{"class":424},[6143],{"type":31,"tagName":422,"properties":6144,"children":6145},{"style":428},[6146],{"type":27,"value":6147},"// and draw the two wall lines.",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6150,"children":6151},{"class":424},[6152,6156,6161,6165,6169,6173],{"type":31,"tagName":422,"properties":6153,"children":6154},{"style":2119},[6155],{"type":27,"value":3077},{"type":31,"tagName":422,"properties":6157,"children":6158},{"style":541},[6159],{"type":27,"value":6160}," onBar",{"type":31,"tagName":422,"properties":6162,"children":6163},{"style":547},[6164],{"type":27,"value":3087},{"type":31,"tagName":422,"properties":6166,"children":6167},{"style":2119},[6168],{"type":27,"value":2627},{"type":31,"tagName":422,"properties":6170,"children":6171},{"style":591},[6172],{"type":27,"value":3096},{"type":31,"tagName":422,"properties":6174,"children":6175},{"style":547},[6176],{"type":27,"value":3101},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6179,"children":6180},{"class":424},[6181,6185,6190,6194,6199,6204],{"type":31,"tagName":422,"properties":6182,"children":6183},{"style":2119},[6184],{"type":27,"value":3413},{"type":31,"tagName":422,"properties":6186,"children":6187},{"style":591},[6188],{"type":27,"value":6189}," t",{"type":31,"tagName":422,"properties":6191,"children":6192},{"style":2119},[6193],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":6195,"children":6196},{"style":547},[6197],{"type":27,"value":6198}," bar.",{"type":31,"tagName":422,"properties":6200,"children":6201},{"style":541},[6202],{"type":27,"value":6203},"time",{"type":31,"tagName":422,"properties":6205,"children":6206},{"style":547},[6207],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6210,"children":6211},{"class":424},[6212,6216,6220,6224,6228,6233,6238,6243,6247,6252,6256,6260,6264,6269,6273,6277,6281,6285,6289,6294,6298,6302,6306,6311],{"type":31,"tagName":422,"properties":6213,"children":6214},{"style":2119},[6215],{"type":27,"value":3446},{"type":31,"tagName":422,"properties":6217,"children":6218},{"style":547},[6219],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":6221,"children":6222},{"style":2119},[6223],{"type":27,"value":3675},{"type":31,"tagName":422,"properties":6225,"children":6226},{"style":541},[6227],{"type":27,"value":5004},{"type":31,"tagName":422,"properties":6229,"children":6230},{"style":547},[6231],{"type":27,"value":6232},"(prevTime) ",{"type":31,"tagName":422,"properties":6234,"children":6235},{"style":2119},[6236],{"type":27,"value":6237},"&&",{"type":31,"tagName":422,"properties":6239,"children":6240},{"style":547},[6241],{"type":27,"value":6242}," t ",{"type":31,"tagName":422,"properties":6244,"children":6245},{"style":2119},[6246],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":6248,"children":6249},{"style":547},[6250],{"type":27,"value":6251}," prevTime ",{"type":31,"tagName":422,"properties":6253,"children":6254},{"style":2119},[6255],{"type":27,"value":6237},{"type":31,"tagName":422,"properties":6257,"children":6258},{"style":547},[6259],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":6261,"children":6262},{"style":541},[6263],{"type":27,"value":5004},{"type":31,"tagName":422,"properties":6265,"children":6266},{"style":547},[6267],{"type":27,"value":6268},"(barSeconds) ",{"type":31,"tagName":422,"properties":6270,"children":6271},{"style":2119},[6272],{"type":27,"value":3698},{"type":31,"tagName":422,"properties":6274,"children":6275},{"style":547},[6276],{"type":27,"value":6242},{"type":31,"tagName":422,"properties":6278,"children":6279},{"style":2119},[6280],{"type":27,"value":4473},{"type":31,"tagName":422,"properties":6282,"children":6283},{"style":547},[6284],{"type":27,"value":6251},{"type":31,"tagName":422,"properties":6286,"children":6287},{"style":2119},[6288],{"type":27,"value":3456},{"type":31,"tagName":422,"properties":6290,"children":6291},{"style":547},[6292],{"type":27,"value":6293}," barSeconds)) barSeconds ",{"type":31,"tagName":422,"properties":6295,"children":6296},{"style":2119},[6297],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":6299,"children":6300},{"style":547},[6301],{"type":27,"value":6242},{"type":31,"tagName":422,"properties":6303,"children":6304},{"style":2119},[6305],{"type":27,"value":4473},{"type":31,"tagName":422,"properties":6307,"children":6308},{"style":547},[6309],{"type":27,"value":6310}," prevTime; ",{"type":31,"tagName":422,"properties":6312,"children":6313},{"style":428},[6314],{"type":27,"value":6315},"// the smallest step is one bar",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6318,"children":6319},{"class":424},[6320,6325,6329],{"type":31,"tagName":422,"properties":6321,"children":6322},{"style":547},[6323],{"type":27,"value":6324},"  prevTime ",{"type":31,"tagName":422,"properties":6326,"children":6327},{"style":2119},[6328],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":6330,"children":6331},{"style":547},[6332],{"type":27,"value":6333}," t;",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6336,"children":6337},{"class":424},[6338,6342,6347,6351,6355],{"type":31,"tagName":422,"properties":6339,"children":6340},{"style":2119},[6341],{"type":27,"value":3413},{"type":31,"tagName":422,"properties":6343,"children":6344},{"style":591},[6345],{"type":27,"value":6346}," hasSnapshot",{"type":31,"tagName":422,"properties":6348,"children":6349},{"style":2119},[6350],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":6352,"children":6353},{"style":541},[6354],{"type":27,"value":3373},{"type":31,"tagName":422,"properties":6356,"children":6357},{"style":547},[6358],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6361,"children":6362},{"class":424},[6363,6367,6372,6376,6381,6385],{"type":31,"tagName":422,"properties":6364,"children":6365},{"style":2119},[6366],{"type":27,"value":3413},{"type":31,"tagName":422,"properties":6368,"children":6369},{"style":591},[6370],{"type":27,"value":6371}," depth",{"type":31,"tagName":422,"properties":6373,"children":6374},{"style":2119},[6375],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":6377,"children":6378},{"style":547},[6379],{"type":27,"value":6380}," bidsFar ",{"type":31,"tagName":422,"properties":6382,"children":6383},{"style":2119},[6384],{"type":27,"value":3605},{"type":31,"tagName":422,"properties":6386,"children":6387},{"style":547},[6388],{"type":27,"value":6389}," asksFar;",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6392,"children":6393},{"class":424},[6394,6398,6403,6407,6412,6416,6420,6425,6430,6434,6439,6443,6448,6452,6456,6461,6465],{"type":31,"tagName":422,"properties":6395,"children":6396},{"style":2119},[6397],{"type":27,"value":3413},{"type":31,"tagName":422,"properties":6399,"children":6400},{"style":591},[6401],{"type":27,"value":6402}," imbalance",{"type":31,"tagName":422,"properties":6404,"children":6405},{"style":2119},[6406],{"type":27,"value":2132},{"type":31,"tagName":422,"properties":6408,"children":6409},{"style":547},[6410],{"type":27,"value":6411}," depth ",{"type":31,"tagName":422,"properties":6413,"children":6414},{"style":2119},[6415],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":6417,"children":6418},{"style":591},[6419],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":6421,"children":6422},{"style":2119},[6423],{"type":27,"value":6424}," ?",{"type":31,"tagName":422,"properties":6426,"children":6427},{"style":547},[6428],{"type":27,"value":6429}," ((bidsFar ",{"type":31,"tagName":422,"properties":6431,"children":6432},{"style":2119},[6433],{"type":27,"value":4473},{"type":31,"tagName":422,"properties":6435,"children":6436},{"style":547},[6437],{"type":27,"value":6438}," asksFar) ",{"type":31,"tagName":422,"properties":6440,"children":6441},{"style":2119},[6442],{"type":27,"value":4483},{"type":31,"tagName":422,"properties":6444,"children":6445},{"style":547},[6446],{"type":27,"value":6447}," depth) ",{"type":31,"tagName":422,"properties":6449,"children":6450},{"style":2119},[6451],{"type":27,"value":4030},{"type":31,"tagName":422,"properties":6453,"children":6454},{"style":591},[6455],{"type":27,"value":4497},{"type":31,"tagName":422,"properties":6457,"children":6458},{"style":2119},[6459],{"type":27,"value":6460}," :",{"type":31,"tagName":422,"properties":6462,"children":6463},{"style":591},[6464],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":6466,"children":6467},{"style":547},[6468],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6471,"children":6472},{"class":424},[6473,6477,6482,6486,6490],{"type":31,"tagName":422,"properties":6474,"children":6475},{"style":2119},[6476],{"type":27,"value":3514},{"type":31,"tagName":422,"properties":6478,"children":6479},{"style":547},[6480],{"type":27,"value":6481}," side ",{"type":31,"tagName":422,"properties":6483,"children":6484},{"style":2119},[6485],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":6487,"children":6488},{"style":591},[6489],{"type":27,"value":2478},{"type":31,"tagName":422,"properties":6491,"children":6492},{"style":547},[6493],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6496,"children":6497},{"class":424},[6498,6502,6507,6511,6516,6520,6524],{"type":31,"tagName":422,"properties":6499,"children":6500},{"style":2119},[6501],{"type":27,"value":3446},{"type":31,"tagName":422,"properties":6503,"children":6504},{"style":547},[6505],{"type":27,"value":6506}," (imbalance ",{"type":31,"tagName":422,"properties":6508,"children":6509},{"style":2119},[6510],{"type":27,"value":5435},{"type":31,"tagName":422,"properties":6512,"children":6513},{"style":547},[6514],{"type":27,"value":6515}," lean) side ",{"type":31,"tagName":422,"properties":6517,"children":6518},{"style":2119},[6519],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":6521,"children":6522},{"style":591},[6523],{"type":27,"value":2503},{"type":31,"tagName":422,"properties":6525,"children":6526},{"style":547},[6527],{"type":27,"value":2174},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6530,"children":6531},{"class":424},[6532,6536,6540,6544,6548,6552,6557,6561,6565,6569],{"type":31,"tagName":422,"properties":6533,"children":6534},{"style":2119},[6535],{"type":27,"value":5503},{"type":31,"tagName":422,"properties":6537,"children":6538},{"style":2119},[6539],{"type":27,"value":3820},{"type":31,"tagName":422,"properties":6541,"children":6542},{"style":547},[6543],{"type":27,"value":6506},{"type":31,"tagName":422,"properties":6545,"children":6546},{"style":2119},[6547],{"type":27,"value":4525},{"type":31,"tagName":422,"properties":6549,"children":6550},{"style":2119},[6551],{"type":27,"value":3528},{"type":31,"tagName":422,"properties":6553,"children":6554},{"style":547},[6555],{"type":27,"value":6556},"lean) side ",{"type":31,"tagName":422,"properties":6558,"children":6559},{"style":2119},[6560],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":6562,"children":6563},{"style":591},[6564],{"type":27,"value":2447},{"type":31,"tagName":422,"properties":6566,"children":6567},{"style":547},[6568],{"type":27,"value":2142},{"type":31,"tagName":422,"properties":6570,"children":6571},{"style":428},[6572],{"type":27,"value":6573},"// a NaN imbalance passes neither test and stays Balanced",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6576,"children":6577},{"class":424},[6578,6583],{"type":31,"tagName":422,"properties":6579,"children":6580},{"style":541},[6581],{"type":27,"value":6582},"  out_side",{"type":31,"tagName":422,"properties":6584,"children":6585},{"style":547},[6586],{"type":27,"value":6587},"(side);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6590,"children":6591},{"class":424},[6592,6597],{"type":31,"tagName":422,"properties":6593,"children":6594},{"style":541},[6595],{"type":27,"value":6596},"  out_imbalance",{"type":31,"tagName":422,"properties":6598,"children":6599},{"style":547},[6600],{"type":27,"value":6601},"(imbalance);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6604,"children":6605},{"class":424},[6606,6611,6616,6620,6625],{"type":31,"tagName":422,"properties":6607,"children":6608},{"style":541},[6609],{"type":27,"value":6610},"  out_imbalance_change",{"type":31,"tagName":422,"properties":6612,"children":6613},{"style":547},[6614],{"type":27,"value":6615},"(imbalance ",{"type":31,"tagName":422,"properties":6617,"children":6618},{"style":2119},[6619],{"type":27,"value":4473},{"type":31,"tagName":422,"properties":6621,"children":6622},{"style":547},[6623],{"type":27,"value":6624}," prevImbalance); ",{"type":31,"tagName":422,"properties":6626,"children":6627},{"style":428},[6628],{"type":27,"value":6629},"// NaN until two bars in a row have a book",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6632,"children":6633},{"class":424},[6634,6639,6644,6648,6652,6656,6661,6665,6669,6673,6677,6681,6685],{"type":31,"tagName":422,"properties":6635,"children":6636},{"style":541},[6637],{"type":27,"value":6638},"  out_bid_share",{"type":31,"tagName":422,"properties":6640,"children":6641},{"style":547},[6642],{"type":27,"value":6643},"(depth ",{"type":31,"tagName":422,"properties":6645,"children":6646},{"style":2119},[6647],{"type":27,"value":3685},{"type":31,"tagName":422,"properties":6649,"children":6650},{"style":591},[6651],{"type":27,"value":2456},{"type":31,"tagName":422,"properties":6653,"children":6654},{"style":2119},[6655],{"type":27,"value":6424},{"type":31,"tagName":422,"properties":6657,"children":6658},{"style":547},[6659],{"type":27,"value":6660}," (bidsFar ",{"type":31,"tagName":422,"properties":6662,"children":6663},{"style":2119},[6664],{"type":27,"value":4483},{"type":31,"tagName":422,"properties":6666,"children":6667},{"style":547},[6668],{"type":27,"value":6447},{"type":31,"tagName":422,"properties":6670,"children":6671},{"style":2119},[6672],{"type":27,"value":4030},{"type":31,"tagName":422,"properties":6674,"children":6675},{"style":591},[6676],{"type":27,"value":4497},{"type":31,"tagName":422,"properties":6678,"children":6679},{"style":2119},[6680],{"type":27,"value":6460},{"type":31,"tagName":422,"properties":6682,"children":6683},{"style":591},[6684],{"type":27,"value":2641},{"type":31,"tagName":422,"properties":6686,"children":6687},{"style":547},[6688],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6691,"children":6692},{"class":424},[6693,6698],{"type":31,"tagName":422,"properties":6694,"children":6695},{"style":541},[6696],{"type":27,"value":6697},"  out_bids_near",{"type":31,"tagName":422,"properties":6699,"children":6700},{"style":547},[6701],{"type":27,"value":6702},"(bidsNear);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6705,"children":6706},{"class":424},[6707,6712],{"type":31,"tagName":422,"properties":6708,"children":6709},{"style":541},[6710],{"type":27,"value":6711},"  out_asks_near",{"type":31,"tagName":422,"properties":6713,"children":6714},{"style":547},[6715],{"type":27,"value":6716},"(asksNear);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6719,"children":6720},{"class":424},[6721,6726],{"type":31,"tagName":422,"properties":6722,"children":6723},{"style":541},[6724],{"type":27,"value":6725},"  out_bids_mid",{"type":31,"tagName":422,"properties":6727,"children":6728},{"style":547},[6729],{"type":27,"value":6730},"(bidsMid);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6733,"children":6734},{"class":424},[6735,6740],{"type":31,"tagName":422,"properties":6736,"children":6737},{"style":541},[6738],{"type":27,"value":6739},"  out_asks_mid",{"type":31,"tagName":422,"properties":6741,"children":6742},{"style":547},[6743],{"type":27,"value":6744},"(asksMid);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6747,"children":6748},{"class":424},[6749,6754],{"type":31,"tagName":422,"properties":6750,"children":6751},{"style":541},[6752],{"type":27,"value":6753},"  out_bids_far",{"type":31,"tagName":422,"properties":6755,"children":6756},{"style":547},[6757],{"type":27,"value":6758},"(bidsFar);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6761,"children":6762},{"class":424},[6763,6768],{"type":31,"tagName":422,"properties":6764,"children":6765},{"style":541},[6766],{"type":27,"value":6767},"  out_asks_far",{"type":31,"tagName":422,"properties":6769,"children":6770},{"style":547},[6771],{"type":27,"value":6772},"(asksFar);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6775,"children":6776},{"class":424},[6777,6782],{"type":31,"tagName":422,"properties":6778,"children":6779},{"style":541},[6780],{"type":27,"value":6781},"  out_bid_wall",{"type":31,"tagName":422,"properties":6783,"children":6784},{"style":547},[6785],{"type":27,"value":6786},"(bidWall);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6789,"children":6790},{"class":424},[6791,6796],{"type":31,"tagName":422,"properties":6792,"children":6793},{"style":541},[6794],{"type":27,"value":6795},"  out_bid_wall_size",{"type":31,"tagName":422,"properties":6797,"children":6798},{"style":547},[6799],{"type":27,"value":6800},"(bidWallSize);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6803,"children":6804},{"class":424},[6805,6810],{"type":31,"tagName":422,"properties":6806,"children":6807},{"style":541},[6808],{"type":27,"value":6809},"  out_ask_wall",{"type":31,"tagName":422,"properties":6811,"children":6812},{"style":547},[6813],{"type":27,"value":6814},"(askWall);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6817,"children":6818},{"class":424},[6819,6824],{"type":31,"tagName":422,"properties":6820,"children":6821},{"style":541},[6822],{"type":27,"value":6823},"  out_ask_wall_size",{"type":31,"tagName":422,"properties":6825,"children":6826},{"style":547},[6827],{"type":27,"value":6828},"(askWallSize);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6831,"children":6832},{"class":424},[6833,6838,6842],{"type":31,"tagName":422,"properties":6834,"children":6835},{"style":547},[6836],{"type":27,"value":6837},"  prevImbalance ",{"type":31,"tagName":422,"properties":6839,"children":6840},{"style":2119},[6841],{"type":27,"value":2538},{"type":31,"tagName":422,"properties":6843,"children":6844},{"style":547},[6845],{"type":27,"value":6846}," imbalance;",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6849,"children":6850},{"class":424},[],{"type":27,"value":28},{"type":31,"tagName":422,"properties":6853,"children":6854},{"class":424},[6855,6859,6864,6869],{"type":31,"tagName":422,"properties":6856,"children":6857},{"style":2119},[6858],{"type":27,"value":3446},{"type":31,"tagName":422,"properties":6860,"children":6861},{"style":547},[6862],{"type":27,"value":6863}," (bar.",{"type":31,"tagName":422,"properties":6865,"children":6866},{"style":541},[6867],{"type":27,"value":6868},"isLast",{"type":31,"tagName":422,"properties":6870,"children":6871},{"style":547},[6872],{"type":27,"value":6873},"()) {",{"type":27,"value":28},{"type":31,"tagName":422,"properties":6876,"children":6877},{"class":424},[6878,6883],{"type":31,"tagName":422,"properties":6879,"children":6880},{"style":541},[6881],{"type":27,"value":6882},"    sb_clear",{"type":31,"tagName":422,"properties":6884,"children":6885},{"style":547},[6886],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6889,"children":6890},{"class":424},[6891,6895,6899,6903,6908,6912,6916,6921],{"type":31,"tagName":422,"properties":6892,"children":6893},{"style":2119},[6894],{"type":27,"value":3666},{"type":31,"tagName":422,"properties":6896,"children":6897},{"style":547},[6898],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":6900,"children":6901},{"style":2119},[6902],{"type":27,"value":3675},{"type":31,"tagName":422,"properties":6904,"children":6905},{"style":547},[6906],{"type":27,"value":6907},"bookSeen) ",{"type":31,"tagName":422,"properties":6909,"children":6910},{"style":541},[6911],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":6913,"children":6914},{"style":547},[6915],{"type":27,"value":550},{"type":31,"tagName":422,"properties":6917,"children":6918},{"style":553},[6919],{"type":27,"value":6920},"\"No order book on this market\"",{"type":31,"tagName":422,"properties":6922,"children":6923},{"style":547},[6924],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6927,"children":6928},{"class":424},[6929,6933,6937,6941,6945,6950,6954,6958,6963],{"type":31,"tagName":422,"properties":6930,"children":6931},{"style":2119},[6932],{"type":27,"value":3815},{"type":31,"tagName":422,"properties":6934,"children":6935},{"style":2119},[6936],{"type":27,"value":3820},{"type":31,"tagName":422,"properties":6938,"children":6939},{"style":547},[6940],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":6942,"children":6943},{"style":2119},[6944],{"type":27,"value":3675},{"type":31,"tagName":422,"properties":6946,"children":6947},{"style":547},[6948],{"type":27,"value":6949},"hasSnapshot) ",{"type":31,"tagName":422,"properties":6951,"children":6952},{"style":541},[6953],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":6955,"children":6956},{"style":547},[6957],{"type":27,"value":550},{"type":31,"tagName":422,"properties":6959,"children":6960},{"style":553},[6961],{"type":27,"value":6962},"\"Waiting for the book\"",{"type":31,"tagName":422,"properties":6964,"children":6965},{"style":547},[6966],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":6969,"children":6970},{"class":424},[6971,6975,6979,6983,6987,6992,6996,7000,7005],{"type":31,"tagName":422,"properties":6972,"children":6973},{"style":2119},[6974],{"type":27,"value":3815},{"type":31,"tagName":422,"properties":6976,"children":6977},{"style":2119},[6978],{"type":27,"value":3820},{"type":31,"tagName":422,"properties":6980,"children":6981},{"style":547},[6982],{"type":27,"value":3577},{"type":31,"tagName":422,"properties":6984,"children":6985},{"style":541},[6986],{"type":27,"value":5004},{"type":31,"tagName":422,"properties":6988,"children":6989},{"style":547},[6990],{"type":27,"value":6991},"(imbalance)) ",{"type":31,"tagName":422,"properties":6993,"children":6994},{"style":541},[6995],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":6997,"children":6998},{"style":547},[6999],{"type":27,"value":550},{"type":31,"tagName":422,"properties":7001,"children":7002},{"style":553},[7003],{"type":27,"value":7004},"\"Nothing resting within 1%\"",{"type":31,"tagName":422,"properties":7006,"children":7007},{"style":547},[7008],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7011,"children":7012},{"class":424},[7013,7017,7021,7026,7031,7035,7039,7043,7047,7052],{"type":31,"tagName":422,"properties":7014,"children":7015},{"style":2119},[7016],{"type":27,"value":3815},{"type":31,"tagName":422,"properties":7018,"children":7019},{"style":2119},[7020],{"type":27,"value":3820},{"type":31,"tagName":422,"properties":7022,"children":7023},{"style":547},[7024],{"type":27,"value":7025}," (side ",{"type":31,"tagName":422,"properties":7027,"children":7028},{"style":2119},[7029],{"type":27,"value":7030},"==",{"type":31,"tagName":422,"properties":7032,"children":7033},{"style":591},[7034],{"type":27,"value":2503},{"type":31,"tagName":422,"properties":7036,"children":7037},{"style":547},[7038],{"type":27,"value":3466},{"type":31,"tagName":422,"properties":7040,"children":7041},{"style":541},[7042],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":7044,"children":7045},{"style":547},[7046],{"type":27,"value":550},{"type":31,"tagName":422,"properties":7048,"children":7049},{"style":553},[7050],{"type":27,"value":7051},"\"Bids heavier\"",{"type":31,"tagName":422,"properties":7053,"children":7054},{"style":547},[7055],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7058,"children":7059},{"class":424},[7060,7064,7068,7072,7076,7080,7084,7088,7092,7097],{"type":31,"tagName":422,"properties":7061,"children":7062},{"style":2119},[7063],{"type":27,"value":3815},{"type":31,"tagName":422,"properties":7065,"children":7066},{"style":2119},[7067],{"type":27,"value":3820},{"type":31,"tagName":422,"properties":7069,"children":7070},{"style":547},[7071],{"type":27,"value":7025},{"type":31,"tagName":422,"properties":7073,"children":7074},{"style":2119},[7075],{"type":27,"value":7030},{"type":31,"tagName":422,"properties":7077,"children":7078},{"style":591},[7079],{"type":27,"value":2447},{"type":31,"tagName":422,"properties":7081,"children":7082},{"style":547},[7083],{"type":27,"value":3466},{"type":31,"tagName":422,"properties":7085,"children":7086},{"style":541},[7087],{"type":27,"value":5480},{"type":31,"tagName":422,"properties":7089,"children":7090},{"style":547},[7091],{"type":27,"value":550},{"type":31,"tagName":422,"properties":7093,"children":7094},{"style":553},[7095],{"type":27,"value":7096},"\"Asks heavier\"",{"type":31,"tagName":422,"properties":7098,"children":7099},{"style":547},[7100],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7103,"children":7104},{"class":424},[7105,7109,7114,7118,7123],{"type":31,"tagName":422,"properties":7106,"children":7107},{"style":2119},[7108],{"type":27,"value":3815},{"type":31,"tagName":422,"properties":7110,"children":7111},{"style":541},[7112],{"type":27,"value":7113}," sb_text",{"type":31,"tagName":422,"properties":7115,"children":7116},{"style":547},[7117],{"type":27,"value":550},{"type":31,"tagName":422,"properties":7119,"children":7120},{"style":553},[7121],{"type":27,"value":7122},"\"Balanced\"",{"type":31,"tagName":422,"properties":7124,"children":7125},{"style":547},[7126],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7129,"children":7130},{"class":424},[7131,7136],{"type":31,"tagName":422,"properties":7132,"children":7133},{"style":541},[7134],{"type":27,"value":7135},"    str_heavier_sb",{"type":31,"tagName":422,"properties":7137,"children":7138},{"style":547},[7139],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7142,"children":7143},{"class":424},[7144,7149],{"type":31,"tagName":422,"properties":7145,"children":7146},{"style":541},[7147],{"type":27,"value":7148},"    sbDepth",{"type":31,"tagName":422,"properties":7150,"children":7151},{"style":547},[7152],{"type":27,"value":7153},"(bidsNear, asksNear);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":7156,"children":7157},{"class":424},[7158,7163],{"type":31,"tagName":422,"properties":7159,"children":7160},{"style":541},[7161],{"type":27,"value":7162},"    str_depth_near_sb",{"type":31,"tagName":422,"properties":7164,"children":7165},{"style":547},[7166],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7169,"children":7170},{"class":424},[7171,7175],{"type":31,"tagName":422,"properties":7172,"children":7173},{"style":541},[7174],{"type":27,"value":7148},{"type":31,"tagName":422,"properties":7176,"children":7177},{"style":547},[7178],{"type":27,"value":7179},"(bidsMid, asksMid);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":7182,"children":7183},{"class":424},[7184,7189],{"type":31,"tagName":422,"properties":7185,"children":7186},{"style":541},[7187],{"type":27,"value":7188},"    str_depth_mid_sb",{"type":31,"tagName":422,"properties":7190,"children":7191},{"style":547},[7192],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7195,"children":7196},{"class":424},[7197,7201],{"type":31,"tagName":422,"properties":7198,"children":7199},{"style":541},[7200],{"type":27,"value":7148},{"type":31,"tagName":422,"properties":7202,"children":7203},{"style":547},[7204],{"type":27,"value":7205},"(bidsFar, asksFar);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":7208,"children":7209},{"class":424},[7210,7215],{"type":31,"tagName":422,"properties":7211,"children":7212},{"style":541},[7213],{"type":27,"value":7214},"    str_depth_far_sb",{"type":31,"tagName":422,"properties":7216,"children":7217},{"style":547},[7218],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7221,"children":7222},{"class":424},[7223,7228],{"type":31,"tagName":422,"properties":7224,"children":7225},{"style":541},[7226],{"type":27,"value":7227},"    sbWall",{"type":31,"tagName":422,"properties":7229,"children":7230},{"style":547},[7231],{"type":27,"value":7232},"(bidWall, bidWallSize);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":7235,"children":7236},{"class":424},[7237,7242],{"type":31,"tagName":422,"properties":7238,"children":7239},{"style":541},[7240],{"type":27,"value":7241},"    str_bid_wall_text_sb",{"type":31,"tagName":422,"properties":7243,"children":7244},{"style":547},[7245],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7248,"children":7249},{"class":424},[7250,7254],{"type":31,"tagName":422,"properties":7251,"children":7252},{"style":541},[7253],{"type":27,"value":7227},{"type":31,"tagName":422,"properties":7255,"children":7256},{"style":547},[7257],{"type":27,"value":7258},"(askWall, askWallSize);",{"type":27,"value":28},{"type":31,"tagName":422,"properties":7261,"children":7262},{"class":424},[7263,7268],{"type":31,"tagName":422,"properties":7264,"children":7265},{"style":541},[7266],{"type":27,"value":7267},"    str_ask_wall_text_sb",{"type":31,"tagName":422,"properties":7269,"children":7270},{"style":547},[7271],{"type":27,"value":3404},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7274,"children":7275},{"class":424},[7276,7281,7286,7291],{"type":31,"tagName":422,"properties":7277,"children":7278},{"style":541},[7279],{"type":27,"value":7280},"    drawWall",{"type":31,"tagName":422,"properties":7282,"children":7283},{"style":547},[7284],{"type":27,"value":7285},"(bidLine, bidWall, t, ",{"type":31,"tagName":422,"properties":7287,"children":7288},{"style":591},[7289],{"type":27,"value":7290},"BID_GREEN",{"type":31,"tagName":422,"properties":7292,"children":7293},{"style":547},[7294],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7297,"children":7298},{"class":424},[7299,7303,7308,7313],{"type":31,"tagName":422,"properties":7300,"children":7301},{"style":541},[7302],{"type":27,"value":7280},{"type":31,"tagName":422,"properties":7304,"children":7305},{"style":547},[7306],{"type":27,"value":7307},"(askLine, askWall, t, ",{"type":31,"tagName":422,"properties":7309,"children":7310},{"style":591},[7311],{"type":27,"value":7312},"ASK_RED",{"type":31,"tagName":422,"properties":7314,"children":7315},{"style":547},[7316],{"type":27,"value":561},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7319,"children":7320},{"class":424},[7321],{"type":31,"tagName":422,"properties":7322,"children":7323},{"style":547},[7324],{"type":27,"value":3876},{"type":27,"value":28},{"type":31,"tagName":422,"properties":7327,"children":7328},{"class":424},[7329],{"type":31,"tagName":422,"properties":7330,"children":7331},{"style":547},[7332],{"type":27,"value":3320},{"type":27,"value":28},{"type":31,"tagName":389,"properties":7335,"children":7336,"position":7346},{},[7337],{"type":27,"value":7338,"position":7339},"How it works",{"start":7340,"end":7343},{"line":7341,"column":397,"offset":7342},264,14961,{"line":7341,"column":7344,"offset":7345},16,14973,{"start":7347,"end":7349},{"line":7341,"column":21,"offset":7348},14958,{"line":7341,"column":7344,"offset":7345},{"type":27,"value":28},{"type":31,"tagName":32,"properties":7352,"children":7353,"position":7420},{},[7354,7373,7380,7393,7400,7413],{"type":31,"tagName":336,"properties":7355,"children":7356,"position":7367},{},[7357],{"type":27,"value":7358,"position":7359},"One snapshot per bar.",{"start":7360,"end":7364},{"line":7361,"column":7362,"offset":7363},266,3,14977,{"line":7361,"column":7365,"offset":7366},24,14998,{"start":7368,"end":7370},{"line":7361,"column":21,"offset":7369},14975,{"line":7361,"column":7371,"offset":7372},26,15000,{"type":27,"value":7374,"position":7375}," ",{"start":7376,"end":7377},{"line":7361,"column":7371,"offset":7372},{"line":7361,"column":7378,"offset":7379},27,15001,{"type":31,"tagName":61,"properties":7381,"children":7382,"position":7390},{},[7383],{"type":27,"value":7384,"position":7385},"input(\"book\", book.cells, { max_cells: 1000, block_size: 10 })",{"start":7386,"end":7387},{"line":7361,"column":7378,"offset":7379},{"line":7361,"column":7388,"offset":7389},91,15065,{"start":7391,"end":7392},{"line":7361,"column":7378,"offset":7379},{"line":7361,"column":7388,"offset":7389},{"type":27,"value":7394,"position":7395}," hands each bar the book the chart loads for its own market, at its own price grouping, up to 500 levels a side. History bars carry the snapshot of their bar; the live bar's book is refreshed about once a second. ",{"start":7396,"end":7397},{"line":7361,"column":7388,"offset":7389},{"line":7361,"column":7398,"offset":7399},304,15278,{"type":31,"tagName":61,"properties":7401,"children":7402,"position":7410},{},[7403],{"type":27,"value":7404,"position":7405},"block_size",{"start":7406,"end":7407},{"line":7361,"column":7398,"offset":7399},{"line":7361,"column":7408,"offset":7409},316,15290,{"start":7411,"end":7412},{"line":7361,"column":7398,"offset":7399},{"line":7361,"column":7408,"offset":7409},{"type":27,"value":7414,"position":7415}," is required by the declaration and the chart does not read it.",{"start":7416,"end":7417},{"line":7361,"column":7408,"offset":7409},{"line":7361,"column":7418,"offset":7419},379,15353,{"start":7421,"end":7422},{"line":7361,"column":21,"offset":7369},{"line":7361,"column":7418,"offset":7419},{"type":27,"value":28},{"type":31,"tagName":32,"properties":7425,"children":7426,"position":7452},{},[7427,7445],{"type":31,"tagName":336,"properties":7428,"children":7429,"position":7439},{},[7430],{"type":27,"value":7431,"position":7432},"The touch first.",{"start":7433,"end":7436},{"line":7434,"column":7362,"offset":7435},268,15357,{"line":7434,"column":7437,"offset":7438},19,15373,{"start":7440,"end":7442},{"line":7434,"column":21,"offset":7441},15355,{"line":7434,"column":7443,"offset":7444},21,15375,{"type":27,"value":7446,"position":7447}," The chart hands the bids over best first and the asks from the highest price down, so the first pass looks for the highest bid and the lowest ask by price, never by position, and skips empty levels. The mid is halfway between them; a book missing a side, or crossed, reads as no snapshot.",{"start":7448,"end":7449},{"line":7434,"column":7443,"offset":7444},{"line":7434,"column":7450,"offset":7451},310,15664,{"start":7453,"end":7454},{"line":7434,"column":21,"offset":7441},{"line":7434,"column":7450,"offset":7451},{"type":27,"value":28},{"type":31,"tagName":32,"properties":7457,"children":7458,"position":7484},{},[7459,7477],{"type":31,"tagName":336,"properties":7460,"children":7461,"position":7471},{},[7462],{"type":27,"value":7463,"position":7464},"Dollars by distance.",{"start":7465,"end":7468},{"line":7466,"column":7362,"offset":7467},270,15668,{"line":7466,"column":7469,"offset":7470},23,15688,{"start":7472,"end":7474},{"line":7466,"column":21,"offset":7473},15666,{"line":7466,"column":7475,"offset":7476},25,15690,{"type":27,"value":7478,"position":7479}," The second pass prices each level (its price times its size in coins) and adds it to every band it sits inside: 0.25%, 0.5% and 1% from the mid. The 1% band also gives the imbalance, bids minus asks over their sum in percent, and the bid share, bids over that sum. The biggest level on each side within 2% is that side's wall.",{"start":7480,"end":7481},{"line":7466,"column":7475,"offset":7476},{"line":7466,"column":7482,"offset":7483},352,16017,{"start":7485,"end":7486},{"line":7466,"column":21,"offset":7473},{"line":7466,"column":7482,"offset":7483},{"type":27,"value":28},{"type":31,"tagName":32,"properties":7489,"children":7490,"position":7612},{},[7491,7507,7514,7527,7534,7546,7553,7566,7573,7585,7592,7605],{"type":31,"tagName":336,"properties":7492,"children":7493,"position":7502},{},[7494],{"type":27,"value":7495,"position":7496},"The deciding word.",{"start":7497,"end":7500},{"line":7498,"column":7362,"offset":7499},272,16021,{"line":7498,"column":7443,"offset":7501},16039,{"start":7503,"end":7505},{"line":7498,"column":21,"offset":7504},16019,{"line":7498,"column":7469,"offset":7506},16041,{"type":27,"value":7508,"position":7509}," An imbalance at or above ",{"start":7510,"end":7511},{"line":7498,"column":7469,"offset":7506},{"line":7498,"column":7512,"offset":7513},49,16067,{"type":31,"tagName":61,"properties":7515,"children":7516,"position":7524},{},[7517],{"type":27,"value":7518,"position":7519},"lean",{"start":7520,"end":7521},{"line":7498,"column":7512,"offset":7513},{"line":7498,"column":7522,"offset":7523},55,16073,{"start":7525,"end":7526},{"line":7498,"column":7512,"offset":7513},{"line":7498,"column":7522,"offset":7523},{"type":27,"value":7528,"position":7529}," (10 points) reads Bids heavier, at or below minus ",{"start":7530,"end":7531},{"line":7498,"column":7522,"offset":7523},{"line":7498,"column":7532,"offset":7533},106,16124,{"type":31,"tagName":61,"properties":7535,"children":7536,"position":7543},{},[7537],{"type":27,"value":7518,"position":7538},{"start":7539,"end":7540},{"line":7498,"column":7532,"offset":7533},{"line":7498,"column":7541,"offset":7542},112,16130,{"start":7544,"end":7545},{"line":7498,"column":7532,"offset":7533},{"line":7498,"column":7541,"offset":7542},{"type":27,"value":7547,"position":7548}," reads Asks heavier, and anything between reads Balanced. A data-only ",{"start":7549,"end":7550},{"line":7498,"column":7541,"offset":7542},{"line":7498,"column":7551,"offset":7552},182,16200,{"type":31,"tagName":61,"properties":7554,"children":7555,"position":7563},{},[7556],{"type":27,"value":7557,"position":7558},"side",{"start":7559,"end":7560},{"line":7498,"column":7551,"offset":7552},{"line":7498,"column":7561,"offset":7562},188,16206,{"start":7564,"end":7565},{"line":7498,"column":7551,"offset":7552},{"line":7498,"column":7561,"offset":7562},{"type":27,"value":7567,"position":7568}," output (0, 1 or 2) picks the pill's colour from its ladder: amber for either heavier side and cyan for Balanced, so the colour says whether the book leans and the word says which way. The imbalance and its change since the previous bar's book, in points, are written on every bar as ",{"start":7569,"end":7570},{"line":7498,"column":7561,"offset":7562},{"line":7498,"column":7571,"offset":7572},472,16490,{"type":31,"tagName":61,"properties":7574,"children":7575,"position":7582},{},[7576],{"type":27,"value":7577,"position":7578},"imbalance",{"start":7579,"end":7580},{"line":7498,"column":7571,"offset":7572},{"line":7498,"column":232,"offset":7581},16501,{"start":7583,"end":7584},{"line":7498,"column":7571,"offset":7572},{"line":7498,"column":232,"offset":7581},{"type":27,"value":7586,"position":7587}," and ",{"start":7588,"end":7589},{"line":7498,"column":232,"offset":7581},{"line":7498,"column":7590,"offset":7591},488,16506,{"type":31,"tagName":61,"properties":7593,"children":7594,"position":7602},{},[7595],{"type":27,"value":7596,"position":7597},"imbalance_change",{"start":7598,"end":7599},{"line":7498,"column":7590,"offset":7591},{"line":7498,"column":7600,"offset":7601},506,16524,{"start":7603,"end":7604},{"line":7498,"column":7590,"offset":7591},{"line":7498,"column":7600,"offset":7601},{"type":27,"value":7606,"position":7607}," for the Console.",{"start":7608,"end":7609},{"line":7498,"column":7600,"offset":7601},{"line":7498,"column":7610,"offset":7611},523,16541,{"start":7613,"end":7614},{"line":7498,"column":21,"offset":7504},{"line":7498,"column":7610,"offset":7611},{"type":27,"value":28},{"type":31,"tagName":32,"properties":7617,"children":7618,"position":7664},{},[7619,7637,7644,7657],{"type":31,"tagName":336,"properties":7620,"children":7621,"position":7631},{},[7622],{"type":27,"value":7623,"position":7624},"The bid share in segments.",{"start":7625,"end":7628},{"line":7626,"column":7362,"offset":7627},274,16545,{"line":7626,"column":7629,"offset":7630},29,16571,{"start":7632,"end":7634},{"line":7626,"column":21,"offset":7633},16543,{"line":7626,"column":7635,"offset":7636},31,16573,{"type":27,"value":7638,"position":7639}," The meter reads ",{"start":7640,"end":7641},{"line":7626,"column":7635,"offset":7636},{"line":7626,"column":7642,"offset":7643},48,16590,{"type":31,"tagName":61,"properties":7645,"children":7646,"position":7654},{},[7647],{"type":27,"value":7648,"position":7649},"bid_share",{"start":7650,"end":7651},{"line":7626,"column":7642,"offset":7643},{"line":7626,"column":7652,"offset":7653},59,16601,{"start":7655,"end":7656},{"line":7626,"column":7642,"offset":7643},{"line":7626,"column":7652,"offset":7653},{"type":27,"value":7658,"position":7659}," from 0 to 100 in the cyan it declares; the cockpit look draws a meter as 20 segments, so each segment stands for 5 points of the share and ten lit segments is an even book. The number beside the label is the share itself.",{"start":7660,"end":7661},{"line":7626,"column":7652,"offset":7653},{"line":7626,"column":7662,"offset":7663},281,16823,{"start":7665,"end":7666},{"line":7626,"column":21,"offset":7633},{"line":7626,"column":7662,"offset":7663},{"type":27,"value":28},{"type":31,"tagName":32,"properties":7669,"children":7670,"position":7735},{},[7671,7689,7694,7705,7712,7728],{"type":31,"tagName":336,"properties":7672,"children":7673,"position":7683},{},[7674],{"type":27,"value":7675,"position":7676},"The look draws the tiles.",{"start":7677,"end":7680},{"line":7678,"column":7362,"offset":7679},276,16827,{"line":7678,"column":7681,"offset":7682},28,16852,{"start":7684,"end":7686},{"line":7678,"column":21,"offset":7685},16825,{"line":7678,"column":7687,"offset":7688},30,16854,{"type":27,"value":7374,"position":7690},{"start":7691,"end":7692},{"line":7678,"column":7687,"offset":7688},{"line":7678,"column":7635,"offset":7693},16855,{"type":31,"tagName":61,"properties":7695,"children":7696,"position":7702},{},[7697],{"type":27,"value":85,"position":7698},{"start":7699,"end":7700},{"line":7678,"column":7635,"offset":7693},{"line":7678,"column":7642,"offset":7701},16872,{"start":7703,"end":7704},{"line":7678,"column":7635,"offset":7693},{"line":7678,"column":7642,"offset":7701},{"type":27,"value":7706,"position":7707}," sets the dark see-through panel with square corners, the four corner brackets in its amber accent, monospaced cyan type with a soft glow, the title and the labels in capitals, and each tile kind's drawing: the pill as its word alone in its colour, the meter as segments. It keeps its colours on a dark and a light chart alike (",{"start":7708,"end":7709},{"line":7678,"column":7642,"offset":7701},{"line":7678,"column":7710,"offset":7711},376,17200,{"type":31,"tagName":102,"properties":7713,"children":7714,"position":7723},{"href":129},[7715],{"type":27,"value":132,"position":7716},{"start":7717,"end":7720},{"line":7678,"column":7718,"offset":7719},377,17201,{"line":7678,"column":7721,"offset":7722},382,17206,{"start":7724,"end":7725},{"line":7678,"column":7710,"offset":7711},{"line":7678,"column":7726,"offset":7727},429,17253,{"type":27,"value":7729,"position":7730},").",{"start":7731,"end":7732},{"line":7678,"column":7726,"offset":7727},{"line":7678,"column":7733,"offset":7734},431,17255,{"start":7736,"end":7737},{"line":7678,"column":21,"offset":7685},{"line":7678,"column":7733,"offset":7734},{"type":27,"value":28},{"type":31,"tagName":32,"properties":7740,"children":7741,"position":7784},{},[7742,7758,7765,7778],{"type":31,"tagName":336,"properties":7743,"children":7744,"position":7753},{},[7745],{"type":27,"value":7746,"position":7747},"The walls on price.",{"start":7748,"end":7751},{"line":7749,"column":7362,"offset":7750},278,17259,{"line":7749,"column":400,"offset":7752},17278,{"start":7754,"end":7756},{"line":7749,"column":21,"offset":7755},17257,{"line":7749,"column":7365,"offset":7757},17280,{"type":27,"value":7759,"position":7760}," Two line handles, made once at load, are set on the live bar at the two wall prices, reaching back ",{"start":7761,"end":7762},{"line":7749,"column":7365,"offset":7757},{"line":7749,"column":7763,"offset":7764},124,17380,{"type":31,"tagName":61,"properties":7766,"children":7767,"position":7775},{},[7768],{"type":27,"value":7769,"position":7770},"line_bars",{"start":7771,"end":7772},{"line":7749,"column":7763,"offset":7764},{"line":7749,"column":7773,"offset":7774},135,17391,{"start":7776,"end":7777},{"line":7749,"column":7763,"offset":7764},{"line":7749,"column":7773,"offset":7774},{"type":27,"value":7779,"position":7780}," (30) bars and extended to the price axis, dotted, green for the bid wall and red for the ask wall. A side with no level inside 2% deletes its line.",{"start":7781,"end":7782},{"line":7749,"column":7773,"offset":7774},{"line":7749,"column":159,"offset":7783},17539,{"start":7785,"end":7786},{"line":7749,"column":21,"offset":7755},{"line":7749,"column":159,"offset":7783},{"type":27,"value":28},{"type":31,"tagName":389,"properties":7789,"children":7790,"position":7798},{},[7791],{"type":27,"value":7792,"position":7793},"Where it runs",{"start":7794,"end":7796},{"line":143,"column":397,"offset":7795},17544,{"line":143,"column":58,"offset":7797},17557,{"start":7799,"end":7801},{"line":143,"column":21,"offset":7800},17541,{"line":143,"column":58,"offset":7797},{"type":27,"value":28},{"type":31,"tagName":32,"properties":7804,"children":7805,"position":7814},{},[7806],{"type":27,"value":7807,"position":7808},"Every market whose order book the chart serves to an indicator: crypto perpetuals and spot such as Binance Futures BTCUSDT and Binance ETHUSDT. FX and stocks have no order book, and some thin perpetuals have none on the chart either: there the first tile reads \"No order book on this market\" and nothing is drawn. On a prediction market the chart serves a book in coarse price steps, wider than 1% of a mid in the tens of cents, so the card reads \"Nothing resting within 1%\" and names no wall.",{"start":7809,"end":7811},{"line":149,"column":21,"offset":7810},17559,{"line":149,"column":7812,"offset":7813},494,18052,{"start":7815,"end":7816},{"line":149,"column":21,"offset":7810},{"line":149,"column":7812,"offset":7813},{"type":27,"value":28},{"type":31,"tagName":389,"properties":7819,"children":7820,"position":7829},{},[7821],{"type":27,"value":7822,"position":7823},"When data is missing",{"start":7824,"end":7827},{"line":7825,"column":397,"offset":7826},284,18057,{"line":7825,"column":7365,"offset":7828},18077,{"start":7830,"end":7832},{"line":7825,"column":21,"offset":7831},18054,{"line":7825,"column":7365,"offset":7828},{"type":27,"value":28},{"type":31,"tagName":7835,"properties":7836,"children":7837,"position":7906},"ul",{},[7838,7839,7856,7857,7873,7874,7889,7890,7905],{"type":27,"value":28},{"type":31,"tagName":7840,"properties":7841,"children":7842,"position":7852},"li",{},[7843],{"type":27,"value":7844,"position":7845},"A market with no order book on the chart: the first tile says so, every number reads a dash and no line is drawn.",{"start":7846,"end":7849},{"line":7847,"column":7362,"offset":7848},286,18081,{"line":7847,"column":7850,"offset":7851},116,18194,{"start":7853,"end":7855},{"line":7847,"column":21,"offset":7854},18079,{"line":7847,"column":7850,"offset":7851},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":7858,"children":7859,"position":7869},{},[7860],{"type":27,"value":7861,"position":7862},"A bar whose snapshot has not arrived yet, or arrived with one side empty or crossed: that bar writes no numbers, and on the live bar the first tile reads \"Waiting for the book\" until it does.",{"start":7863,"end":7866},{"line":7864,"column":7362,"offset":7865},287,18197,{"line":7864,"column":7867,"offset":7868},194,18388,{"start":7870,"end":7872},{"line":7864,"column":21,"offset":7871},18195,{"line":7864,"column":7867,"offset":7868},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":7875,"children":7876,"position":7885},{},[7877],{"type":27,"value":7878,"position":7879},"A book with no level inside 1% of the mid: the first tile reads \"Nothing resting within 1%\", every band reads 0 (the bands nest) and the bid share reads a dash with no segment lit; a level within 2% is still named as a wall.",{"start":7880,"end":7883},{"line":7881,"column":7362,"offset":7882},288,18391,{"line":7881,"column":125,"offset":7884},18615,{"start":7886,"end":7888},{"line":7881,"column":21,"offset":7887},18389,{"line":7881,"column":125,"offset":7884},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":7891,"children":7892,"position":7901},{},[7893],{"type":27,"value":7894,"position":7895},"A band with no level inside it reads 0; a side with no level within 2% names no wall and draws no line.",{"start":7896,"end":7899},{"line":7897,"column":7362,"offset":7898},289,18618,{"line":7897,"column":7532,"offset":7900},18721,{"start":7902,"end":7904},{"line":7897,"column":21,"offset":7903},18616,{"line":7897,"column":7532,"offset":7900},{"type":27,"value":28},{"start":7907,"end":7908},{"line":7847,"column":21,"offset":7854},{"line":7897,"column":7532,"offset":7900},{"type":27,"value":28},{"type":31,"tagName":389,"properties":7911,"children":7912,"position":7921},{},[7913],{"type":27,"value":7914,"position":7915},"Customize it",{"start":7916,"end":7919},{"line":7917,"column":397,"offset":7918},291,18726,{"line":7917,"column":7344,"offset":7920},18738,{"start":7922,"end":7924},{"line":7917,"column":21,"offset":7923},18723,{"line":7917,"column":7344,"offset":7920},{"type":27,"value":28},{"type":31,"tagName":7835,"properties":7927,"children":7928,"position":8403},{},[7929,7930,7979,7980,8028,8029,8135,8136,8185,8186,8272,8273,8402],{"type":27,"value":28},{"type":31,"tagName":7840,"properties":7931,"children":7932,"position":7975},{},[7933,7950,7956,7968],{"type":31,"tagName":336,"properties":7934,"children":7935,"position":7945},{},[7936],{"type":27,"value":7937,"position":7938},"A wider middle.",{"start":7939,"end":7942},{"line":7940,"column":39,"offset":7941},293,18744,{"line":7940,"column":7943,"offset":7944},20,18759,{"start":7946,"end":7948},{"line":7940,"column":7362,"offset":7947},18742,{"line":7940,"column":400,"offset":7949},18761,{"type":27,"value":7951,"position":7952}," Raise ",{"start":7953,"end":7954},{"line":7940,"column":400,"offset":7949},{"line":7940,"column":7629,"offset":7955},18768,{"type":31,"tagName":61,"properties":7957,"children":7958,"position":7965},{},[7959],{"type":27,"value":7518,"position":7960},{"start":7961,"end":7962},{"line":7940,"column":7629,"offset":7955},{"line":7940,"column":7963,"offset":7964},35,18774,{"start":7966,"end":7967},{"line":7940,"column":7629,"offset":7955},{"line":7940,"column":7963,"offset":7964},{"type":27,"value":7969,"position":7970}," so the card names a side only on a clear lean.",{"start":7971,"end":7972},{"line":7940,"column":7963,"offset":7964},{"line":7940,"column":7973,"offset":7974},82,18821,{"start":7976,"end":7978},{"line":7940,"column":21,"offset":7977},18740,{"line":7940,"column":7973,"offset":7974},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":7981,"children":7982,"position":8024},{},[7983,8000,8006,8017],{"type":31,"tagName":336,"properties":7984,"children":7985,"position":7994},{},[7986],{"type":27,"value":7987,"position":7988},"Longer or shorter wall lines.",{"start":7989,"end":7992},{"line":7990,"column":39,"offset":7991},294,18826,{"line":7990,"column":69,"offset":7993},18855,{"start":7995,"end":7997},{"line":7990,"column":7362,"offset":7996},18824,{"line":7990,"column":7998,"offset":7999},36,18857,{"type":27,"value":7374,"position":8001},{"start":8002,"end":8003},{"line":7990,"column":7998,"offset":7999},{"line":7990,"column":8004,"offset":8005},37,18858,{"type":31,"tagName":61,"properties":8007,"children":8008,"position":8014},{},[8009],{"type":27,"value":7769,"position":8010},{"start":8011,"end":8012},{"line":7990,"column":8004,"offset":8005},{"line":7990,"column":7642,"offset":8013},18869,{"start":8015,"end":8016},{"line":7990,"column":8004,"offset":8005},{"line":7990,"column":7642,"offset":8013},{"type":27,"value":8018,"position":8019}," sets how far back the two lines reach from the live bar.",{"start":8020,"end":8021},{"line":7990,"column":7642,"offset":8013},{"line":7990,"column":8022,"offset":8023},105,18926,{"start":8025,"end":8027},{"line":7990,"column":21,"offset":8026},18822,{"line":7990,"column":8022,"offset":8023},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8030,"children":8031,"position":8131},{},[8032,8048,8054,8067,8073,8086,8092,8105,8111,8124],{"type":31,"tagName":336,"properties":8033,"children":8034,"position":8043},{},[8035],{"type":27,"value":8036,"position":8037},"Other distances.",{"start":8038,"end":8041},{"line":8039,"column":39,"offset":8040},295,18931,{"line":8039,"column":7443,"offset":8042},18947,{"start":8044,"end":8046},{"line":8039,"column":7362,"offset":8045},18929,{"line":8039,"column":7469,"offset":8047},18949,{"type":27,"value":8049,"position":8050}," The bands and the wall reach are the constants ",{"start":8051,"end":8052},{"line":8039,"column":7469,"offset":8047},{"line":8039,"column":89,"offset":8053},18997,{"type":31,"tagName":61,"properties":8055,"children":8056,"position":8064},{},[8057],{"type":27,"value":8058,"position":8059},"NEAR_PCT",{"start":8060,"end":8061},{"line":8039,"column":89,"offset":8053},{"line":8039,"column":8062,"offset":8063},81,19007,{"start":8065,"end":8066},{"line":8039,"column":89,"offset":8053},{"line":8039,"column":8062,"offset":8063},{"type":27,"value":121,"position":8068},{"start":8069,"end":8070},{"line":8039,"column":8062,"offset":8063},{"line":8039,"column":8071,"offset":8072},83,19009,{"type":31,"tagName":61,"properties":8074,"children":8075,"position":8083},{},[8076],{"type":27,"value":8077,"position":8078},"MID_PCT",{"start":8079,"end":8080},{"line":8039,"column":8071,"offset":8072},{"line":8039,"column":8081,"offset":8082},92,19018,{"start":8084,"end":8085},{"line":8039,"column":8071,"offset":8072},{"line":8039,"column":8081,"offset":8082},{"type":27,"value":121,"position":8087},{"start":8088,"end":8089},{"line":8039,"column":8081,"offset":8082},{"line":8039,"column":8090,"offset":8091},94,19020,{"type":31,"tagName":61,"properties":8093,"children":8094,"position":8102},{},[8095],{"type":27,"value":8096,"position":8097},"FAR_PCT",{"start":8098,"end":8099},{"line":8039,"column":8090,"offset":8091},{"line":8039,"column":8100,"offset":8101},103,19029,{"start":8103,"end":8104},{"line":8039,"column":8090,"offset":8091},{"line":8039,"column":8100,"offset":8101},{"type":27,"value":7586,"position":8106},{"start":8107,"end":8108},{"line":8039,"column":8100,"offset":8101},{"line":8039,"column":8109,"offset":8110},108,19034,{"type":31,"tagName":61,"properties":8112,"children":8113,"position":8121},{},[8114],{"type":27,"value":8115,"position":8116},"WALL_PCT",{"start":8117,"end":8118},{"line":8039,"column":8109,"offset":8110},{"line":8039,"column":8119,"offset":8120},118,19044,{"start":8122,"end":8123},{"line":8039,"column":8109,"offset":8110},{"line":8039,"column":8119,"offset":8120},{"type":27,"value":8125,"position":8126},"; change one together with the row labels that name it, since a tile label is fixed text.",{"start":8127,"end":8128},{"line":8039,"column":8119,"offset":8120},{"line":8039,"column":8129,"offset":8130},207,19133,{"start":8132,"end":8134},{"line":8039,"column":21,"offset":8133},18927,{"line":8039,"column":8129,"offset":8130},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8137,"children":8138,"position":8181},{},[8139,8156,8161,8174],{"type":31,"tagName":336,"properties":8140,"children":8141,"position":8150},{},[8142],{"type":27,"value":8143,"position":8144},"The imbalance as a number.",{"start":8145,"end":8148},{"line":8146,"column":39,"offset":8147},296,19138,{"line":8146,"column":7635,"offset":8149},19164,{"start":8151,"end":8153},{"line":8146,"column":7362,"offset":8152},19136,{"line":8146,"column":8154,"offset":8155},33,19166,{"type":27,"value":7374,"position":8157},{"start":8158,"end":8159},{"line":8146,"column":8154,"offset":8155},{"line":8146,"column":69,"offset":8160},19167,{"type":31,"tagName":61,"properties":8162,"children":8163,"position":8171},{},[8164],{"type":27,"value":8165,"position":8166},"tile.value(\"Imbalance within 1%\", \"imbalance\", { format: \"%\", delta: \"imbalance_change\" })",{"start":8167,"end":8168},{"line":8146,"column":69,"offset":8160},{"line":8146,"column":8169,"offset":8170},126,19259,{"start":8172,"end":8173},{"line":8146,"column":69,"offset":8160},{"line":8146,"column":8169,"offset":8170},{"type":27,"value":8175,"position":8176}," puts the imbalance on the card with its change since the last bar's book in the capsule.",{"start":8177,"end":8178},{"line":8146,"column":8169,"offset":8170},{"line":8146,"column":8179,"offset":8180},215,19348,{"start":8182,"end":8184},{"line":8146,"column":21,"offset":8183},19134,{"line":8146,"column":8179,"offset":8180},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8187,"children":8188,"position":8268},{},[8189,8205,8211,8223,8230,8242,8249,8261],{"type":31,"tagName":336,"properties":8190,"children":8191,"position":8200},{},[8192],{"type":27,"value":8193,"position":8194},"Another corner.",{"start":8195,"end":8198},{"line":8196,"column":39,"offset":8197},297,19353,{"line":8196,"column":7943,"offset":8199},19368,{"start":8201,"end":8203},{"line":8196,"column":7362,"offset":8202},19351,{"line":8196,"column":400,"offset":8204},19370,{"type":27,"value":8206,"position":8207}," Change ",{"start":8208,"end":8209},{"line":8196,"column":400,"offset":8204},{"line":8196,"column":7687,"offset":8210},19378,{"type":31,"tagName":61,"properties":8212,"children":8213,"position":8220},{},[8214],{"type":27,"value":8215,"position":8216},"position: \"middle_left\"",{"start":8217,"end":8218},{"line":8196,"column":7687,"offset":8210},{"line":8196,"column":7522,"offset":8219},19403,{"start":8221,"end":8222},{"line":8196,"column":7687,"offset":8210},{"line":8196,"column":7522,"offset":8219},{"type":27,"value":8224,"position":8225}," to any of the nine anchors, ",{"start":8226,"end":8227},{"line":8196,"column":7522,"offset":8219},{"line":8196,"column":8228,"offset":8229},84,19432,{"type":31,"tagName":61,"properties":8231,"children":8232,"position":8239},{},[8233],{"type":27,"value":8234,"position":8235},"top_left",{"start":8236,"end":8237},{"line":8196,"column":8228,"offset":8229},{"line":8196,"column":8090,"offset":8238},19442,{"start":8240,"end":8241},{"line":8196,"column":8228,"offset":8229},{"line":8196,"column":8090,"offset":8238},{"type":27,"value":8243,"position":8244}," to ",{"start":8245,"end":8246},{"line":8196,"column":8090,"offset":8238},{"line":8196,"column":8247,"offset":8248},98,19446,{"type":31,"tagName":61,"properties":8250,"children":8251,"position":8258},{},[8252],{"type":27,"value":8253,"position":8254},"bottom_right",{"start":8255,"end":8256},{"line":8196,"column":8247,"offset":8248},{"line":8196,"column":7541,"offset":8257},19460,{"start":8259,"end":8260},{"line":8196,"column":8247,"offset":8248},{"line":8196,"column":7541,"offset":8257},{"type":27,"value":8262,"position":8263},".",{"start":8264,"end":8265},{"line":8196,"column":7541,"offset":8257},{"line":8196,"column":8266,"offset":8267},113,19461,{"start":8269,"end":8271},{"line":8196,"column":21,"offset":8270},19349,{"line":8196,"column":8266,"offset":8267},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8274,"children":8275,"position":8398},{},[8276,8292,8297,8309,8315,8328,8333,8346,8351,8367,8374,8392],{"type":31,"tagName":336,"properties":8277,"children":8278,"position":8287},{},[8279],{"type":27,"value":8280,"position":8281},"Change the look.",{"start":8282,"end":8285},{"line":8283,"column":39,"offset":8284},298,19466,{"line":8283,"column":7443,"offset":8286},19482,{"start":8288,"end":8290},{"line":8283,"column":7362,"offset":8289},19464,{"line":8283,"column":7469,"offset":8291},19484,{"type":27,"value":7374,"position":8293},{"start":8294,"end":8295},{"line":8283,"column":7469,"offset":8291},{"line":8283,"column":7365,"offset":8296},19485,{"type":31,"tagName":61,"properties":8298,"children":8299,"position":8306},{},[8300],{"type":27,"value":8301,"position":8302},"look:",{"start":8303,"end":8304},{"line":8283,"column":7365,"offset":8296},{"line":8283,"column":7635,"offset":8305},19492,{"start":8307,"end":8308},{"line":8283,"column":7365,"offset":8296},{"line":8283,"column":7635,"offset":8305},{"type":27,"value":8310,"position":8311}," takes any of the twelve shipped looks, ",{"start":8312,"end":8313},{"line":8283,"column":7635,"offset":8305},{"line":8283,"column":89,"offset":8314},19532,{"type":31,"tagName":61,"properties":8316,"children":8317,"position":8325},{},[8318],{"type":27,"value":8319,"position":8320},"default",{"start":8321,"end":8322},{"line":8283,"column":89,"offset":8314},{"line":8283,"column":8323,"offset":8324},80,19541,{"start":8326,"end":8327},{"line":8283,"column":89,"offset":8314},{"line":8283,"column":8323,"offset":8324},{"type":27,"value":8243,"position":8329},{"start":8330,"end":8331},{"line":8283,"column":8323,"offset":8324},{"line":8283,"column":8228,"offset":8332},19545,{"type":31,"tagName":61,"properties":8334,"children":8335,"position":8343},{},[8336],{"type":27,"value":8337,"position":8338},"classic",{"start":8339,"end":8340},{"line":8283,"column":8228,"offset":8332},{"line":8283,"column":8341,"offset":8342},93,19554,{"start":8344,"end":8345},{"line":8283,"column":8228,"offset":8332},{"line":8283,"column":8341,"offset":8342},{"type":27,"value":3577,"position":8347},{"start":8348,"end":8349},{"line":8283,"column":8341,"offset":8342},{"line":8283,"column":10,"offset":8350},19556,{"type":31,"tagName":102,"properties":8352,"children":8353,"position":8362},{"href":129},[8354],{"type":27,"value":132,"position":8355},{"start":8356,"end":8359},{"line":8283,"column":8357,"offset":8358},96,19557,{"line":8283,"column":8360,"offset":8361},101,19562,{"start":8363,"end":8364},{"line":8283,"column":10,"offset":8350},{"line":8283,"column":8365,"offset":8366},148,19609,{"type":27,"value":8368,"position":8369},"), and a word declared beside it still wins; the Look row on the indicator's Style page switches it without code (",{"start":8370,"end":8371},{"line":8283,"column":8365,"offset":8366},{"line":8283,"column":8372,"offset":8373},262,19723,{"type":31,"tagName":102,"properties":8375,"children":8377,"position":8387},{"href":8376},"../settings/style-page.md#the-look-row",[8378],{"type":27,"value":8379,"position":8380},"The Style page",{"start":8381,"end":8384},{"line":8283,"column":8382,"offset":8383},263,19724,{"line":8283,"column":8385,"offset":8386},277,19738,{"start":8388,"end":8389},{"line":8283,"column":8372,"offset":8373},{"line":8283,"column":8390,"offset":8391},318,19779,{"type":27,"value":7729,"position":8393},{"start":8394,"end":8395},{"line":8283,"column":8390,"offset":8391},{"line":8283,"column":8396,"offset":8397},320,19781,{"start":8399,"end":8401},{"line":8283,"column":21,"offset":8400},19462,{"line":8283,"column":8396,"offset":8397},{"type":27,"value":28},{"start":8404,"end":8405},{"line":7940,"column":21,"offset":7977},{"line":8283,"column":8396,"offset":8397},{"type":27,"value":28},{"type":31,"tagName":389,"properties":8408,"children":8409,"position":8419},{},[8410],{"type":27,"value":8411,"position":8412},"Run it",{"start":8413,"end":8416},{"line":8414,"column":397,"offset":8415},300,19786,{"line":8414,"column":8417,"offset":8418},10,19792,{"start":8420,"end":8422},{"line":8414,"column":21,"offset":8421},19783,{"line":8414,"column":8417,"offset":8418},{"type":27,"value":28},{"type":31,"tagName":8425,"properties":8426,"children":8427,"position":8586},"ol",{},[8428,8429,8511,8512,8549,8550,8585],{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8430,"children":8431,"position":8507},{},[8432,8441,8458,8465,8480,8487,8501],{"type":27,"value":8433,"position":8434},"In the editor's Explorer, press the ",{"start":8435,"end":8438},{"line":8436,"column":397,"offset":8437},302,19797,{"line":8436,"column":8439,"offset":8440},40,19833,{"type":31,"tagName":336,"properties":8442,"children":8443,"position":8453},{},[8444],{"type":27,"value":8445,"position":8446},"Templates",{"start":8447,"end":8450},{"line":8436,"column":8448,"offset":8449},42,19835,{"line":8436,"column":8451,"offset":8452},51,19844,{"start":8454,"end":8455},{"line":8436,"column":8439,"offset":8440},{"line":8436,"column":8456,"offset":8457},53,19846,{"type":27,"value":8459,"position":8460}," icon (\"Browse starter templates\") and pick ",{"start":8461,"end":8462},{"line":8436,"column":8456,"offset":8457},{"line":8436,"column":8463,"offset":8464},97,19890,{"type":31,"tagName":336,"properties":8466,"children":8467,"position":8475},{},[8468],{"type":27,"value":340,"position":8469},{"start":8470,"end":8473},{"line":8436,"column":8471,"offset":8472},99,19892,{"line":8436,"column":8266,"offset":8474},19906,{"start":8476,"end":8477},{"line":8436,"column":8463,"offset":8464},{"line":8436,"column":8478,"offset":8479},115,19908,{"type":27,"value":8481,"position":8482}," under ",{"start":8483,"end":8484},{"line":8436,"column":8478,"offset":8479},{"line":8436,"column":8485,"offset":8486},122,19915,{"type":31,"tagName":336,"properties":8488,"children":8489,"position":8497},{},[8490],{"type":27,"value":364,"position":8491},{"start":8492,"end":8494},{"line":8436,"column":7763,"offset":8493},19917,{"line":8436,"column":8495,"offset":8496},128,19921,{"start":8498,"end":8499},{"line":8436,"column":8485,"offset":8486},{"line":8436,"column":24,"offset":8500},19923,{"type":27,"value":8262,"position":8502},{"start":8503,"end":8504},{"line":8436,"column":24,"offset":8500},{"line":8436,"column":8505,"offset":8506},131,19924,{"start":8508,"end":8510},{"line":8436,"column":21,"offset":8509},19794,{"line":8436,"column":8505,"offset":8506},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8513,"children":8514,"position":8545},{},[8515,8523,8539],{"type":27,"value":8516,"position":8517},"Press ",{"start":8518,"end":8521},{"line":8519,"column":397,"offset":8520},303,19928,{"line":8519,"column":8417,"offset":8522},19934,{"type":31,"tagName":336,"properties":8524,"children":8525,"position":8535},{},[8526],{"type":27,"value":8527,"position":8528},"Run",{"start":8529,"end":8532},{"line":8519,"column":8530,"offset":8531},12,19936,{"line":8519,"column":8533,"offset":8534},15,19939,{"start":8536,"end":8537},{"line":8519,"column":8417,"offset":8522},{"line":8519,"column":58,"offset":8538},19941,{"type":27,"value":8540,"position":8541}," on a crypto chart: the cockpit card appears at the middle left and the two walls draw on price.",{"start":8542,"end":8543},{"line":8519,"column":58,"offset":8538},{"line":8519,"column":8266,"offset":8544},20037,{"start":8546,"end":8548},{"line":8519,"column":21,"offset":8547},19925,{"line":8519,"column":8266,"offset":8544},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8551,"children":8552,"position":8581},{},[8553,8561,8574],{"type":27,"value":8554,"position":8555},"At the editor's Console prompt, type ",{"start":8556,"end":8558},{"line":7398,"column":397,"offset":8557},20041,{"line":7398,"column":8559,"offset":8560},41,20078,{"type":31,"tagName":61,"properties":8562,"children":8563,"position":8571},{},[8564],{"type":27,"value":8565,"position":8566},"outputs",{"start":8567,"end":8568},{"line":7398,"column":8559,"offset":8560},{"line":7398,"column":8569,"offset":8570},50,20087,{"start":8572,"end":8573},{"line":7398,"column":8559,"offset":8560},{"line":7398,"column":8569,"offset":8570},{"type":27,"value":8575,"position":8576}," to read the newest value of every output: the imbalance and its change, the bid share, the six depth sums and the two walls with their sizes.",{"start":8577,"end":8578},{"line":7398,"column":8569,"offset":8570},{"line":7398,"column":8579,"offset":8580},192,20229,{"start":8582,"end":8584},{"line":7398,"column":21,"offset":8583},20038,{"line":7398,"column":8579,"offset":8580},{"type":27,"value":28},{"start":8587,"end":8588},{"line":8436,"column":21,"offset":8509},{"line":7398,"column":8579,"offset":8580},{"type":27,"value":28},{"type":31,"tagName":389,"properties":8591,"children":8592,"position":8601},{},[8593],{"type":27,"value":8594,"position":8595},"Concepts used",{"start":8596,"end":8599},{"line":8597,"column":397,"offset":8598},306,20234,{"line":8597,"column":58,"offset":8600},20247,{"start":8602,"end":8604},{"line":8597,"column":21,"offset":8603},20231,{"line":8597,"column":58,"offset":8600},{"type":27,"value":28},{"type":31,"tagName":7835,"properties":8607,"children":8608,"position":8886},{},[8609,8610,8682,8683,8730,8731,8759,8760,8827,8828,8856,8857,8885],{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8611,"children":8612,"position":8678},{},[8613,8630,8636,8652,8658,8671],{"type":31,"tagName":102,"properties":8614,"children":8615,"position":8624},{"href":104},[8616],{"type":27,"value":107,"position":8617},{"start":8618,"end":8621},{"line":8619,"column":397,"offset":8620},308,20252,{"line":8619,"column":8622,"offset":8623},13,20261,{"start":8625,"end":8627},{"line":8619,"column":7362,"offset":8626},20251,{"line":8619,"column":8628,"offset":8629},64,20312,{"type":27,"value":7586,"position":8631},{"start":8632,"end":8633},{"line":8619,"column":8628,"offset":8629},{"line":8619,"column":8634,"offset":8635},69,20317,{"type":31,"tagName":102,"properties":8637,"children":8638,"position":8647},{"href":153},[8639],{"type":27,"value":156,"position":8640},{"start":8641,"end":8644},{"line":8619,"column":8642,"offset":8643},70,20318,{"line":8619,"column":8645,"offset":8646},86,20334,{"start":8648,"end":8649},{"line":8619,"column":8634,"offset":8635},{"line":8619,"column":8650,"offset":8651},144,20392,{"type":27,"value":8653,"position":8654}," for ",{"start":8655,"end":8656},{"line":8619,"column":8650,"offset":8651},{"line":8619,"column":40,"offset":8657},20397,{"type":31,"tagName":61,"properties":8659,"children":8660,"position":8668},{},[8661],{"type":27,"value":8662,"position":8663},"render.hud",{"start":8664,"end":8665},{"line":8619,"column":40,"offset":8657},{"line":8619,"column":8666,"offset":8667},161,20409,{"start":8669,"end":8670},{"line":8619,"column":40,"offset":8657},{"line":8619,"column":8666,"offset":8667},{"type":27,"value":8672,"position":8673},", the four tiles, the headline and the pill's colour ladder",{"start":8674,"end":8675},{"line":8619,"column":8666,"offset":8667},{"line":8619,"column":8676,"offset":8677},220,20468,{"start":8679,"end":8681},{"line":8619,"column":21,"offset":8680},20249,{"line":8619,"column":8676,"offset":8677},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8684,"children":8685,"position":8726},{},[8686,8702,8708,8720],{"type":31,"tagName":102,"properties":8687,"children":8688,"position":8696},{"href":129},[8689],{"type":27,"value":132,"position":8690},{"start":8691,"end":8694},{"line":8692,"column":397,"offset":8693},309,20472,{"line":8692,"column":396,"offset":8695},20477,{"start":8697,"end":8699},{"line":8692,"column":7362,"offset":8698},20471,{"line":8692,"column":8700,"offset":8701},56,20524,{"type":27,"value":8653,"position":8703},{"start":8704,"end":8705},{"line":8692,"column":8700,"offset":8701},{"line":8692,"column":8706,"offset":8707},61,20529,{"type":31,"tagName":61,"properties":8709,"children":8710,"position":8717},{},[8711],{"type":27,"value":85,"position":8712},{"start":8713,"end":8714},{"line":8692,"column":8706,"offset":8707},{"line":8692,"column":8715,"offset":8716},78,20546,{"start":8718,"end":8719},{"line":8692,"column":8706,"offset":8707},{"line":8692,"column":8715,"offset":8716},{"type":27,"value":8721,"position":8722}," and what it draws for each tile kind",{"start":8723,"end":8724},{"line":8692,"column":8715,"offset":8716},{"line":8692,"column":8478,"offset":8725},20583,{"start":8727,"end":8729},{"line":8692,"column":21,"offset":8728},20469,{"line":8692,"column":8478,"offset":8725},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8732,"children":8733,"position":8755},{},[8734,8749],{"type":31,"tagName":102,"properties":8735,"children":8736,"position":8744},{"href":8376},[8737],{"type":27,"value":8379,"position":8738},{"start":8739,"end":8741},{"line":7450,"column":397,"offset":8740},20587,{"line":7450,"column":8742,"offset":8743},18,20601,{"start":8745,"end":8747},{"line":7450,"column":7362,"offset":8746},20586,{"line":7450,"column":7652,"offset":8748},20642,{"type":27,"value":8750,"position":8751}," for the Look row that switches the look without code",{"start":8752,"end":8753},{"line":7450,"column":7652,"offset":8748},{"line":7450,"column":7541,"offset":8754},20695,{"start":8756,"end":8758},{"line":7450,"column":21,"offset":8757},20584,{"line":7450,"column":7541,"offset":8754},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8761,"children":8762,"position":8823},{},[8763,8778,8783,8798,8804,8816],{"type":31,"tagName":102,"properties":8764,"children":8765,"position":8773},{"href":218},[8766],{"type":27,"value":221,"position":8767},{"start":8768,"end":8771},{"line":8769,"column":397,"offset":8770},311,20699,{"line":8769,"column":7344,"offset":8772},20711,{"start":8774,"end":8776},{"line":8769,"column":7362,"offset":8775},20698,{"line":8769,"column":8451,"offset":8777},20746,{"type":27,"value":7586,"position":8779},{"start":8780,"end":8781},{"line":8769,"column":8451,"offset":8777},{"line":8769,"column":8700,"offset":8782},20751,{"type":31,"tagName":102,"properties":8784,"children":8785,"position":8794},{"href":242},[8786],{"type":27,"value":245,"position":8787},{"start":8788,"end":8791},{"line":8769,"column":8789,"offset":8790},57,20752,{"line":8769,"column":8792,"offset":8793},67,20762,{"start":8795,"end":8796},{"line":8769,"column":8700,"offset":8782},{"line":8769,"column":8485,"offset":8797},20817,{"type":27,"value":8653,"position":8799},{"start":8800,"end":8801},{"line":8769,"column":8485,"offset":8797},{"line":8769,"column":8802,"offset":8803},127,20822,{"type":31,"tagName":61,"properties":8805,"children":8806,"position":8813},{},[8807],{"type":27,"value":180,"position":8808},{"start":8809,"end":8810},{"line":8769,"column":8802,"offset":8803},{"line":8769,"column":8811,"offset":8812},139,20834,{"start":8814,"end":8815},{"line":8769,"column":8802,"offset":8803},{"line":8769,"column":8811,"offset":8812},{"type":27,"value":8817,"position":8818},", its row shape and its order",{"start":8819,"end":8820},{"line":8769,"column":8811,"offset":8812},{"line":8769,"column":8821,"offset":8822},168,20863,{"start":8824,"end":8826},{"line":8769,"column":21,"offset":8825},20696,{"line":8769,"column":8821,"offset":8822},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8829,"children":8830,"position":8852},{},[8831,8846],{"type":31,"tagName":102,"properties":8832,"children":8833,"position":8841},{"href":292},[8834],{"type":27,"value":295,"position":8835},{"start":8836,"end":8839},{"line":8837,"column":397,"offset":8838},312,20867,{"line":8837,"column":7437,"offset":8840},20882,{"start":8842,"end":8844},{"line":8837,"column":7362,"offset":8843},20866,{"line":8837,"column":8628,"offset":8845},20927,{"type":27,"value":8847,"position":8848}," for line handles made once and set on the live bar",{"start":8849,"end":8850},{"line":8837,"column":8628,"offset":8845},{"line":8837,"column":8478,"offset":8851},20978,{"start":8853,"end":8855},{"line":8837,"column":21,"offset":8854},20864,{"line":8837,"column":8478,"offset":8851},{"type":27,"value":28},{"type":31,"tagName":7840,"properties":8858,"children":8859,"position":8881},{},[8860,8875],{"type":31,"tagName":102,"properties":8861,"children":8862,"position":8870},{"href":267},[8863],{"type":27,"value":270,"position":8864},{"start":8865,"end":8868},{"line":8866,"column":397,"offset":8867},313,20982,{"line":8866,"column":8530,"offset":8869},20990,{"start":8871,"end":8873},{"line":8866,"column":7362,"offset":8872},20981,{"line":8866,"column":8448,"offset":8874},21020,{"type":27,"value":8876,"position":8877}," for data-only outputs and string slots",{"start":8878,"end":8879},{"line":8866,"column":8448,"offset":8874},{"line":8866,"column":8062,"offset":8880},21059,{"start":8882,"end":8884},{"line":8866,"column":21,"offset":8883},20979,{"line":8866,"column":8062,"offset":8880},{"type":27,"value":28},{"start":8887,"end":8888},{"line":8619,"column":21,"offset":8680},{"line":8866,"column":8062,"offset":8880},{"quirksMode":8890},false,{"start":8892,"end":8893},{"line":21,"column":21,"offset":22},{"line":8894,"column":21,"offset":8895},314,21060,1791265161120]