[{"data":1,"prerenderedAt":7479},["ShallowReactive",2],{"wrun-open-editor-url":3,"indicators:cookbook/session-oi-levels":4},"https://openmarket.xyz/chart/#wrun-open=v1",{"slug":5,"filePath":6,"frontmatter":7,"rawMarkdown":12,"tree":13},"cookbook/session-oi-levels","cookbook/session-oi-levels.md",{"title":8,"description":9,"order":10,"section":11},"Session OI Levels","Where open interest was built and unwound in each day, as a profile anchored to the day's own time span. Each bar's change in open interest is spread over the…",80,"cookbook","---\ntitle: \"Session OI Levels\"\ndescription: \"Where open interest was built and unwound in each day, as a profile anchored to the day's own time span. Each bar's change in open interest is spread over the…\"\norder: 80\nsection: \"cookbook\"\n---\n\n\u003C!-- source: docs/indicators/cookbook/session-oi-levels.md; generated by packages/cli/scripts/gen-indicator-docs.ts, do not edit -->\n\n# Session OI Levels\n\n![Open-interest profiles anchored to each day's span with the bar change below](/wrun/images/session-oi-levels.png)\n\nWhere open interest was built and unwound in each day, as a profile anchored to the day's own time span. Each bar's change in open interest is spread over the price rows its range covered, so a row grows where positions were opened or closed while price traded there: green where they were opened on balance, red where they were closed, slate where nothing moved. Every day gets its own profile, its rows scaled to that day's biggest and drawn from the day's first bar, and hovering a row reads the open interest moved there. Under the chart, the bar's open-interest change as a histogram. The trader sees the prices the positioning was decided at, day by day.\n\nThe parts are an `oi.close` feed input beside the chart's candles ([Data sources](../core-concepts/data-sources.md)), a frame of time spans feeding `plot.levels` with `span: \"time\"` ([Drawing primitives](../presentation/cards-frames-panels.md)), one histogram output under the chart ([Plotting](../presentation/plotting.md)), and a label handle for the one sentence shown on a market without open interest ([Drawing objects](../presentation/drawing-objects.md)). This is also the `session-oi-levels` template: the **Session OI Levels** card under **On price** in the editor's starter list, and it compiles as written.\n\n## The wrun indicator\n\n```typescript sample=session-oi-levels\n// Session OI Levels: where open interest was built and unwound in each day, as a profile anchored to the day's own\n// time span. Each bar's change in open interest is spread over the price rows its range covered, so a row grows where\n// positions were opened (green) or closed (red) while price traded there; every day gets its own profile, its rows\n// scaled to that day's biggest row and drawn by the chart from the day's first bar. The bar's open-interest change\n// rides along as a histogram under the chart.\n\nsection(\"Sessions\"); // the dialog's one section\nparam.int(\"sessions\", 10, { min: 2, max: 30, label: \"Days shown\", description: \"Days drawn, the newest last\" });\nparam.int(\"rows\", 32, { min: 8, max: 64, label: \"Rows per day\", description: \"Price rows per day\" });\ninput(\"close\", ohlcv.close); // the primary input: the chart's own candles define the grid\ninput(\"oi\", oi.close, { missing: \"nan\" }); // open interest at the bar's close; a bar without a reading, or a market without open interest, reads NaN\noutput(\"oi_change\", histogram, lower, { color_by: \"oi_tone\", colors: [\"#f87171\", \"#34d399\"], description: \"Open interest change on the bar\" }); // green where positions were opened, red where they were closed\noutput(\"oi_tone\", none, overlay, { description: \"1 while open interest rose on the bar, 0 while it fell\" }); // data-only: the histogram's colour index\nconst oi_spans = frame(\"oi_spans\", { max_bytes: 65536 }); // one span per day: its start and end, a price per row, the open interest moved on the row, a colour per row\nplot.levels({ name: \"oi_by_price\", frame: oi_spans, dock: \"left\", span: \"time\", width_frac: 0.5, labels: false, color: \"#38bdf8\", opacity: 0.85, format: \"si\", hover: true }); // each day's profile grows from the day's first bar; hover a row for the open interest moved there\nstring(\"note\", { max_bytes: 40 }); // the one sentence shown when the market has no open interest\nhandles.label({ anchor: \"top_right\", align: \"right\", color: \"#94a3b8\", size: 12, style: \"plain\", safe_area: true }); // that sentence: plain slate words at the pane's top right, clear of the chart's buttons\n\nconst MAX_BARS = 8192; const MAX_ROWS = 64; const MAX_DAYS = 30; // the bar ring (8192 bars is 28 days of 5m bars) and the finished days kept, for the largest settings\nconst barT = new StaticArray\u003Cf64>(MAX_BARS); const barLo = new StaticArray\u003Cf64>(MAX_BARS); const barHi = new StaticArray\u003Cf64>(MAX_BARS); const barOi = new StaticArray\u003Cf64>(MAX_BARS); // each ring bar's open time, price span and open-interest change\nconst dayStart = new StaticArray\u003Cf64>(MAX_DAYS + 1); const dayLo = new StaticArray\u003Cf64>(MAX_DAYS + 1); const dayStep = new StaticArray\u003Cf64>(MAX_DAYS + 1); // each folded day's span start (NaN: it draws nothing), bottom and row height; slot MAX_DAYS is the open day\nconst dayNet = new StaticArray\u003Cf64>((MAX_DAYS + 1) * MAX_ROWS); const dayMoved = new StaticArray\u003Cf64>((MAX_DAYS + 1) * MAX_ROWS); // per day and row: the net open-interest change, and the open interest moved, built or unwound\nconst note = draw.label(0); // the one slate sentence; a handle allocates once at module load\nlet sessions = 10; let rows = 32; // the params, read in onStart()\nlet seq = -1; let openSeq = 0; let openDay: i64 = -1; let doneHead = -1; let doneCount = 0; // the bars counted (bar s sits in ring slot s % MAX_BARS), the open day and its first bar, the finished days' ring: its newest slot and the days in it\nlet prevOi: f64 = NaN; // the last open-interest reading\nlet t: f64 = NaN; // this bar's open time\n\nfunction dayOf(time: f64): i64 { return i64(Math.floor(time / 86400.0)); } // the UTC day number of an open time\nfunction priceDecimals(step: f64): i32 { // enough decimals that the rounded row prices stay evenly spaced (the docked grid is contiguous only within 0.1% of its step)\n  const d = i32(Math.ceil(Math.log(2000.0 / step) / Math.LN10)); return d \u003C 2 ? 2 : d > 9 ? 9 : d;\n}\n\n// ── One day's profile: its bars folded into `rows` price rows across the day's span, kept in a day slot ──\nfunction spread(a: f64, b: f64, amount: f64, gridLo: f64, width: f64, base: i32): void { // [a, b]'s open-interest change over the rows it overlaps, in proportion\n  let first = i32(Math.floor((a - gridLo) / width)); let last = i32(Math.floor((b - gridLo) / width));\n  if (first \u003C 0) first = 0; if (last > rows - 1) last = rows - 1; if (first > rows - 1) first = rows - 1; if (last \u003C 0) last = 0;\n  if (first >= last || b - a \u003C= 0.0) { dayNet[base + first] += amount; dayMoved[base + first] += Math.abs(amount); return; } // one row, or a bar thinner than the grid\n  for (let k = first; k \u003C= last; k += 1) {\n    const cellLo = gridLo + f64(k) * width; const cellHi = cellLo + width;\n    const overlap = Math.min(b, cellHi) - Math.max(a, cellLo);\n    if (overlap > 0.0) { const share = (amount * overlap) / (b - a); dayNet[base + k] += share; dayMoved[base + k] += Math.abs(share); }\n  }\n}\nfunction foldDay(from: i32, to: i32, slot: i32): void { // the bars from..to (counted, oldest first) are one day: its rows into day slot `slot`\n  if (to - from >= MAX_BARS) from = to - MAX_BARS + 1; // bars older than the ring are gone\n  let lo = Infinity; let hi = -Infinity;\n  for (let s = from; s \u003C= to; s += 1) { const i = s % MAX_BARS; if (barLo[i] \u003C lo) lo = barLo[i]; if (barHi[i] > hi) hi = barHi[i]; }\n  dayStart[slot] = NaN;\n  if (!(hi > lo)) return; // a day with no price span\n  const rowHeight = (hi - lo) / f64(rows); const base = slot * MAX_ROWS;\n  for (let r = 0; r \u003C rows; r += 1) { dayNet[base + r] = 0.0; dayMoved[base + r] = 0.0; }\n  let moved = 0.0;\n  for (let s = from; s \u003C= to; s += 1) {\n    const i = s % MAX_BARS; const change = barOi[i];\n    if (isNaN(change) || change == 0.0) continue;\n    spread(barLo[i], barHi[i], change, lo, rowHeight, base); moved += Math.abs(change);\n  }\n  if (moved \u003C= 0.0) return; // a day with no open-interest change\n  dayStart[slot] = f64(dayOf(barT[from % MAX_BARS])) * 86400.0; dayLo[slot] = lo; dayStep[slot] = rowHeight; // the span: the UTC day the bars belong to, in epoch seconds\n}\nfunction writeDay(slot: i32, first: bool): bool { // one folded day appended to the frame as a span; false when the day draws nothing\n  const start = dayStart[slot]; if (isNaN(start)) return false;\n  const lo = dayLo[slot]; const rowHeight = dayStep[slot]; const base = slot * MAX_ROWS; const decimals = priceDecimals(rowHeight);\n  if (!first) fb_text(\",\");\n  fb_text(\"{\\\"start\\\":\"); fb_num(start); fb_text(\",\\\"end\\\":\"); fb_num(start + 86400.0);\n  fb_text(\",\\\"prices\\\":[\"); // row centres, strictly increasing\n  for (let r = 0; r \u003C rows; r += 1) { if (r > 0) fb_text(\",\"); fb_f64(lo + (f64(r) + 0.5) * rowHeight, decimals); }\n  fb_text(\"],\\\"values\\\":[\"); // the open interest moved on the row (0 where nothing moved, so the grid stays whole)\n  for (let r = 0; r \u003C rows; r += 1) { if (r > 0) fb_text(\",\"); fb_f64(dayMoved[base + r], 0); }\n  fb_text(\"],\\\"colors\\\":[\"); // green where positions were opened on balance, red where they were closed, slate where nothing moved\n  for (let r = 0; r \u003C rows; r += 1) { if (r > 0) fb_text(\",\"); const net = dayNet[base + r]; fb_text(net > 0.0 ? \"\\\"#34d399\\\"\" : net \u003C 0.0 ? \"\\\"#f87171\\\"\" : \"\\\"#64748b\\\"\"); }\n  fb_text(\"]}\");\n  return true;\n}\nfunction writeSpans(): void { // the newest `sessions` days, oldest first, as one spans frame: the finished days as folded when they ended, the open day folded now\n  foldDay(openSeq, seq, MAX_DAYS); // only the open day changes on a new bar or a live tick, so it is the one day folded again\n  fb_clear(); fb_text(\"{\\\"spans\\\":[\");\n  let written = 0; const kept = doneCount \u003C sessions - 1 ? doneCount : sessions - 1;\n  for (let k = kept - 1; k >= 0; k -= 1) if (writeDay((doneHead + MAX_DAYS - k) % MAX_DAYS, written == 0)) written += 1;\n  if (writeDay(MAX_DAYS, written == 0)) written += 1;\n  fb_text(\"]}\");\n  if (written > 0) writeFrameBuffer(oi_spans); // an unwritten frame leaves the profiles absent; an empty spans list would be refused\n}\n\n// onStart() runs once before the first bar: read the params.\nfunction onStart(): void { sessions = i32(p_sessions()); rows = i32(p_rows()); }\n// onBar() runs once per bar: the bar's open-interest change against the last reading, the bar into the ring, a finished\n// day folded once where the UTC day changes, the change as a number on every bar, and the day profiles on the live bar only.\nfunction onBar(): void {\n  t = bar.time(); const oiNow = in_oi(); const lo = bar.low(); const hi = bar.high();\n  const change = isNaN(oiNow) || isNaN(prevOi) ? NaN : oiNow - prevOi; // unknown until two readings exist\n  if (!isNaN(oiNow)) prevOi = oiNow;\n  if (bar.isLast() && isNaN(prevOi)) { sb_clear(); sb_text(\"No open interest on this market\"); note.set(16.0, 12.0).text(str_note_sb); } // no reading on any bar (spot, FX): one sentence, not an empty pane\n  if (isNaN(t) || !(hi >= lo)) return; // a bar with no span draws nothing and is not counted\n  const day = dayOf(t);\n  if (day != openDay) { // a new UTC day: the day before is finished, folded once into the finished ring and kept as it ended\n    if (openDay >= 0) { doneHead = (doneHead + 1) % MAX_DAYS; if (doneCount \u003C MAX_DAYS) doneCount += 1; foldDay(openSeq, seq, doneHead); }\n    openDay = day; openSeq = seq + 1;\n  }\n  seq += 1; const slot = seq % MAX_BARS; barT[slot] = t; barLo[slot] = lo; barHi[slot] = hi; barOi[slot] = change;\n  out_oi_change(change);\n  out_oi_tone(isNaN(change) ? NaN : change >= 0.0 ? 1.0 : 0.0);\n  if (bar.isLast()) writeSpans();\n}\n```\n\n## How it works\n\n**The change, not the level.** `input(\"oi\", oi.close, { missing: \"nan\" })` reads open interest at each bar's close; the bar's change is the difference from the last reading (NaN until two readings exist, and on a market without open interest). `oi_change` is that number as a histogram under the chart, green while open interest rose and red while it fell.\n\n**Rows per day.** Every bar lands in a ring with its open time, its high and low and its change. Where the UTC day changes, `foldDay` folds the day that just ended once: it finds the day's price span, splits it into `rows` (32) rows, and spreads each bar's change over the rows its range overlapped, in proportion; a row keeps the open interest moved on it (built or unwound, always positive: the bar's length) and the net change (its colour), and the folded day waits in a ring of 30 finished days. On the live bar only the open day is folded again, so a live tick costs one day's bars, never every day's. A day with no span or no change is left out.\n\n**One span per day.** `frame(\"oi_spans\")` carries `{ \"spans\": [{ \"start\", \"end\", \"prices\", \"values\", \"colors\" }, ...] }`, one entry per day with its bounds in epoch seconds (the newest `sessions` (10) days: the finished ones as they were folded, then the open day), and feeds `plot.levels({ span: \"time\" })`: the chart draws every span's rows from the day's first bar, growing right across `width_frac` (0.5) of the day's width, each day scaled to its own biggest row. `hover: true` with `format: \"si\"` reads a row's open interest as `1.2M` in the hover card. The frame is built with the generated `fb_*` writer, so the live bar allocates nothing.\n\n## Where it runs\n\nPerpetual futures with an open-interest feed: Binance Futures, Hyperliquid and the other venues that serve `oi` ([Data sources](../core-concepts/data-sources.md) lists them). A day is folded from the ring of the newest 8192 bars when it ends, and the ring holds a whole day down to 11-second bars, so a 1m chart shows its `sessions` days whole, as far back as the chart has loaded, like a 5m one.\n\n## When data is missing\n\nSpot, stocks, FX and prediction markets carry no open interest: every bar's change reads NaN, the histogram stays empty and no profile is drawn (nothing moved), and one line of words shows at the top right of the chart, `No open interest on this market`, in plain slate: the `note` label handle, written on the live bar while no bar has brought a reading, pinned to the pane's top right corner, right-aligned and `safe_area: true`, so it clears the chart's own buttons. A bar without a reading keeps the last one, so the next reading's change covers both bars. The first bar of a run has no change.\n\n## Customize it\n\n- **More days, finer rows.** `sessions` up to 30 and `rows` up to 64 (64 rows across 30 days is 1920 rows, inside the frame's 65536 bytes).\n- **Grow from the right.** `dock: \"right\"` grows each day's rows from the day's last bar instead.\n- **Rows with labels.** `labels: true` prints each row's value beside it (`format: \"si\"` keeps them short); `thickness_px` caps the rows on a coarse grid.\n\n## Run it\n\n1. In the editor's Explorer, press the **Templates** icon (\"Browse starter templates\") and pick **Session OI Levels** under **On price**.\n2. Press **Run** on a perpetual chart such as BTCUSDT on Binance Futures at 15m: a profile grows inside each of the last ten days and the open-interest change appears under the chart.\n3. Hover a row for the open interest moved there; at the editor's Console prompt, type `oi_change` to read the newest bar's change.\n\n## Concepts used\n\n- [Data sources](../core-concepts/data-sources.md) for the `oi` feed and the `missing: \"nan\"` policy\n- [Drawing primitives](../presentation/cards-frames-panels.md) for frames, `plot.levels` and the `span: \"time\"` frame shape\n- [Plotting](../presentation/plotting.md) for the histogram output and its colour index\n",{"type":14,"children":15,"data":7472,"position":7474},"root",[16,26,29,30,51,52,67,68,312,313,331,332,6331,6332,6348,6349,6421,6422,6489,6490,6697,6698,6714,6715,6789,6790,6805,6806,6880,6881,6896,6897,7109,7110,7126,7127,7286,7287,7301,7302],{"type":17,"value":18,"position":19},"comment"," source: docs/indicators/cookbook/session-oi-levels.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},133,132,{"type":27,"value":28},"text","\n",{"type":27,"value":28},{"type":31,"tagName":32,"properties":33,"children":34,"position":48},"element","p",{},[35],{"type":31,"tagName":36,"properties":37,"children":40,"position":41},"img",{"src":38,"alt":39},"/wrun/images/session-oi-levels.png","Open-interest profiles anchored to each day's span with the bar change below",[],{"start":42,"end":45},{"line":43,"column":21,"offset":44},5,155,{"line":43,"column":46,"offset":47},116,270,{"start":49,"end":50},{"line":43,"column":21,"offset":44},{"line":43,"column":46,"offset":47},{"type":27,"value":28},{"type":31,"tagName":32,"properties":53,"children":54,"position":64},{},[55],{"type":27,"value":56,"position":57},"Where open interest was built and unwound in each day, as a profile anchored to the day's own time span. Each bar's change in open interest is spread over the price rows its range covered, so a row grows where positions were opened or closed while price traded there: green where they were opened on balance, red where they were closed, slate where nothing moved. Every day gets its own profile, its rows scaled to that day's biggest and drawn from the day's first bar, and hovering a row reads the open interest moved there. Under the chart, the bar's open-interest change as a histogram. The trader sees the prices the positioning was decided at, day by day.",{"start":58,"end":61},{"line":59,"column":21,"offset":60},7,272,{"line":59,"column":62,"offset":63},661,932,{"start":65,"end":66},{"line":59,"column":21,"offset":60},{"line":59,"column":62,"offset":63},{"type":27,"value":28},{"type":31,"tagName":32,"properties":69,"children":70,"position":309},{},[71,80,94,101,119,126,139,146,159,166,184,191,209,216,234,241,254,261,278,285,302],{"type":27,"value":72,"position":73},"The parts are an ",{"start":74,"end":77},{"line":75,"column":21,"offset":76},9,934,{"line":75,"column":78,"offset":79},18,951,{"type":31,"tagName":81,"properties":82,"children":83,"position":91},"code",{},[84],{"type":27,"value":85,"position":86},"oi.close",{"start":87,"end":88},{"line":75,"column":78,"offset":79},{"line":75,"column":89,"offset":90},28,961,{"start":92,"end":93},{"line":75,"column":78,"offset":79},{"line":75,"column":89,"offset":90},{"type":27,"value":95,"position":96}," feed input beside the chart's candles (",{"start":97,"end":98},{"line":75,"column":89,"offset":90},{"line":75,"column":99,"offset":100},68,1001,{"type":31,"tagName":102,"properties":103,"children":105,"position":115},"a",{"href":104},"../core-concepts/data-sources.md",[106],{"type":27,"value":107,"position":108},"Data sources",{"start":109,"end":112},{"line":75,"column":110,"offset":111},69,1002,{"line":75,"column":113,"offset":114},81,1014,{"start":116,"end":117},{"line":75,"column":99,"offset":100},{"line":75,"column":46,"offset":118},1049,{"type":27,"value":120,"position":121},"), a frame of time spans feeding ",{"start":122,"end":123},{"line":75,"column":46,"offset":118},{"line":75,"column":124,"offset":125},149,1082,{"type":31,"tagName":81,"properties":127,"children":128,"position":136},{},[129],{"type":27,"value":130,"position":131},"plot.levels",{"start":132,"end":133},{"line":75,"column":124,"offset":125},{"line":75,"column":134,"offset":135},162,1095,{"start":137,"end":138},{"line":75,"column":124,"offset":125},{"line":75,"column":134,"offset":135},{"type":27,"value":140,"position":141}," with ",{"start":142,"end":143},{"line":75,"column":134,"offset":135},{"line":75,"column":144,"offset":145},168,1101,{"type":31,"tagName":81,"properties":147,"children":148,"position":156},{},[149],{"type":27,"value":150,"position":151},"span: \"time\"",{"start":152,"end":153},{"line":75,"column":144,"offset":145},{"line":75,"column":154,"offset":155},182,1115,{"start":157,"end":158},{"line":75,"column":144,"offset":145},{"line":75,"column":154,"offset":155},{"type":27,"value":160,"position":161}," (",{"start":162,"end":163},{"line":75,"column":154,"offset":155},{"line":75,"column":164,"offset":165},184,1117,{"type":31,"tagName":102,"properties":167,"children":169,"position":179},{"href":168},"../presentation/cards-frames-panels.md",[170],{"type":27,"value":171,"position":172},"Drawing primitives",{"start":173,"end":176},{"line":75,"column":174,"offset":175},185,1118,{"line":75,"column":177,"offset":178},203,1136,{"start":180,"end":181},{"line":75,"column":164,"offset":165},{"line":75,"column":182,"offset":183},244,1177,{"type":27,"value":185,"position":186},"), one histogram output under the chart (",{"start":187,"end":188},{"line":75,"column":182,"offset":183},{"line":75,"column":189,"offset":190},285,1218,{"type":31,"tagName":102,"properties":192,"children":194,"position":204},{"href":193},"../presentation/plotting.md",[195],{"type":27,"value":196,"position":197},"Plotting",{"start":198,"end":201},{"line":75,"column":199,"offset":200},286,1219,{"line":75,"column":202,"offset":203},294,1227,{"start":205,"end":206},{"line":75,"column":189,"offset":190},{"line":75,"column":207,"offset":208},324,1257,{"type":27,"value":210,"position":211},"), and a label handle for the one sentence shown on a market without open interest (",{"start":212,"end":213},{"line":75,"column":207,"offset":208},{"line":75,"column":214,"offset":215},408,1341,{"type":31,"tagName":102,"properties":217,"children":219,"position":229},{"href":218},"../presentation/drawing-objects.md",[220],{"type":27,"value":221,"position":222},"Drawing objects",{"start":223,"end":226},{"line":75,"column":224,"offset":225},409,1342,{"line":75,"column":227,"offset":228},424,1357,{"start":230,"end":231},{"line":75,"column":214,"offset":215},{"line":75,"column":232,"offset":233},461,1394,{"type":27,"value":235,"position":236},"). This is also the ",{"start":237,"end":238},{"line":75,"column":232,"offset":233},{"line":75,"column":239,"offset":240},481,1414,{"type":31,"tagName":81,"properties":242,"children":243,"position":251},{},[244],{"type":27,"value":245,"position":246},"session-oi-levels",{"start":247,"end":248},{"line":75,"column":239,"offset":240},{"line":75,"column":249,"offset":250},500,1433,{"start":252,"end":253},{"line":75,"column":239,"offset":240},{"line":75,"column":249,"offset":250},{"type":27,"value":255,"position":256}," template: the ",{"start":257,"end":258},{"line":75,"column":249,"offset":250},{"line":75,"column":259,"offset":260},515,1448,{"type":31,"tagName":262,"properties":263,"children":264,"position":273},"strong",{},[265],{"type":27,"value":8,"position":266},{"start":267,"end":270},{"line":75,"column":268,"offset":269},517,1450,{"line":75,"column":271,"offset":272},534,1467,{"start":274,"end":275},{"line":75,"column":259,"offset":260},{"line":75,"column":276,"offset":277},536,1469,{"type":27,"value":279,"position":280}," card under ",{"start":281,"end":282},{"line":75,"column":276,"offset":277},{"line":75,"column":283,"offset":284},548,1481,{"type":31,"tagName":262,"properties":286,"children":287,"position":297},{},[288],{"type":27,"value":289,"position":290},"On price",{"start":291,"end":294},{"line":75,"column":292,"offset":293},550,1483,{"line":75,"column":295,"offset":296},558,1491,{"start":298,"end":299},{"line":75,"column":283,"offset":284},{"line":75,"column":300,"offset":301},560,1493,{"type":27,"value":303,"position":304}," in the editor's starter list, and it compiles as written.",{"start":305,"end":306},{"line":75,"column":300,"offset":301},{"line":75,"column":307,"offset":308},618,1551,{"start":310,"end":311},{"line":75,"column":21,"offset":76},{"line":75,"column":307,"offset":308},{"type":27,"value":28},{"type":31,"tagName":314,"properties":315,"children":316,"position":327},"h2",{},[317],{"type":27,"value":318,"position":319},"The wrun indicator",{"start":320,"end":324},{"line":321,"column":322,"offset":323},11,4,1556,{"line":321,"column":325,"offset":326},22,1574,{"start":328,"end":330},{"line":321,"column":21,"offset":329},1553,{"line":321,"column":325,"offset":326},{"type":27,"value":28},{"type":14,"children":333},[334],{"type":31,"tagName":335,"properties":336,"children":340,"data":-1},"pre",{"class":337,"style":338,"tabindex":339,"data-sample":245},"shiki shiki-themes github-dark github-light","--shiki-dark:#e1e4e8;--shiki-light:#24292e;--shiki-dark-bg:#24292e;--shiki-light-bg:#fff","0",[341],{"type":31,"tagName":81,"properties":342,"children":345},{"class":343},[344],"language-typescript",[346,357,358,366,367,375,376,384,385,393,394,397,398,429,430,508,509,578,579,606,607,643,644,709,710,744,745,797,798,910,911,946,947,1027,1028,1031,1032,1107,1108,1286,1287,1445,1446,1579,1580,1622,1623,1677,1678,1816,1817,1856,1857,1894,1895,1898,1899,1992,1993,2044,2045,2185,2186,2194,2195,2198,2199,2207,2208,2343,2344,2444,2445,2615,2616,2730,2731,2783,2784,2855,2856,2904,2905,3019,3020,3028,3029,3036,3037,3121,3122,3190,3191,3242,3243,3377,3378,3398,3399,3442,3443,3516,3517,3614,3615,3639,3640,3687,3688,3737,3738,3790,3791,3821,3822,3829,3830,3867,3868,3946,3947,3954,3955,4022,4023,4074,4075,4163,4164,4203,4204,4309,4310,4352,4353,4490,4491,4533,4534,4648,4649,4690,4691,4920,4921,4941,4942,4959,4960,4967,4968,5002,5003,5029,5030,5076,5077,5162,5163,5302,5303,5354,5355,5374,5375,5414,5415,5422,5423,5426,5427,5435,5436,5509,5510,5518,5519,5527,5528,5557,5558,5657,5658,5728,5729,5762,5763,5869,5870,5924,5925,5950,5951,5978,5979,6081,6082,6119,6120,6127,6128,6214,6215,6227,6228,6293,6294,6323,6324],{"type":31,"tagName":347,"properties":348,"children":350},"span",{"class":349},"line",[351],{"type":31,"tagName":347,"properties":352,"children":354},{"style":353},"--shiki-dark:#6A737D;--shiki-light:#6A737D",[355],{"type":27,"value":356},"// Session OI Levels: where open interest was built and unwound in each day, as a profile anchored to the day's own",{"type":27,"value":28},{"type":31,"tagName":347,"properties":359,"children":360},{"class":349},[361],{"type":31,"tagName":347,"properties":362,"children":363},{"style":353},[364],{"type":27,"value":365},"// time span. Each bar's change in open interest is spread over the price rows its range covered, so a row grows where",{"type":27,"value":28},{"type":31,"tagName":347,"properties":368,"children":369},{"class":349},[370],{"type":31,"tagName":347,"properties":371,"children":372},{"style":353},[373],{"type":27,"value":374},"// positions were opened (green) or closed (red) while price traded there; every day gets its own profile, its rows",{"type":27,"value":28},{"type":31,"tagName":347,"properties":377,"children":378},{"class":349},[379],{"type":31,"tagName":347,"properties":380,"children":381},{"style":353},[382],{"type":27,"value":383},"// scaled to that day's biggest row and drawn by the chart from the day's first bar. The bar's open-interest change",{"type":27,"value":28},{"type":31,"tagName":347,"properties":386,"children":387},{"class":349},[388],{"type":31,"tagName":347,"properties":389,"children":390},{"style":353},[391],{"type":27,"value":392},"// rides along as a histogram under the chart.",{"type":27,"value":28},{"type":31,"tagName":347,"properties":395,"children":396},{"class":349},[],{"type":27,"value":28},{"type":31,"tagName":347,"properties":399,"children":400},{"class":349},[401,407,413,419,424],{"type":31,"tagName":347,"properties":402,"children":404},{"style":403},"--shiki-dark:#B392F0;--shiki-light:#6F42C1",[405],{"type":27,"value":406},"section",{"type":31,"tagName":347,"properties":408,"children":410},{"style":409},"--shiki-dark:#E1E4E8;--shiki-light:#24292E",[411],{"type":27,"value":412},"(",{"type":31,"tagName":347,"properties":414,"children":416},{"style":415},"--shiki-dark:#9ECBFF;--shiki-light:#032F62",[417],{"type":27,"value":418},"\"Sessions\"",{"type":31,"tagName":347,"properties":420,"children":421},{"style":409},[422],{"type":27,"value":423},"); ",{"type":31,"tagName":347,"properties":425,"children":426},{"style":353},[427],{"type":27,"value":428},"// the dialog's one section",{"type":27,"value":28},{"type":31,"tagName":347,"properties":431,"children":432},{"class":349},[433,438,443,447,452,457,463,468,473,478,483,488,493,498,503],{"type":31,"tagName":347,"properties":434,"children":435},{"style":409},[436],{"type":27,"value":437},"param.",{"type":31,"tagName":347,"properties":439,"children":440},{"style":403},[441],{"type":27,"value":442},"int",{"type":31,"tagName":347,"properties":444,"children":445},{"style":409},[446],{"type":27,"value":412},{"type":31,"tagName":347,"properties":448,"children":449},{"style":415},[450],{"type":27,"value":451},"\"sessions\"",{"type":31,"tagName":347,"properties":453,"children":454},{"style":409},[455],{"type":27,"value":456},", ",{"type":31,"tagName":347,"properties":458,"children":460},{"style":459},"--shiki-dark:#79B8FF;--shiki-light:#005CC5",[461],{"type":27,"value":462},"10",{"type":31,"tagName":347,"properties":464,"children":465},{"style":409},[466],{"type":27,"value":467},", { min: ",{"type":31,"tagName":347,"properties":469,"children":470},{"style":459},[471],{"type":27,"value":472},"2",{"type":31,"tagName":347,"properties":474,"children":475},{"style":409},[476],{"type":27,"value":477},", max: ",{"type":31,"tagName":347,"properties":479,"children":480},{"style":459},[481],{"type":27,"value":482},"30",{"type":31,"tagName":347,"properties":484,"children":485},{"style":409},[486],{"type":27,"value":487},", label: ",{"type":31,"tagName":347,"properties":489,"children":490},{"style":415},[491],{"type":27,"value":492},"\"Days shown\"",{"type":31,"tagName":347,"properties":494,"children":495},{"style":409},[496],{"type":27,"value":497},", description: ",{"type":31,"tagName":347,"properties":499,"children":500},{"style":415},[501],{"type":27,"value":502},"\"Days drawn, the newest last\"",{"type":31,"tagName":347,"properties":504,"children":505},{"style":409},[506],{"type":27,"value":507}," });",{"type":27,"value":28},{"type":31,"tagName":347,"properties":510,"children":511},{"class":349},[512,516,520,524,529,533,538,542,547,551,556,560,565,569,574],{"type":31,"tagName":347,"properties":513,"children":514},{"style":409},[515],{"type":27,"value":437},{"type":31,"tagName":347,"properties":517,"children":518},{"style":403},[519],{"type":27,"value":442},{"type":31,"tagName":347,"properties":521,"children":522},{"style":409},[523],{"type":27,"value":412},{"type":31,"tagName":347,"properties":525,"children":526},{"style":415},[527],{"type":27,"value":528},"\"rows\"",{"type":31,"tagName":347,"properties":530,"children":531},{"style":409},[532],{"type":27,"value":456},{"type":31,"tagName":347,"properties":534,"children":535},{"style":459},[536],{"type":27,"value":537},"32",{"type":31,"tagName":347,"properties":539,"children":540},{"style":409},[541],{"type":27,"value":467},{"type":31,"tagName":347,"properties":543,"children":544},{"style":459},[545],{"type":27,"value":546},"8",{"type":31,"tagName":347,"properties":548,"children":549},{"style":409},[550],{"type":27,"value":477},{"type":31,"tagName":347,"properties":552,"children":553},{"style":459},[554],{"type":27,"value":555},"64",{"type":31,"tagName":347,"properties":557,"children":558},{"style":409},[559],{"type":27,"value":487},{"type":31,"tagName":347,"properties":561,"children":562},{"style":415},[563],{"type":27,"value":564},"\"Rows per day\"",{"type":31,"tagName":347,"properties":566,"children":567},{"style":409},[568],{"type":27,"value":497},{"type":31,"tagName":347,"properties":570,"children":571},{"style":415},[572],{"type":27,"value":573},"\"Price rows per day\"",{"type":31,"tagName":347,"properties":575,"children":576},{"style":409},[577],{"type":27,"value":507},{"type":27,"value":28},{"type":31,"tagName":347,"properties":580,"children":581},{"class":349},[582,587,591,596,601],{"type":31,"tagName":347,"properties":583,"children":584},{"style":403},[585],{"type":27,"value":586},"input",{"type":31,"tagName":347,"properties":588,"children":589},{"style":409},[590],{"type":27,"value":412},{"type":31,"tagName":347,"properties":592,"children":593},{"style":415},[594],{"type":27,"value":595},"\"close\"",{"type":31,"tagName":347,"properties":597,"children":598},{"style":409},[599],{"type":27,"value":600},", ohlcv.close); ",{"type":31,"tagName":347,"properties":602,"children":603},{"style":353},[604],{"type":27,"value":605},"// the primary input: the chart's own candles define the grid",{"type":27,"value":28},{"type":31,"tagName":347,"properties":608,"children":609},{"class":349},[610,614,618,623,628,633,638],{"type":31,"tagName":347,"properties":611,"children":612},{"style":403},[613],{"type":27,"value":586},{"type":31,"tagName":347,"properties":615,"children":616},{"style":409},[617],{"type":27,"value":412},{"type":31,"tagName":347,"properties":619,"children":620},{"style":415},[621],{"type":27,"value":622},"\"oi\"",{"type":31,"tagName":347,"properties":624,"children":625},{"style":409},[626],{"type":27,"value":627},", oi.close, { missing: ",{"type":31,"tagName":347,"properties":629,"children":630},{"style":415},[631],{"type":27,"value":632},"\"nan\"",{"type":31,"tagName":347,"properties":634,"children":635},{"style":409},[636],{"type":27,"value":637}," }); ",{"type":31,"tagName":347,"properties":639,"children":640},{"style":353},[641],{"type":27,"value":642},"// open interest at the bar's close; a bar without a reading, or a market without open interest, reads NaN",{"type":27,"value":28},{"type":31,"tagName":347,"properties":645,"children":646},{"class":349},[647,652,656,661,666,671,676,681,685,690,695,700,704],{"type":31,"tagName":347,"properties":648,"children":649},{"style":403},[650],{"type":27,"value":651},"output",{"type":31,"tagName":347,"properties":653,"children":654},{"style":409},[655],{"type":27,"value":412},{"type":31,"tagName":347,"properties":657,"children":658},{"style":415},[659],{"type":27,"value":660},"\"oi_change\"",{"type":31,"tagName":347,"properties":662,"children":663},{"style":409},[664],{"type":27,"value":665},", histogram, lower, { color_by: ",{"type":31,"tagName":347,"properties":667,"children":668},{"style":415},[669],{"type":27,"value":670},"\"oi_tone\"",{"type":31,"tagName":347,"properties":672,"children":673},{"style":409},[674],{"type":27,"value":675},", colors: [",{"type":31,"tagName":347,"properties":677,"children":678},{"style":415},[679],{"type":27,"value":680},"\"#f87171\"",{"type":31,"tagName":347,"properties":682,"children":683},{"style":409},[684],{"type":27,"value":456},{"type":31,"tagName":347,"properties":686,"children":687},{"style":415},[688],{"type":27,"value":689},"\"#34d399\"",{"type":31,"tagName":347,"properties":691,"children":692},{"style":409},[693],{"type":27,"value":694},"], description: ",{"type":31,"tagName":347,"properties":696,"children":697},{"style":415},[698],{"type":27,"value":699},"\"Open interest change on the bar\"",{"type":31,"tagName":347,"properties":701,"children":702},{"style":409},[703],{"type":27,"value":637},{"type":31,"tagName":347,"properties":705,"children":706},{"style":353},[707],{"type":27,"value":708},"// green where positions were opened, red where they were closed",{"type":27,"value":28},{"type":31,"tagName":347,"properties":711,"children":712},{"class":349},[713,717,721,725,730,735,739],{"type":31,"tagName":347,"properties":714,"children":715},{"style":403},[716],{"type":27,"value":651},{"type":31,"tagName":347,"properties":718,"children":719},{"style":409},[720],{"type":27,"value":412},{"type":31,"tagName":347,"properties":722,"children":723},{"style":415},[724],{"type":27,"value":670},{"type":31,"tagName":347,"properties":726,"children":727},{"style":409},[728],{"type":27,"value":729},", none, overlay, { description: ",{"type":31,"tagName":347,"properties":731,"children":732},{"style":415},[733],{"type":27,"value":734},"\"1 while open interest rose on the bar, 0 while it fell\"",{"type":31,"tagName":347,"properties":736,"children":737},{"style":409},[738],{"type":27,"value":637},{"type":31,"tagName":347,"properties":740,"children":741},{"style":353},[742],{"type":27,"value":743},"// data-only: the histogram's colour index",{"type":27,"value":28},{"type":31,"tagName":347,"properties":746,"children":747},{"class":349},[748,754,759,764,769,773,778,783,788,792],{"type":31,"tagName":347,"properties":749,"children":751},{"style":750},"--shiki-dark:#F97583;--shiki-light:#D73A49",[752],{"type":27,"value":753},"const",{"type":31,"tagName":347,"properties":755,"children":756},{"style":459},[757],{"type":27,"value":758}," oi_spans",{"type":31,"tagName":347,"properties":760,"children":761},{"style":750},[762],{"type":27,"value":763}," =",{"type":31,"tagName":347,"properties":765,"children":766},{"style":403},[767],{"type":27,"value":768}," frame",{"type":31,"tagName":347,"properties":770,"children":771},{"style":409},[772],{"type":27,"value":412},{"type":31,"tagName":347,"properties":774,"children":775},{"style":415},[776],{"type":27,"value":777},"\"oi_spans\"",{"type":31,"tagName":347,"properties":779,"children":780},{"style":409},[781],{"type":27,"value":782},", { max_bytes: ",{"type":31,"tagName":347,"properties":784,"children":785},{"style":459},[786],{"type":27,"value":787},"65536",{"type":31,"tagName":347,"properties":789,"children":790},{"style":409},[791],{"type":27,"value":637},{"type":31,"tagName":347,"properties":793,"children":794},{"style":353},[795],{"type":27,"value":796},"// one span per day: its start and end, a price per row, the open interest moved on the row, a colour per row",{"type":27,"value":28},{"type":31,"tagName":347,"properties":799,"children":800},{"class":349},[801,806,811,816,821,826,831,836,841,846,851,856,861,866,871,876,881,886,891,896,901,905],{"type":31,"tagName":347,"properties":802,"children":803},{"style":409},[804],{"type":27,"value":805},"plot.",{"type":31,"tagName":347,"properties":807,"children":808},{"style":403},[809],{"type":27,"value":810},"levels",{"type":31,"tagName":347,"properties":812,"children":813},{"style":409},[814],{"type":27,"value":815},"({ name: ",{"type":31,"tagName":347,"properties":817,"children":818},{"style":415},[819],{"type":27,"value":820},"\"oi_by_price\"",{"type":31,"tagName":347,"properties":822,"children":823},{"style":409},[824],{"type":27,"value":825},", frame: oi_spans, dock: ",{"type":31,"tagName":347,"properties":827,"children":828},{"style":415},[829],{"type":27,"value":830},"\"left\"",{"type":31,"tagName":347,"properties":832,"children":833},{"style":409},[834],{"type":27,"value":835},", span: ",{"type":31,"tagName":347,"properties":837,"children":838},{"style":415},[839],{"type":27,"value":840},"\"time\"",{"type":31,"tagName":347,"properties":842,"children":843},{"style":409},[844],{"type":27,"value":845},", width_frac: ",{"type":31,"tagName":347,"properties":847,"children":848},{"style":459},[849],{"type":27,"value":850},"0.5",{"type":31,"tagName":347,"properties":852,"children":853},{"style":409},[854],{"type":27,"value":855},", labels: ",{"type":31,"tagName":347,"properties":857,"children":858},{"style":459},[859],{"type":27,"value":860},"false",{"type":31,"tagName":347,"properties":862,"children":863},{"style":409},[864],{"type":27,"value":865},", color: ",{"type":31,"tagName":347,"properties":867,"children":868},{"style":415},[869],{"type":27,"value":870},"\"#38bdf8\"",{"type":31,"tagName":347,"properties":872,"children":873},{"style":409},[874],{"type":27,"value":875},", opacity: ",{"type":31,"tagName":347,"properties":877,"children":878},{"style":459},[879],{"type":27,"value":880},"0.85",{"type":31,"tagName":347,"properties":882,"children":883},{"style":409},[884],{"type":27,"value":885},", format: ",{"type":31,"tagName":347,"properties":887,"children":888},{"style":415},[889],{"type":27,"value":890},"\"si\"",{"type":31,"tagName":347,"properties":892,"children":893},{"style":409},[894],{"type":27,"value":895},", hover: ",{"type":31,"tagName":347,"properties":897,"children":898},{"style":459},[899],{"type":27,"value":900},"true",{"type":31,"tagName":347,"properties":902,"children":903},{"style":409},[904],{"type":27,"value":637},{"type":31,"tagName":347,"properties":906,"children":907},{"style":353},[908],{"type":27,"value":909},"// each day's profile grows from the day's first bar; hover a row for the open interest moved there",{"type":27,"value":28},{"type":31,"tagName":347,"properties":912,"children":913},{"class":349},[914,919,923,928,932,937,941],{"type":31,"tagName":347,"properties":915,"children":916},{"style":403},[917],{"type":27,"value":918},"string",{"type":31,"tagName":347,"properties":920,"children":921},{"style":409},[922],{"type":27,"value":412},{"type":31,"tagName":347,"properties":924,"children":925},{"style":415},[926],{"type":27,"value":927},"\"note\"",{"type":31,"tagName":347,"properties":929,"children":930},{"style":409},[931],{"type":27,"value":782},{"type":31,"tagName":347,"properties":933,"children":934},{"style":459},[935],{"type":27,"value":936},"40",{"type":31,"tagName":347,"properties":938,"children":939},{"style":409},[940],{"type":27,"value":637},{"type":31,"tagName":347,"properties":942,"children":943},{"style":353},[944],{"type":27,"value":945},"// the one sentence shown when the market has no open interest",{"type":27,"value":28},{"type":31,"tagName":347,"properties":948,"children":949},{"class":349},[950,955,960,965,970,975,980,984,989,994,999,1004,1009,1014,1018,1022],{"type":31,"tagName":347,"properties":951,"children":952},{"style":409},[953],{"type":27,"value":954},"handles.",{"type":31,"tagName":347,"properties":956,"children":957},{"style":403},[958],{"type":27,"value":959},"label",{"type":31,"tagName":347,"properties":961,"children":962},{"style":409},[963],{"type":27,"value":964},"({ anchor: ",{"type":31,"tagName":347,"properties":966,"children":967},{"style":415},[968],{"type":27,"value":969},"\"top_right\"",{"type":31,"tagName":347,"properties":971,"children":972},{"style":409},[973],{"type":27,"value":974},", align: ",{"type":31,"tagName":347,"properties":976,"children":977},{"style":415},[978],{"type":27,"value":979},"\"right\"",{"type":31,"tagName":347,"properties":981,"children":982},{"style":409},[983],{"type":27,"value":865},{"type":31,"tagName":347,"properties":985,"children":986},{"style":415},[987],{"type":27,"value":988},"\"#94a3b8\"",{"type":31,"tagName":347,"properties":990,"children":991},{"style":409},[992],{"type":27,"value":993},", size: ",{"type":31,"tagName":347,"properties":995,"children":996},{"style":459},[997],{"type":27,"value":998},"12",{"type":31,"tagName":347,"properties":1000,"children":1001},{"style":409},[1002],{"type":27,"value":1003},", style: ",{"type":31,"tagName":347,"properties":1005,"children":1006},{"style":415},[1007],{"type":27,"value":1008},"\"plain\"",{"type":31,"tagName":347,"properties":1010,"children":1011},{"style":409},[1012],{"type":27,"value":1013},", safe_area: ",{"type":31,"tagName":347,"properties":1015,"children":1016},{"style":459},[1017],{"type":27,"value":900},{"type":31,"tagName":347,"properties":1019,"children":1020},{"style":409},[1021],{"type":27,"value":637},{"type":31,"tagName":347,"properties":1023,"children":1024},{"style":353},[1025],{"type":27,"value":1026},"// that sentence: plain slate words at the pane's top right, clear of the chart's buttons",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1029,"children":1030},{"class":349},[],{"type":27,"value":28},{"type":31,"tagName":347,"properties":1033,"children":1034},{"class":349},[1035,1039,1044,1048,1053,1058,1062,1067,1071,1076,1080,1084,1089,1093,1098,1102],{"type":31,"tagName":347,"properties":1036,"children":1037},{"style":750},[1038],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1040,"children":1041},{"style":459},[1042],{"type":27,"value":1043}," MAX_BARS",{"type":31,"tagName":347,"properties":1045,"children":1046},{"style":750},[1047],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1049,"children":1050},{"style":459},[1051],{"type":27,"value":1052}," 8192",{"type":31,"tagName":347,"properties":1054,"children":1055},{"style":409},[1056],{"type":27,"value":1057},"; ",{"type":31,"tagName":347,"properties":1059,"children":1060},{"style":750},[1061],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1063,"children":1064},{"style":459},[1065],{"type":27,"value":1066}," MAX_ROWS",{"type":31,"tagName":347,"properties":1068,"children":1069},{"style":750},[1070],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1072,"children":1073},{"style":459},[1074],{"type":27,"value":1075}," 64",{"type":31,"tagName":347,"properties":1077,"children":1078},{"style":409},[1079],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1081,"children":1082},{"style":750},[1083],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1085,"children":1086},{"style":459},[1087],{"type":27,"value":1088}," MAX_DAYS",{"type":31,"tagName":347,"properties":1090,"children":1091},{"style":750},[1092],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1094,"children":1095},{"style":459},[1096],{"type":27,"value":1097}," 30",{"type":31,"tagName":347,"properties":1099,"children":1100},{"style":409},[1101],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1103,"children":1104},{"style":353},[1105],{"type":27,"value":1106},"// the bar ring (8192 bars is 28 days of 5m bars) and the finished days kept, for the largest settings",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1109,"children":1110},{"class":349},[1111,1115,1120,1124,1129,1134,1139,1144,1149,1154,1158,1162,1167,1171,1175,1179,1183,1187,1191,1195,1199,1203,1208,1212,1216,1220,1224,1228,1232,1236,1240,1244,1249,1253,1257,1261,1265,1269,1273,1277,1281],{"type":31,"tagName":347,"properties":1112,"children":1113},{"style":750},[1114],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1116,"children":1117},{"style":459},[1118],{"type":27,"value":1119}," barT",{"type":31,"tagName":347,"properties":1121,"children":1122},{"style":750},[1123],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1125,"children":1126},{"style":750},[1127],{"type":27,"value":1128}," new",{"type":31,"tagName":347,"properties":1130,"children":1131},{"style":403},[1132],{"type":27,"value":1133}," StaticArray",{"type":31,"tagName":347,"properties":1135,"children":1136},{"style":409},[1137],{"type":27,"value":1138},"\u003C",{"type":31,"tagName":347,"properties":1140,"children":1141},{"style":403},[1142],{"type":27,"value":1143},"f64",{"type":31,"tagName":347,"properties":1145,"children":1146},{"style":409},[1147],{"type":27,"value":1148},">(",{"type":31,"tagName":347,"properties":1150,"children":1151},{"style":459},[1152],{"type":27,"value":1153},"MAX_BARS",{"type":31,"tagName":347,"properties":1155,"children":1156},{"style":409},[1157],{"type":27,"value":423},{"type":31,"tagName":347,"properties":1159,"children":1160},{"style":750},[1161],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1163,"children":1164},{"style":459},[1165],{"type":27,"value":1166}," barLo",{"type":31,"tagName":347,"properties":1168,"children":1169},{"style":750},[1170],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1172,"children":1173},{"style":750},[1174],{"type":27,"value":1128},{"type":31,"tagName":347,"properties":1176,"children":1177},{"style":403},[1178],{"type":27,"value":1133},{"type":31,"tagName":347,"properties":1180,"children":1181},{"style":409},[1182],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":1184,"children":1185},{"style":403},[1186],{"type":27,"value":1143},{"type":31,"tagName":347,"properties":1188,"children":1189},{"style":409},[1190],{"type":27,"value":1148},{"type":31,"tagName":347,"properties":1192,"children":1193},{"style":459},[1194],{"type":27,"value":1153},{"type":31,"tagName":347,"properties":1196,"children":1197},{"style":409},[1198],{"type":27,"value":423},{"type":31,"tagName":347,"properties":1200,"children":1201},{"style":750},[1202],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1204,"children":1205},{"style":459},[1206],{"type":27,"value":1207}," barHi",{"type":31,"tagName":347,"properties":1209,"children":1210},{"style":750},[1211],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1213,"children":1214},{"style":750},[1215],{"type":27,"value":1128},{"type":31,"tagName":347,"properties":1217,"children":1218},{"style":403},[1219],{"type":27,"value":1133},{"type":31,"tagName":347,"properties":1221,"children":1222},{"style":409},[1223],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":1225,"children":1226},{"style":403},[1227],{"type":27,"value":1143},{"type":31,"tagName":347,"properties":1229,"children":1230},{"style":409},[1231],{"type":27,"value":1148},{"type":31,"tagName":347,"properties":1233,"children":1234},{"style":459},[1235],{"type":27,"value":1153},{"type":31,"tagName":347,"properties":1237,"children":1238},{"style":409},[1239],{"type":27,"value":423},{"type":31,"tagName":347,"properties":1241,"children":1242},{"style":750},[1243],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1245,"children":1246},{"style":459},[1247],{"type":27,"value":1248}," barOi",{"type":31,"tagName":347,"properties":1250,"children":1251},{"style":750},[1252],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1254,"children":1255},{"style":750},[1256],{"type":27,"value":1128},{"type":31,"tagName":347,"properties":1258,"children":1259},{"style":403},[1260],{"type":27,"value":1133},{"type":31,"tagName":347,"properties":1262,"children":1263},{"style":409},[1264],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":1266,"children":1267},{"style":403},[1268],{"type":27,"value":1143},{"type":31,"tagName":347,"properties":1270,"children":1271},{"style":409},[1272],{"type":27,"value":1148},{"type":31,"tagName":347,"properties":1274,"children":1275},{"style":459},[1276],{"type":27,"value":1153},{"type":31,"tagName":347,"properties":1278,"children":1279},{"style":409},[1280],{"type":27,"value":423},{"type":31,"tagName":347,"properties":1282,"children":1283},{"style":353},[1284],{"type":27,"value":1285},"// each ring bar's open time, price span and open-interest change",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1288,"children":1289},{"class":349},[1290,1294,1299,1303,1307,1311,1315,1319,1323,1328,1333,1338,1342,1346,1351,1355,1359,1363,1367,1371,1375,1379,1383,1387,1391,1395,1400,1404,1408,1412,1416,1420,1424,1428,1432,1436,1440],{"type":31,"tagName":347,"properties":1291,"children":1292},{"style":750},[1293],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1295,"children":1296},{"style":459},[1297],{"type":27,"value":1298}," dayStart",{"type":31,"tagName":347,"properties":1300,"children":1301},{"style":750},[1302],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1304,"children":1305},{"style":750},[1306],{"type":27,"value":1128},{"type":31,"tagName":347,"properties":1308,"children":1309},{"style":403},[1310],{"type":27,"value":1133},{"type":31,"tagName":347,"properties":1312,"children":1313},{"style":409},[1314],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":1316,"children":1317},{"style":403},[1318],{"type":27,"value":1143},{"type":31,"tagName":347,"properties":1320,"children":1321},{"style":409},[1322],{"type":27,"value":1148},{"type":31,"tagName":347,"properties":1324,"children":1325},{"style":459},[1326],{"type":27,"value":1327},"MAX_DAYS",{"type":31,"tagName":347,"properties":1329,"children":1330},{"style":750},[1331],{"type":27,"value":1332}," +",{"type":31,"tagName":347,"properties":1334,"children":1335},{"style":459},[1336],{"type":27,"value":1337}," 1",{"type":31,"tagName":347,"properties":1339,"children":1340},{"style":409},[1341],{"type":27,"value":423},{"type":31,"tagName":347,"properties":1343,"children":1344},{"style":750},[1345],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1347,"children":1348},{"style":459},[1349],{"type":27,"value":1350}," dayLo",{"type":31,"tagName":347,"properties":1352,"children":1353},{"style":750},[1354],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1356,"children":1357},{"style":750},[1358],{"type":27,"value":1128},{"type":31,"tagName":347,"properties":1360,"children":1361},{"style":403},[1362],{"type":27,"value":1133},{"type":31,"tagName":347,"properties":1364,"children":1365},{"style":409},[1366],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":1368,"children":1369},{"style":403},[1370],{"type":27,"value":1143},{"type":31,"tagName":347,"properties":1372,"children":1373},{"style":409},[1374],{"type":27,"value":1148},{"type":31,"tagName":347,"properties":1376,"children":1377},{"style":459},[1378],{"type":27,"value":1327},{"type":31,"tagName":347,"properties":1380,"children":1381},{"style":750},[1382],{"type":27,"value":1332},{"type":31,"tagName":347,"properties":1384,"children":1385},{"style":459},[1386],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":1388,"children":1389},{"style":409},[1390],{"type":27,"value":423},{"type":31,"tagName":347,"properties":1392,"children":1393},{"style":750},[1394],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1396,"children":1397},{"style":459},[1398],{"type":27,"value":1399}," dayStep",{"type":31,"tagName":347,"properties":1401,"children":1402},{"style":750},[1403],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1405,"children":1406},{"style":750},[1407],{"type":27,"value":1128},{"type":31,"tagName":347,"properties":1409,"children":1410},{"style":403},[1411],{"type":27,"value":1133},{"type":31,"tagName":347,"properties":1413,"children":1414},{"style":409},[1415],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":1417,"children":1418},{"style":403},[1419],{"type":27,"value":1143},{"type":31,"tagName":347,"properties":1421,"children":1422},{"style":409},[1423],{"type":27,"value":1148},{"type":31,"tagName":347,"properties":1425,"children":1426},{"style":459},[1427],{"type":27,"value":1327},{"type":31,"tagName":347,"properties":1429,"children":1430},{"style":750},[1431],{"type":27,"value":1332},{"type":31,"tagName":347,"properties":1433,"children":1434},{"style":459},[1435],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":1437,"children":1438},{"style":409},[1439],{"type":27,"value":423},{"type":31,"tagName":347,"properties":1441,"children":1442},{"style":353},[1443],{"type":27,"value":1444},"// each folded day's span start (NaN: it draws nothing), bottom and row height; slot MAX_DAYS is the open day",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1447,"children":1448},{"class":349},[1449,1453,1458,1462,1466,1470,1474,1478,1483,1487,1491,1495,1500,1505,1509,1513,1517,1522,1526,1530,1534,1538,1542,1546,1550,1554,1558,1562,1566,1570,1574],{"type":31,"tagName":347,"properties":1450,"children":1451},{"style":750},[1452],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1454,"children":1455},{"style":459},[1456],{"type":27,"value":1457}," dayNet",{"type":31,"tagName":347,"properties":1459,"children":1460},{"style":750},[1461],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1463,"children":1464},{"style":750},[1465],{"type":27,"value":1128},{"type":31,"tagName":347,"properties":1467,"children":1468},{"style":403},[1469],{"type":27,"value":1133},{"type":31,"tagName":347,"properties":1471,"children":1472},{"style":409},[1473],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":1475,"children":1476},{"style":403},[1477],{"type":27,"value":1143},{"type":31,"tagName":347,"properties":1479,"children":1480},{"style":409},[1481],{"type":27,"value":1482},">((",{"type":31,"tagName":347,"properties":1484,"children":1485},{"style":459},[1486],{"type":27,"value":1327},{"type":31,"tagName":347,"properties":1488,"children":1489},{"style":750},[1490],{"type":27,"value":1332},{"type":31,"tagName":347,"properties":1492,"children":1493},{"style":459},[1494],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":1496,"children":1497},{"style":409},[1498],{"type":27,"value":1499},") ",{"type":31,"tagName":347,"properties":1501,"children":1502},{"style":750},[1503],{"type":27,"value":1504},"*",{"type":31,"tagName":347,"properties":1506,"children":1507},{"style":459},[1508],{"type":27,"value":1066},{"type":31,"tagName":347,"properties":1510,"children":1511},{"style":409},[1512],{"type":27,"value":423},{"type":31,"tagName":347,"properties":1514,"children":1515},{"style":750},[1516],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1518,"children":1519},{"style":459},[1520],{"type":27,"value":1521}," dayMoved",{"type":31,"tagName":347,"properties":1523,"children":1524},{"style":750},[1525],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1527,"children":1528},{"style":750},[1529],{"type":27,"value":1128},{"type":31,"tagName":347,"properties":1531,"children":1532},{"style":403},[1533],{"type":27,"value":1133},{"type":31,"tagName":347,"properties":1535,"children":1536},{"style":409},[1537],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":1539,"children":1540},{"style":403},[1541],{"type":27,"value":1143},{"type":31,"tagName":347,"properties":1543,"children":1544},{"style":409},[1545],{"type":27,"value":1482},{"type":31,"tagName":347,"properties":1547,"children":1548},{"style":459},[1549],{"type":27,"value":1327},{"type":31,"tagName":347,"properties":1551,"children":1552},{"style":750},[1553],{"type":27,"value":1332},{"type":31,"tagName":347,"properties":1555,"children":1556},{"style":459},[1557],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":1559,"children":1560},{"style":409},[1561],{"type":27,"value":1499},{"type":31,"tagName":347,"properties":1563,"children":1564},{"style":750},[1565],{"type":27,"value":1504},{"type":31,"tagName":347,"properties":1567,"children":1568},{"style":459},[1569],{"type":27,"value":1066},{"type":31,"tagName":347,"properties":1571,"children":1572},{"style":409},[1573],{"type":27,"value":423},{"type":31,"tagName":347,"properties":1575,"children":1576},{"style":353},[1577],{"type":27,"value":1578},"// per day and row: the net open-interest change, and the open interest moved, built or unwound",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1581,"children":1582},{"class":349},[1583,1587,1592,1596,1601,1605,1609,1613,1617],{"type":31,"tagName":347,"properties":1584,"children":1585},{"style":750},[1586],{"type":27,"value":753},{"type":31,"tagName":347,"properties":1588,"children":1589},{"style":459},[1590],{"type":27,"value":1591}," note",{"type":31,"tagName":347,"properties":1593,"children":1594},{"style":750},[1595],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1597,"children":1598},{"style":409},[1599],{"type":27,"value":1600}," draw.",{"type":31,"tagName":347,"properties":1602,"children":1603},{"style":403},[1604],{"type":27,"value":959},{"type":31,"tagName":347,"properties":1606,"children":1607},{"style":409},[1608],{"type":27,"value":412},{"type":31,"tagName":347,"properties":1610,"children":1611},{"style":459},[1612],{"type":27,"value":339},{"type":31,"tagName":347,"properties":1614,"children":1615},{"style":409},[1616],{"type":27,"value":423},{"type":31,"tagName":347,"properties":1618,"children":1619},{"style":353},[1620],{"type":27,"value":1621},"// the one slate sentence; a handle allocates once at module load",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1624,"children":1625},{"class":349},[1626,1631,1636,1641,1646,1650,1654,1659,1663,1668,1672],{"type":31,"tagName":347,"properties":1627,"children":1628},{"style":750},[1629],{"type":27,"value":1630},"let",{"type":31,"tagName":347,"properties":1632,"children":1633},{"style":409},[1634],{"type":27,"value":1635}," sessions ",{"type":31,"tagName":347,"properties":1637,"children":1638},{"style":750},[1639],{"type":27,"value":1640},"=",{"type":31,"tagName":347,"properties":1642,"children":1643},{"style":459},[1644],{"type":27,"value":1645}," 10",{"type":31,"tagName":347,"properties":1647,"children":1648},{"style":409},[1649],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1651,"children":1652},{"style":750},[1653],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":1655,"children":1656},{"style":409},[1657],{"type":27,"value":1658}," rows ",{"type":31,"tagName":347,"properties":1660,"children":1661},{"style":750},[1662],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":1664,"children":1665},{"style":459},[1666],{"type":27,"value":1667}," 32",{"type":31,"tagName":347,"properties":1669,"children":1670},{"style":409},[1671],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1673,"children":1674},{"style":353},[1675],{"type":27,"value":1676},"// the params, read in onStart()",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1679,"children":1680},{"class":349},[1681,1685,1690,1694,1699,1704,1708,1712,1717,1721,1726,1730,1734,1739,1744,1749,1753,1757,1761,1765,1769,1774,1778,1782,1786,1790,1794,1799,1803,1807,1811],{"type":31,"tagName":347,"properties":1682,"children":1683},{"style":750},[1684],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":1686,"children":1687},{"style":409},[1688],{"type":27,"value":1689}," seq ",{"type":31,"tagName":347,"properties":1691,"children":1692},{"style":750},[1693],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":1695,"children":1696},{"style":750},[1697],{"type":27,"value":1698}," -",{"type":31,"tagName":347,"properties":1700,"children":1701},{"style":459},[1702],{"type":27,"value":1703},"1",{"type":31,"tagName":347,"properties":1705,"children":1706},{"style":409},[1707],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1709,"children":1710},{"style":750},[1711],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":1713,"children":1714},{"style":409},[1715],{"type":27,"value":1716}," openSeq ",{"type":31,"tagName":347,"properties":1718,"children":1719},{"style":750},[1720],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":1722,"children":1723},{"style":459},[1724],{"type":27,"value":1725}," 0",{"type":31,"tagName":347,"properties":1727,"children":1728},{"style":409},[1729],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1731,"children":1732},{"style":750},[1733],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":1735,"children":1736},{"style":409},[1737],{"type":27,"value":1738}," openDay",{"type":31,"tagName":347,"properties":1740,"children":1741},{"style":750},[1742],{"type":27,"value":1743},":",{"type":31,"tagName":347,"properties":1745,"children":1746},{"style":403},[1747],{"type":27,"value":1748}," i64",{"type":31,"tagName":347,"properties":1750,"children":1751},{"style":750},[1752],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1754,"children":1755},{"style":750},[1756],{"type":27,"value":1698},{"type":31,"tagName":347,"properties":1758,"children":1759},{"style":459},[1760],{"type":27,"value":1703},{"type":31,"tagName":347,"properties":1762,"children":1763},{"style":409},[1764],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1766,"children":1767},{"style":750},[1768],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":1770,"children":1771},{"style":409},[1772],{"type":27,"value":1773}," doneHead ",{"type":31,"tagName":347,"properties":1775,"children":1776},{"style":750},[1777],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":1779,"children":1780},{"style":750},[1781],{"type":27,"value":1698},{"type":31,"tagName":347,"properties":1783,"children":1784},{"style":459},[1785],{"type":27,"value":1703},{"type":31,"tagName":347,"properties":1787,"children":1788},{"style":409},[1789],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1791,"children":1792},{"style":750},[1793],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":1795,"children":1796},{"style":409},[1797],{"type":27,"value":1798}," doneCount ",{"type":31,"tagName":347,"properties":1800,"children":1801},{"style":750},[1802],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":1804,"children":1805},{"style":459},[1806],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":1808,"children":1809},{"style":409},[1810],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1812,"children":1813},{"style":353},[1814],{"type":27,"value":1815},"// the bars counted (bar s sits in ring slot s % MAX_BARS), the open day and its first bar, the finished days' ring: its newest slot and the days in it",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1818,"children":1819},{"class":349},[1820,1824,1829,1833,1838,1842,1847,1851],{"type":31,"tagName":347,"properties":1821,"children":1822},{"style":750},[1823],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":1825,"children":1826},{"style":409},[1827],{"type":27,"value":1828}," prevOi",{"type":31,"tagName":347,"properties":1830,"children":1831},{"style":750},[1832],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":1834,"children":1835},{"style":403},[1836],{"type":27,"value":1837}," f64",{"type":31,"tagName":347,"properties":1839,"children":1840},{"style":750},[1841],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1843,"children":1844},{"style":459},[1845],{"type":27,"value":1846}," NaN",{"type":31,"tagName":347,"properties":1848,"children":1849},{"style":409},[1850],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1852,"children":1853},{"style":353},[1854],{"type":27,"value":1855},"// the last open-interest reading",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1858,"children":1859},{"class":349},[1860,1864,1869,1873,1877,1881,1885,1889],{"type":31,"tagName":347,"properties":1861,"children":1862},{"style":750},[1863],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":1865,"children":1866},{"style":409},[1867],{"type":27,"value":1868}," t",{"type":31,"tagName":347,"properties":1870,"children":1871},{"style":750},[1872],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":1874,"children":1875},{"style":403},[1876],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":1878,"children":1879},{"style":750},[1880],{"type":27,"value":763},{"type":31,"tagName":347,"properties":1882,"children":1883},{"style":459},[1884],{"type":27,"value":1846},{"type":31,"tagName":347,"properties":1886,"children":1887},{"style":409},[1888],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":1890,"children":1891},{"style":353},[1892],{"type":27,"value":1893},"// this bar's open time",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1896,"children":1897},{"class":349},[],{"type":27,"value":28},{"type":31,"tagName":347,"properties":1900,"children":1901},{"class":349},[1902,1907,1912,1916,1922,1926,1930,1935,1939,1943,1948,1953,1957,1962,1967,1972,1977,1982,1987],{"type":31,"tagName":347,"properties":1903,"children":1904},{"style":750},[1905],{"type":27,"value":1906},"function",{"type":31,"tagName":347,"properties":1908,"children":1909},{"style":403},[1910],{"type":27,"value":1911}," dayOf",{"type":31,"tagName":347,"properties":1913,"children":1914},{"style":409},[1915],{"type":27,"value":412},{"type":31,"tagName":347,"properties":1917,"children":1919},{"style":1918},"--shiki-dark:#FFAB70;--shiki-light:#E36209",[1920],{"type":27,"value":1921},"time",{"type":31,"tagName":347,"properties":1923,"children":1924},{"style":750},[1925],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":1927,"children":1928},{"style":403},[1929],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":1931,"children":1932},{"style":409},[1933],{"type":27,"value":1934},")",{"type":31,"tagName":347,"properties":1936,"children":1937},{"style":750},[1938],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":1940,"children":1941},{"style":403},[1942],{"type":27,"value":1748},{"type":31,"tagName":347,"properties":1944,"children":1945},{"style":409},[1946],{"type":27,"value":1947}," { ",{"type":31,"tagName":347,"properties":1949,"children":1950},{"style":750},[1951],{"type":27,"value":1952},"return",{"type":31,"tagName":347,"properties":1954,"children":1955},{"style":403},[1956],{"type":27,"value":1748},{"type":31,"tagName":347,"properties":1958,"children":1959},{"style":409},[1960],{"type":27,"value":1961},"(Math.",{"type":31,"tagName":347,"properties":1963,"children":1964},{"style":403},[1965],{"type":27,"value":1966},"floor",{"type":31,"tagName":347,"properties":1968,"children":1969},{"style":409},[1970],{"type":27,"value":1971},"(time ",{"type":31,"tagName":347,"properties":1973,"children":1974},{"style":750},[1975],{"type":27,"value":1976},"/",{"type":31,"tagName":347,"properties":1978,"children":1979},{"style":459},[1980],{"type":27,"value":1981}," 86400.0",{"type":31,"tagName":347,"properties":1983,"children":1984},{"style":409},[1985],{"type":27,"value":1986},")); } ",{"type":31,"tagName":347,"properties":1988,"children":1989},{"style":353},[1990],{"type":27,"value":1991},"// the UTC day number of an open time",{"type":27,"value":28},{"type":31,"tagName":347,"properties":1994,"children":1995},{"class":349},[1996,2000,2005,2009,2014,2018,2022,2026,2030,2035,2039],{"type":31,"tagName":347,"properties":1997,"children":1998},{"style":750},[1999],{"type":27,"value":1906},{"type":31,"tagName":347,"properties":2001,"children":2002},{"style":403},[2003],{"type":27,"value":2004}," priceDecimals",{"type":31,"tagName":347,"properties":2006,"children":2007},{"style":409},[2008],{"type":27,"value":412},{"type":31,"tagName":347,"properties":2010,"children":2011},{"style":1918},[2012],{"type":27,"value":2013},"step",{"type":31,"tagName":347,"properties":2015,"children":2016},{"style":750},[2017],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":2019,"children":2020},{"style":403},[2021],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":2023,"children":2024},{"style":409},[2025],{"type":27,"value":1934},{"type":31,"tagName":347,"properties":2027,"children":2028},{"style":750},[2029],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":2031,"children":2032},{"style":403},[2033],{"type":27,"value":2034}," i32",{"type":31,"tagName":347,"properties":2036,"children":2037},{"style":409},[2038],{"type":27,"value":1947},{"type":31,"tagName":347,"properties":2040,"children":2041},{"style":353},[2042],{"type":27,"value":2043},"// enough decimals that the rounded row prices stay evenly spaced (the docked grid is contiguous only within 0.1% of its step)",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2046,"children":2047},{"class":349},[2048,2053,2058,2062,2066,2070,2075,2079,2084,2088,2093,2098,2103,2107,2112,2117,2122,2126,2131,2135,2140,2145,2149,2154,2158,2163,2168,2172,2176,2180],{"type":31,"tagName":347,"properties":2049,"children":2050},{"style":750},[2051],{"type":27,"value":2052},"  const",{"type":31,"tagName":347,"properties":2054,"children":2055},{"style":459},[2056],{"type":27,"value":2057}," d",{"type":31,"tagName":347,"properties":2059,"children":2060},{"style":750},[2061],{"type":27,"value":763},{"type":31,"tagName":347,"properties":2063,"children":2064},{"style":403},[2065],{"type":27,"value":2034},{"type":31,"tagName":347,"properties":2067,"children":2068},{"style":409},[2069],{"type":27,"value":1961},{"type":31,"tagName":347,"properties":2071,"children":2072},{"style":403},[2073],{"type":27,"value":2074},"ceil",{"type":31,"tagName":347,"properties":2076,"children":2077},{"style":409},[2078],{"type":27,"value":1961},{"type":31,"tagName":347,"properties":2080,"children":2081},{"style":403},[2082],{"type":27,"value":2083},"log",{"type":31,"tagName":347,"properties":2085,"children":2086},{"style":409},[2087],{"type":27,"value":412},{"type":31,"tagName":347,"properties":2089,"children":2090},{"style":459},[2091],{"type":27,"value":2092},"2000.0",{"type":31,"tagName":347,"properties":2094,"children":2095},{"style":750},[2096],{"type":27,"value":2097}," /",{"type":31,"tagName":347,"properties":2099,"children":2100},{"style":409},[2101],{"type":27,"value":2102}," step) ",{"type":31,"tagName":347,"properties":2104,"children":2105},{"style":750},[2106],{"type":27,"value":1976},{"type":31,"tagName":347,"properties":2108,"children":2109},{"style":409},[2110],{"type":27,"value":2111}," Math.",{"type":31,"tagName":347,"properties":2113,"children":2114},{"style":459},[2115],{"type":27,"value":2116},"LN10",{"type":31,"tagName":347,"properties":2118,"children":2119},{"style":409},[2120],{"type":27,"value":2121},")); ",{"type":31,"tagName":347,"properties":2123,"children":2124},{"style":750},[2125],{"type":27,"value":1952},{"type":31,"tagName":347,"properties":2127,"children":2128},{"style":409},[2129],{"type":27,"value":2130}," d ",{"type":31,"tagName":347,"properties":2132,"children":2133},{"style":750},[2134],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":2136,"children":2137},{"style":459},[2138],{"type":27,"value":2139}," 2",{"type":31,"tagName":347,"properties":2141,"children":2142},{"style":750},[2143],{"type":27,"value":2144}," ?",{"type":31,"tagName":347,"properties":2146,"children":2147},{"style":459},[2148],{"type":27,"value":2139},{"type":31,"tagName":347,"properties":2150,"children":2151},{"style":750},[2152],{"type":27,"value":2153}," :",{"type":31,"tagName":347,"properties":2155,"children":2156},{"style":409},[2157],{"type":27,"value":2130},{"type":31,"tagName":347,"properties":2159,"children":2160},{"style":750},[2161],{"type":27,"value":2162},">",{"type":31,"tagName":347,"properties":2164,"children":2165},{"style":459},[2166],{"type":27,"value":2167}," 9",{"type":31,"tagName":347,"properties":2169,"children":2170},{"style":750},[2171],{"type":27,"value":2144},{"type":31,"tagName":347,"properties":2173,"children":2174},{"style":459},[2175],{"type":27,"value":2167},{"type":31,"tagName":347,"properties":2177,"children":2178},{"style":750},[2179],{"type":27,"value":2153},{"type":31,"tagName":347,"properties":2181,"children":2182},{"style":409},[2183],{"type":27,"value":2184}," d;",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2187,"children":2188},{"class":349},[2189],{"type":31,"tagName":347,"properties":2190,"children":2191},{"style":409},[2192],{"type":27,"value":2193},"}",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2196,"children":2197},{"class":349},[],{"type":27,"value":28},{"type":31,"tagName":347,"properties":2200,"children":2201},{"class":349},[2202],{"type":31,"tagName":347,"properties":2203,"children":2204},{"style":353},[2205],{"type":27,"value":2206},"// ── One day's profile: its bars folded into `rows` price rows across the day's span, kept in a day slot ──",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2209,"children":2210},{"class":349},[2211,2215,2220,2224,2228,2232,2236,2240,2245,2249,2253,2257,2262,2266,2270,2274,2279,2283,2287,2291,2296,2300,2304,2308,2313,2317,2321,2325,2329,2334,2338],{"type":31,"tagName":347,"properties":2212,"children":2213},{"style":750},[2214],{"type":27,"value":1906},{"type":31,"tagName":347,"properties":2216,"children":2217},{"style":403},[2218],{"type":27,"value":2219}," spread",{"type":31,"tagName":347,"properties":2221,"children":2222},{"style":409},[2223],{"type":27,"value":412},{"type":31,"tagName":347,"properties":2225,"children":2226},{"style":1918},[2227],{"type":27,"value":102},{"type":31,"tagName":347,"properties":2229,"children":2230},{"style":750},[2231],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":2233,"children":2234},{"style":403},[2235],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":2237,"children":2238},{"style":409},[2239],{"type":27,"value":456},{"type":31,"tagName":347,"properties":2241,"children":2242},{"style":1918},[2243],{"type":27,"value":2244},"b",{"type":31,"tagName":347,"properties":2246,"children":2247},{"style":750},[2248],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":2250,"children":2251},{"style":403},[2252],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":2254,"children":2255},{"style":409},[2256],{"type":27,"value":456},{"type":31,"tagName":347,"properties":2258,"children":2259},{"style":1918},[2260],{"type":27,"value":2261},"amount",{"type":31,"tagName":347,"properties":2263,"children":2264},{"style":750},[2265],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":2267,"children":2268},{"style":403},[2269],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":2271,"children":2272},{"style":409},[2273],{"type":27,"value":456},{"type":31,"tagName":347,"properties":2275,"children":2276},{"style":1918},[2277],{"type":27,"value":2278},"gridLo",{"type":31,"tagName":347,"properties":2280,"children":2281},{"style":750},[2282],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":2284,"children":2285},{"style":403},[2286],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":2288,"children":2289},{"style":409},[2290],{"type":27,"value":456},{"type":31,"tagName":347,"properties":2292,"children":2293},{"style":1918},[2294],{"type":27,"value":2295},"width",{"type":31,"tagName":347,"properties":2297,"children":2298},{"style":750},[2299],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":2301,"children":2302},{"style":403},[2303],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":2305,"children":2306},{"style":409},[2307],{"type":27,"value":456},{"type":31,"tagName":347,"properties":2309,"children":2310},{"style":1918},[2311],{"type":27,"value":2312},"base",{"type":31,"tagName":347,"properties":2314,"children":2315},{"style":750},[2316],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":2318,"children":2319},{"style":403},[2320],{"type":27,"value":2034},{"type":31,"tagName":347,"properties":2322,"children":2323},{"style":409},[2324],{"type":27,"value":1934},{"type":31,"tagName":347,"properties":2326,"children":2327},{"style":750},[2328],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":2330,"children":2331},{"style":459},[2332],{"type":27,"value":2333}," void",{"type":31,"tagName":347,"properties":2335,"children":2336},{"style":409},[2337],{"type":27,"value":1947},{"type":31,"tagName":347,"properties":2339,"children":2340},{"style":353},[2341],{"type":27,"value":2342},"// [a, b]'s open-interest change over the rows it overlaps, in proportion",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2345,"children":2346},{"class":349},[2347,2352,2357,2361,2365,2369,2373,2378,2383,2388,2392,2397,2401,2406,2410,2414,2418,2422,2427,2431,2435,2439],{"type":31,"tagName":347,"properties":2348,"children":2349},{"style":750},[2350],{"type":27,"value":2351},"  let",{"type":31,"tagName":347,"properties":2353,"children":2354},{"style":409},[2355],{"type":27,"value":2356}," first ",{"type":31,"tagName":347,"properties":2358,"children":2359},{"style":750},[2360],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":2362,"children":2363},{"style":403},[2364],{"type":27,"value":2034},{"type":31,"tagName":347,"properties":2366,"children":2367},{"style":409},[2368],{"type":27,"value":1961},{"type":31,"tagName":347,"properties":2370,"children":2371},{"style":403},[2372],{"type":27,"value":1966},{"type":31,"tagName":347,"properties":2374,"children":2375},{"style":409},[2376],{"type":27,"value":2377},"((a ",{"type":31,"tagName":347,"properties":2379,"children":2380},{"style":750},[2381],{"type":27,"value":2382},"-",{"type":31,"tagName":347,"properties":2384,"children":2385},{"style":409},[2386],{"type":27,"value":2387}," gridLo) ",{"type":31,"tagName":347,"properties":2389,"children":2390},{"style":750},[2391],{"type":27,"value":1976},{"type":31,"tagName":347,"properties":2393,"children":2394},{"style":409},[2395],{"type":27,"value":2396}," width)); ",{"type":31,"tagName":347,"properties":2398,"children":2399},{"style":750},[2400],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":2402,"children":2403},{"style":409},[2404],{"type":27,"value":2405}," last ",{"type":31,"tagName":347,"properties":2407,"children":2408},{"style":750},[2409],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":2411,"children":2412},{"style":403},[2413],{"type":27,"value":2034},{"type":31,"tagName":347,"properties":2415,"children":2416},{"style":409},[2417],{"type":27,"value":1961},{"type":31,"tagName":347,"properties":2419,"children":2420},{"style":403},[2421],{"type":27,"value":1966},{"type":31,"tagName":347,"properties":2423,"children":2424},{"style":409},[2425],{"type":27,"value":2426},"((b ",{"type":31,"tagName":347,"properties":2428,"children":2429},{"style":750},[2430],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":2432,"children":2433},{"style":409},[2434],{"type":27,"value":2387},{"type":31,"tagName":347,"properties":2436,"children":2437},{"style":750},[2438],{"type":27,"value":1976},{"type":31,"tagName":347,"properties":2440,"children":2441},{"style":409},[2442],{"type":27,"value":2443}," width));",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2446,"children":2447},{"class":349},[2448,2453,2458,2462,2466,2471,2475,2479,2483,2488,2493,2497,2501,2505,2509,2514,2518,2522,2526,2530,2534,2538,2542,2546,2550,2554,2558,2562,2566,2570,2574,2578,2582,2586,2590,2594,2598,2602,2606,2610],{"type":31,"tagName":347,"properties":2449,"children":2450},{"style":750},[2451],{"type":27,"value":2452},"  if",{"type":31,"tagName":347,"properties":2454,"children":2455},{"style":409},[2456],{"type":27,"value":2457}," (first ",{"type":31,"tagName":347,"properties":2459,"children":2460},{"style":750},[2461],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":2463,"children":2464},{"style":459},[2465],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":2467,"children":2468},{"style":409},[2469],{"type":27,"value":2470},") first ",{"type":31,"tagName":347,"properties":2472,"children":2473},{"style":750},[2474],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":2476,"children":2477},{"style":459},[2478],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":2480,"children":2481},{"style":409},[2482],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":2484,"children":2485},{"style":750},[2486],{"type":27,"value":2487},"if",{"type":31,"tagName":347,"properties":2489,"children":2490},{"style":409},[2491],{"type":27,"value":2492}," (last ",{"type":31,"tagName":347,"properties":2494,"children":2495},{"style":750},[2496],{"type":27,"value":2162},{"type":31,"tagName":347,"properties":2498,"children":2499},{"style":409},[2500],{"type":27,"value":1658},{"type":31,"tagName":347,"properties":2502,"children":2503},{"style":750},[2504],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":2506,"children":2507},{"style":459},[2508],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":2510,"children":2511},{"style":409},[2512],{"type":27,"value":2513},") last ",{"type":31,"tagName":347,"properties":2515,"children":2516},{"style":750},[2517],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":2519,"children":2520},{"style":409},[2521],{"type":27,"value":1658},{"type":31,"tagName":347,"properties":2523,"children":2524},{"style":750},[2525],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":2527,"children":2528},{"style":459},[2529],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":2531,"children":2532},{"style":409},[2533],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":2535,"children":2536},{"style":750},[2537],{"type":27,"value":2487},{"type":31,"tagName":347,"properties":2539,"children":2540},{"style":409},[2541],{"type":27,"value":2457},{"type":31,"tagName":347,"properties":2543,"children":2544},{"style":750},[2545],{"type":27,"value":2162},{"type":31,"tagName":347,"properties":2547,"children":2548},{"style":409},[2549],{"type":27,"value":1658},{"type":31,"tagName":347,"properties":2551,"children":2552},{"style":750},[2553],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":2555,"children":2556},{"style":459},[2557],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":2559,"children":2560},{"style":409},[2561],{"type":27,"value":2470},{"type":31,"tagName":347,"properties":2563,"children":2564},{"style":750},[2565],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":2567,"children":2568},{"style":409},[2569],{"type":27,"value":1658},{"type":31,"tagName":347,"properties":2571,"children":2572},{"style":750},[2573],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":2575,"children":2576},{"style":459},[2577],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":2579,"children":2580},{"style":409},[2581],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":2583,"children":2584},{"style":750},[2585],{"type":27,"value":2487},{"type":31,"tagName":347,"properties":2587,"children":2588},{"style":409},[2589],{"type":27,"value":2492},{"type":31,"tagName":347,"properties":2591,"children":2592},{"style":750},[2593],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":2595,"children":2596},{"style":459},[2597],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":2599,"children":2600},{"style":409},[2601],{"type":27,"value":2513},{"type":31,"tagName":347,"properties":2603,"children":2604},{"style":750},[2605],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":2607,"children":2608},{"style":459},[2609],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":2611,"children":2612},{"style":409},[2613],{"type":27,"value":2614},";",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2617,"children":2618},{"class":349},[2619,2623,2627,2632,2636,2641,2646,2650,2655,2660,2665,2670,2675,2680,2685,2690,2694,2698,2702,2706,2711,2716,2720,2725],{"type":31,"tagName":347,"properties":2620,"children":2621},{"style":750},[2622],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":2624,"children":2625},{"style":409},[2626],{"type":27,"value":2457},{"type":31,"tagName":347,"properties":2628,"children":2629},{"style":750},[2630],{"type":27,"value":2631},">=",{"type":31,"tagName":347,"properties":2633,"children":2634},{"style":409},[2635],{"type":27,"value":2405},{"type":31,"tagName":347,"properties":2637,"children":2638},{"style":750},[2639],{"type":27,"value":2640},"||",{"type":31,"tagName":347,"properties":2642,"children":2643},{"style":409},[2644],{"type":27,"value":2645}," b ",{"type":31,"tagName":347,"properties":2647,"children":2648},{"style":750},[2649],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":2651,"children":2652},{"style":409},[2653],{"type":27,"value":2654}," a ",{"type":31,"tagName":347,"properties":2656,"children":2657},{"style":750},[2658],{"type":27,"value":2659},"\u003C=",{"type":31,"tagName":347,"properties":2661,"children":2662},{"style":459},[2663],{"type":27,"value":2664}," 0.0",{"type":31,"tagName":347,"properties":2666,"children":2667},{"style":409},[2668],{"type":27,"value":2669},") { dayNet[base ",{"type":31,"tagName":347,"properties":2671,"children":2672},{"style":750},[2673],{"type":27,"value":2674},"+",{"type":31,"tagName":347,"properties":2676,"children":2677},{"style":409},[2678],{"type":27,"value":2679}," first] ",{"type":31,"tagName":347,"properties":2681,"children":2682},{"style":750},[2683],{"type":27,"value":2684},"+=",{"type":31,"tagName":347,"properties":2686,"children":2687},{"style":409},[2688],{"type":27,"value":2689}," amount; dayMoved[base ",{"type":31,"tagName":347,"properties":2691,"children":2692},{"style":750},[2693],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":2695,"children":2696},{"style":409},[2697],{"type":27,"value":2679},{"type":31,"tagName":347,"properties":2699,"children":2700},{"style":750},[2701],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":2703,"children":2704},{"style":409},[2705],{"type":27,"value":2111},{"type":31,"tagName":347,"properties":2707,"children":2708},{"style":403},[2709],{"type":27,"value":2710},"abs",{"type":31,"tagName":347,"properties":2712,"children":2713},{"style":409},[2714],{"type":27,"value":2715},"(amount); ",{"type":31,"tagName":347,"properties":2717,"children":2718},{"style":750},[2719],{"type":27,"value":1952},{"type":31,"tagName":347,"properties":2721,"children":2722},{"style":409},[2723],{"type":27,"value":2724},"; } ",{"type":31,"tagName":347,"properties":2726,"children":2727},{"style":353},[2728],{"type":27,"value":2729},"// one row, or a bar thinner than the grid",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2732,"children":2733},{"class":349},[2734,2739,2743,2747,2752,2756,2761,2765,2770,2774,2778],{"type":31,"tagName":347,"properties":2735,"children":2736},{"style":750},[2737],{"type":27,"value":2738},"  for",{"type":31,"tagName":347,"properties":2740,"children":2741},{"style":409},[2742],{"type":27,"value":160},{"type":31,"tagName":347,"properties":2744,"children":2745},{"style":750},[2746],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":2748,"children":2749},{"style":409},[2750],{"type":27,"value":2751}," k ",{"type":31,"tagName":347,"properties":2753,"children":2754},{"style":750},[2755],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":2757,"children":2758},{"style":409},[2759],{"type":27,"value":2760}," first; k ",{"type":31,"tagName":347,"properties":2762,"children":2763},{"style":750},[2764],{"type":27,"value":2659},{"type":31,"tagName":347,"properties":2766,"children":2767},{"style":409},[2768],{"type":27,"value":2769}," last; k ",{"type":31,"tagName":347,"properties":2771,"children":2772},{"style":750},[2773],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":2775,"children":2776},{"style":459},[2777],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":2779,"children":2780},{"style":409},[2781],{"type":27,"value":2782},") {",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2785,"children":2786},{"class":349},[2787,2792,2797,2801,2806,2810,2814,2819,2823,2828,2832,2837,2841,2846,2850],{"type":31,"tagName":347,"properties":2788,"children":2789},{"style":750},[2790],{"type":27,"value":2791},"    const",{"type":31,"tagName":347,"properties":2793,"children":2794},{"style":459},[2795],{"type":27,"value":2796}," cellLo",{"type":31,"tagName":347,"properties":2798,"children":2799},{"style":750},[2800],{"type":27,"value":763},{"type":31,"tagName":347,"properties":2802,"children":2803},{"style":409},[2804],{"type":27,"value":2805}," gridLo ",{"type":31,"tagName":347,"properties":2807,"children":2808},{"style":750},[2809],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":2811,"children":2812},{"style":403},[2813],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":2815,"children":2816},{"style":409},[2817],{"type":27,"value":2818},"(k) ",{"type":31,"tagName":347,"properties":2820,"children":2821},{"style":750},[2822],{"type":27,"value":1504},{"type":31,"tagName":347,"properties":2824,"children":2825},{"style":409},[2826],{"type":27,"value":2827}," width; ",{"type":31,"tagName":347,"properties":2829,"children":2830},{"style":750},[2831],{"type":27,"value":753},{"type":31,"tagName":347,"properties":2833,"children":2834},{"style":459},[2835],{"type":27,"value":2836}," cellHi",{"type":31,"tagName":347,"properties":2838,"children":2839},{"style":750},[2840],{"type":27,"value":763},{"type":31,"tagName":347,"properties":2842,"children":2843},{"style":409},[2844],{"type":27,"value":2845}," cellLo ",{"type":31,"tagName":347,"properties":2847,"children":2848},{"style":750},[2849],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":2851,"children":2852},{"style":409},[2853],{"type":27,"value":2854}," width;",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2857,"children":2858},{"class":349},[2859,2863,2868,2872,2876,2881,2886,2890,2894,2899],{"type":31,"tagName":347,"properties":2860,"children":2861},{"style":750},[2862],{"type":27,"value":2791},{"type":31,"tagName":347,"properties":2864,"children":2865},{"style":459},[2866],{"type":27,"value":2867}," overlap",{"type":31,"tagName":347,"properties":2869,"children":2870},{"style":750},[2871],{"type":27,"value":763},{"type":31,"tagName":347,"properties":2873,"children":2874},{"style":409},[2875],{"type":27,"value":2111},{"type":31,"tagName":347,"properties":2877,"children":2878},{"style":403},[2879],{"type":27,"value":2880},"min",{"type":31,"tagName":347,"properties":2882,"children":2883},{"style":409},[2884],{"type":27,"value":2885},"(b, cellHi) ",{"type":31,"tagName":347,"properties":2887,"children":2888},{"style":750},[2889],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":2891,"children":2892},{"style":409},[2893],{"type":27,"value":2111},{"type":31,"tagName":347,"properties":2895,"children":2896},{"style":403},[2897],{"type":27,"value":2898},"max",{"type":31,"tagName":347,"properties":2900,"children":2901},{"style":409},[2902],{"type":27,"value":2903},"(a, cellLo);",{"type":27,"value":28},{"type":31,"tagName":347,"properties":2906,"children":2907},{"class":349},[2908,2913,2918,2922,2926,2931,2935,2940,2944,2949,2953,2958,2962,2967,2971,2976,2980,2985,2989,2994,2998,3002,3006,3010,3014],{"type":31,"tagName":347,"properties":2909,"children":2910},{"style":750},[2911],{"type":27,"value":2912},"    if",{"type":31,"tagName":347,"properties":2914,"children":2915},{"style":409},[2916],{"type":27,"value":2917}," (overlap ",{"type":31,"tagName":347,"properties":2919,"children":2920},{"style":750},[2921],{"type":27,"value":2162},{"type":31,"tagName":347,"properties":2923,"children":2924},{"style":459},[2925],{"type":27,"value":2664},{"type":31,"tagName":347,"properties":2927,"children":2928},{"style":409},[2929],{"type":27,"value":2930},") { ",{"type":31,"tagName":347,"properties":2932,"children":2933},{"style":750},[2934],{"type":27,"value":753},{"type":31,"tagName":347,"properties":2936,"children":2937},{"style":459},[2938],{"type":27,"value":2939}," share",{"type":31,"tagName":347,"properties":2941,"children":2942},{"style":750},[2943],{"type":27,"value":763},{"type":31,"tagName":347,"properties":2945,"children":2946},{"style":409},[2947],{"type":27,"value":2948}," (amount ",{"type":31,"tagName":347,"properties":2950,"children":2951},{"style":750},[2952],{"type":27,"value":1504},{"type":31,"tagName":347,"properties":2954,"children":2955},{"style":409},[2956],{"type":27,"value":2957}," overlap) ",{"type":31,"tagName":347,"properties":2959,"children":2960},{"style":750},[2961],{"type":27,"value":1976},{"type":31,"tagName":347,"properties":2963,"children":2964},{"style":409},[2965],{"type":27,"value":2966}," (b ",{"type":31,"tagName":347,"properties":2968,"children":2969},{"style":750},[2970],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":2972,"children":2973},{"style":409},[2974],{"type":27,"value":2975}," a); dayNet[base ",{"type":31,"tagName":347,"properties":2977,"children":2978},{"style":750},[2979],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":2981,"children":2982},{"style":409},[2983],{"type":27,"value":2984}," k] ",{"type":31,"tagName":347,"properties":2986,"children":2987},{"style":750},[2988],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":2990,"children":2991},{"style":409},[2992],{"type":27,"value":2993}," share; dayMoved[base ",{"type":31,"tagName":347,"properties":2995,"children":2996},{"style":750},[2997],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":2999,"children":3000},{"style":409},[3001],{"type":27,"value":2984},{"type":31,"tagName":347,"properties":3003,"children":3004},{"style":750},[3005],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":3007,"children":3008},{"style":409},[3009],{"type":27,"value":2111},{"type":31,"tagName":347,"properties":3011,"children":3012},{"style":403},[3013],{"type":27,"value":2710},{"type":31,"tagName":347,"properties":3015,"children":3016},{"style":409},[3017],{"type":27,"value":3018},"(share); }",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3021,"children":3022},{"class":349},[3023],{"type":31,"tagName":347,"properties":3024,"children":3025},{"style":409},[3026],{"type":27,"value":3027},"  }",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3030,"children":3031},{"class":349},[3032],{"type":31,"tagName":347,"properties":3033,"children":3034},{"style":409},[3035],{"type":27,"value":2193},{"type":27,"value":28},{"type":31,"tagName":347,"properties":3038,"children":3039},{"class":349},[3040,3044,3049,3053,3058,3062,3066,3070,3075,3079,3083,3087,3092,3096,3100,3104,3108,3112,3116],{"type":31,"tagName":347,"properties":3041,"children":3042},{"style":750},[3043],{"type":27,"value":1906},{"type":31,"tagName":347,"properties":3045,"children":3046},{"style":403},[3047],{"type":27,"value":3048}," foldDay",{"type":31,"tagName":347,"properties":3050,"children":3051},{"style":409},[3052],{"type":27,"value":412},{"type":31,"tagName":347,"properties":3054,"children":3055},{"style":1918},[3056],{"type":27,"value":3057},"from",{"type":31,"tagName":347,"properties":3059,"children":3060},{"style":750},[3061],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":3063,"children":3064},{"style":403},[3065],{"type":27,"value":2034},{"type":31,"tagName":347,"properties":3067,"children":3068},{"style":409},[3069],{"type":27,"value":456},{"type":31,"tagName":347,"properties":3071,"children":3072},{"style":1918},[3073],{"type":27,"value":3074},"to",{"type":31,"tagName":347,"properties":3076,"children":3077},{"style":750},[3078],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":3080,"children":3081},{"style":403},[3082],{"type":27,"value":2034},{"type":31,"tagName":347,"properties":3084,"children":3085},{"style":409},[3086],{"type":27,"value":456},{"type":31,"tagName":347,"properties":3088,"children":3089},{"style":1918},[3090],{"type":27,"value":3091},"slot",{"type":31,"tagName":347,"properties":3093,"children":3094},{"style":750},[3095],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":3097,"children":3098},{"style":403},[3099],{"type":27,"value":2034},{"type":31,"tagName":347,"properties":3101,"children":3102},{"style":409},[3103],{"type":27,"value":1934},{"type":31,"tagName":347,"properties":3105,"children":3106},{"style":750},[3107],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":3109,"children":3110},{"style":459},[3111],{"type":27,"value":2333},{"type":31,"tagName":347,"properties":3113,"children":3114},{"style":409},[3115],{"type":27,"value":1947},{"type":31,"tagName":347,"properties":3117,"children":3118},{"style":353},[3119],{"type":27,"value":3120},"// the bars from..to (counted, oldest first) are one day: its rows into day slot `slot`",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3123,"children":3124},{"class":349},[3125,3129,3134,3138,3143,3147,3151,3156,3160,3165,3169,3173,3177,3181,3185],{"type":31,"tagName":347,"properties":3126,"children":3127},{"style":750},[3128],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":3130,"children":3131},{"style":409},[3132],{"type":27,"value":3133}," (to ",{"type":31,"tagName":347,"properties":3135,"children":3136},{"style":750},[3137],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":3139,"children":3140},{"style":409},[3141],{"type":27,"value":3142}," from ",{"type":31,"tagName":347,"properties":3144,"children":3145},{"style":750},[3146],{"type":27,"value":2631},{"type":31,"tagName":347,"properties":3148,"children":3149},{"style":459},[3150],{"type":27,"value":1043},{"type":31,"tagName":347,"properties":3152,"children":3153},{"style":409},[3154],{"type":27,"value":3155},") from ",{"type":31,"tagName":347,"properties":3157,"children":3158},{"style":750},[3159],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3161,"children":3162},{"style":409},[3163],{"type":27,"value":3164}," to ",{"type":31,"tagName":347,"properties":3166,"children":3167},{"style":750},[3168],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":3170,"children":3171},{"style":459},[3172],{"type":27,"value":1043},{"type":31,"tagName":347,"properties":3174,"children":3175},{"style":750},[3176],{"type":27,"value":1332},{"type":31,"tagName":347,"properties":3178,"children":3179},{"style":459},[3180],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":3182,"children":3183},{"style":409},[3184],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":3186,"children":3187},{"style":353},[3188],{"type":27,"value":3189},"// bars older than the ring are gone",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3192,"children":3193},{"class":349},[3194,3198,3203,3207,3212,3216,3220,3225,3229,3233,3238],{"type":31,"tagName":347,"properties":3195,"children":3196},{"style":750},[3197],{"type":27,"value":2351},{"type":31,"tagName":347,"properties":3199,"children":3200},{"style":409},[3201],{"type":27,"value":3202}," lo ",{"type":31,"tagName":347,"properties":3204,"children":3205},{"style":750},[3206],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3208,"children":3209},{"style":459},[3210],{"type":27,"value":3211}," Infinity",{"type":31,"tagName":347,"properties":3213,"children":3214},{"style":409},[3215],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":3217,"children":3218},{"style":750},[3219],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":3221,"children":3222},{"style":409},[3223],{"type":27,"value":3224}," hi ",{"type":31,"tagName":347,"properties":3226,"children":3227},{"style":750},[3228],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3230,"children":3231},{"style":750},[3232],{"type":27,"value":1698},{"type":31,"tagName":347,"properties":3234,"children":3235},{"style":459},[3236],{"type":27,"value":3237},"Infinity",{"type":31,"tagName":347,"properties":3239,"children":3240},{"style":409},[3241],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":3244,"children":3245},{"class":349},[3246,3250,3254,3258,3263,3267,3272,3276,3281,3285,3289,3293,3297,3302,3306,3310,3315,3319,3323,3327,3332,3336,3341,3345,3350,3354,3359,3363,3368,3372],{"type":31,"tagName":347,"properties":3247,"children":3248},{"style":750},[3249],{"type":27,"value":2738},{"type":31,"tagName":347,"properties":3251,"children":3252},{"style":409},[3253],{"type":27,"value":160},{"type":31,"tagName":347,"properties":3255,"children":3256},{"style":750},[3257],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":3259,"children":3260},{"style":409},[3261],{"type":27,"value":3262}," s ",{"type":31,"tagName":347,"properties":3264,"children":3265},{"style":750},[3266],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3268,"children":3269},{"style":409},[3270],{"type":27,"value":3271}," from; s ",{"type":31,"tagName":347,"properties":3273,"children":3274},{"style":750},[3275],{"type":27,"value":2659},{"type":31,"tagName":347,"properties":3277,"children":3278},{"style":409},[3279],{"type":27,"value":3280}," to; s ",{"type":31,"tagName":347,"properties":3282,"children":3283},{"style":750},[3284],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":3286,"children":3287},{"style":459},[3288],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":3290,"children":3291},{"style":409},[3292],{"type":27,"value":2930},{"type":31,"tagName":347,"properties":3294,"children":3295},{"style":750},[3296],{"type":27,"value":753},{"type":31,"tagName":347,"properties":3298,"children":3299},{"style":459},[3300],{"type":27,"value":3301}," i",{"type":31,"tagName":347,"properties":3303,"children":3304},{"style":750},[3305],{"type":27,"value":763},{"type":31,"tagName":347,"properties":3307,"children":3308},{"style":409},[3309],{"type":27,"value":3262},{"type":31,"tagName":347,"properties":3311,"children":3312},{"style":750},[3313],{"type":27,"value":3314},"%",{"type":31,"tagName":347,"properties":3316,"children":3317},{"style":459},[3318],{"type":27,"value":1043},{"type":31,"tagName":347,"properties":3320,"children":3321},{"style":409},[3322],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":3324,"children":3325},{"style":750},[3326],{"type":27,"value":2487},{"type":31,"tagName":347,"properties":3328,"children":3329},{"style":409},[3330],{"type":27,"value":3331}," (barLo[i] ",{"type":31,"tagName":347,"properties":3333,"children":3334},{"style":750},[3335],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":3337,"children":3338},{"style":409},[3339],{"type":27,"value":3340}," lo) lo ",{"type":31,"tagName":347,"properties":3342,"children":3343},{"style":750},[3344],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3346,"children":3347},{"style":409},[3348],{"type":27,"value":3349}," barLo[i]; ",{"type":31,"tagName":347,"properties":3351,"children":3352},{"style":750},[3353],{"type":27,"value":2487},{"type":31,"tagName":347,"properties":3355,"children":3356},{"style":409},[3357],{"type":27,"value":3358}," (barHi[i] ",{"type":31,"tagName":347,"properties":3360,"children":3361},{"style":750},[3362],{"type":27,"value":2162},{"type":31,"tagName":347,"properties":3364,"children":3365},{"style":409},[3366],{"type":27,"value":3367}," hi) hi ",{"type":31,"tagName":347,"properties":3369,"children":3370},{"style":750},[3371],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3373,"children":3374},{"style":409},[3375],{"type":27,"value":3376}," barHi[i]; }",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3379,"children":3380},{"class":349},[3381,3386,3390,3394],{"type":31,"tagName":347,"properties":3382,"children":3383},{"style":409},[3384],{"type":27,"value":3385},"  dayStart[slot] ",{"type":31,"tagName":347,"properties":3387,"children":3388},{"style":750},[3389],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3391,"children":3392},{"style":459},[3393],{"type":27,"value":1846},{"type":31,"tagName":347,"properties":3395,"children":3396},{"style":409},[3397],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":3400,"children":3401},{"class":349},[3402,3406,3410,3415,3420,3424,3429,3433,3437],{"type":31,"tagName":347,"properties":3403,"children":3404},{"style":750},[3405],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":3407,"children":3408},{"style":409},[3409],{"type":27,"value":160},{"type":31,"tagName":347,"properties":3411,"children":3412},{"style":750},[3413],{"type":27,"value":3414},"!",{"type":31,"tagName":347,"properties":3416,"children":3417},{"style":409},[3418],{"type":27,"value":3419},"(hi ",{"type":31,"tagName":347,"properties":3421,"children":3422},{"style":750},[3423],{"type":27,"value":2162},{"type":31,"tagName":347,"properties":3425,"children":3426},{"style":409},[3427],{"type":27,"value":3428}," lo)) ",{"type":31,"tagName":347,"properties":3430,"children":3431},{"style":750},[3432],{"type":27,"value":1952},{"type":31,"tagName":347,"properties":3434,"children":3435},{"style":409},[3436],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":3438,"children":3439},{"style":353},[3440],{"type":27,"value":3441},"// a day with no price span",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3444,"children":3445},{"class":349},[3446,3450,3455,3459,3464,3468,3473,3477,3481,3486,3490,3495,3499,3504,3508,3512],{"type":31,"tagName":347,"properties":3447,"children":3448},{"style":750},[3449],{"type":27,"value":2052},{"type":31,"tagName":347,"properties":3451,"children":3452},{"style":459},[3453],{"type":27,"value":3454}," rowHeight",{"type":31,"tagName":347,"properties":3456,"children":3457},{"style":750},[3458],{"type":27,"value":763},{"type":31,"tagName":347,"properties":3460,"children":3461},{"style":409},[3462],{"type":27,"value":3463}," (hi ",{"type":31,"tagName":347,"properties":3465,"children":3466},{"style":750},[3467],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":3469,"children":3470},{"style":409},[3471],{"type":27,"value":3472}," lo) ",{"type":31,"tagName":347,"properties":3474,"children":3475},{"style":750},[3476],{"type":27,"value":1976},{"type":31,"tagName":347,"properties":3478,"children":3479},{"style":403},[3480],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":3482,"children":3483},{"style":409},[3484],{"type":27,"value":3485},"(rows); ",{"type":31,"tagName":347,"properties":3487,"children":3488},{"style":750},[3489],{"type":27,"value":753},{"type":31,"tagName":347,"properties":3491,"children":3492},{"style":459},[3493],{"type":27,"value":3494}," base",{"type":31,"tagName":347,"properties":3496,"children":3497},{"style":750},[3498],{"type":27,"value":763},{"type":31,"tagName":347,"properties":3500,"children":3501},{"style":409},[3502],{"type":27,"value":3503}," slot ",{"type":31,"tagName":347,"properties":3505,"children":3506},{"style":750},[3507],{"type":27,"value":1504},{"type":31,"tagName":347,"properties":3509,"children":3510},{"style":459},[3511],{"type":27,"value":1066},{"type":31,"tagName":347,"properties":3513,"children":3514},{"style":409},[3515],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":3518,"children":3519},{"class":349},[3520,3524,3528,3532,3537,3541,3545,3550,3554,3559,3563,3567,3571,3575,3580,3584,3588,3593,3597,3601,3605,3609],{"type":31,"tagName":347,"properties":3521,"children":3522},{"style":750},[3523],{"type":27,"value":2738},{"type":31,"tagName":347,"properties":3525,"children":3526},{"style":409},[3527],{"type":27,"value":160},{"type":31,"tagName":347,"properties":3529,"children":3530},{"style":750},[3531],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":3533,"children":3534},{"style":409},[3535],{"type":27,"value":3536}," r ",{"type":31,"tagName":347,"properties":3538,"children":3539},{"style":750},[3540],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3542,"children":3543},{"style":459},[3544],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":3546,"children":3547},{"style":409},[3548],{"type":27,"value":3549},"; r ",{"type":31,"tagName":347,"properties":3551,"children":3552},{"style":750},[3553],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":3555,"children":3556},{"style":409},[3557],{"type":27,"value":3558}," rows; r ",{"type":31,"tagName":347,"properties":3560,"children":3561},{"style":750},[3562],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":3564,"children":3565},{"style":459},[3566],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":3568,"children":3569},{"style":409},[3570],{"type":27,"value":2669},{"type":31,"tagName":347,"properties":3572,"children":3573},{"style":750},[3574],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":3576,"children":3577},{"style":409},[3578],{"type":27,"value":3579}," r] ",{"type":31,"tagName":347,"properties":3581,"children":3582},{"style":750},[3583],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3585,"children":3586},{"style":459},[3587],{"type":27,"value":2664},{"type":31,"tagName":347,"properties":3589,"children":3590},{"style":409},[3591],{"type":27,"value":3592},"; dayMoved[base ",{"type":31,"tagName":347,"properties":3594,"children":3595},{"style":750},[3596],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":3598,"children":3599},{"style":409},[3600],{"type":27,"value":3579},{"type":31,"tagName":347,"properties":3602,"children":3603},{"style":750},[3604],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3606,"children":3607},{"style":459},[3608],{"type":27,"value":2664},{"type":31,"tagName":347,"properties":3610,"children":3611},{"style":409},[3612],{"type":27,"value":3613},"; }",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3616,"children":3617},{"class":349},[3618,3622,3627,3631,3635],{"type":31,"tagName":347,"properties":3619,"children":3620},{"style":750},[3621],{"type":27,"value":2351},{"type":31,"tagName":347,"properties":3623,"children":3624},{"style":409},[3625],{"type":27,"value":3626}," moved ",{"type":31,"tagName":347,"properties":3628,"children":3629},{"style":750},[3630],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3632,"children":3633},{"style":459},[3634],{"type":27,"value":2664},{"type":31,"tagName":347,"properties":3636,"children":3637},{"style":409},[3638],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":3641,"children":3642},{"class":349},[3643,3647,3651,3655,3659,3663,3667,3671,3675,3679,3683],{"type":31,"tagName":347,"properties":3644,"children":3645},{"style":750},[3646],{"type":27,"value":2738},{"type":31,"tagName":347,"properties":3648,"children":3649},{"style":409},[3650],{"type":27,"value":160},{"type":31,"tagName":347,"properties":3652,"children":3653},{"style":750},[3654],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":3656,"children":3657},{"style":409},[3658],{"type":27,"value":3262},{"type":31,"tagName":347,"properties":3660,"children":3661},{"style":750},[3662],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3664,"children":3665},{"style":409},[3666],{"type":27,"value":3271},{"type":31,"tagName":347,"properties":3668,"children":3669},{"style":750},[3670],{"type":27,"value":2659},{"type":31,"tagName":347,"properties":3672,"children":3673},{"style":409},[3674],{"type":27,"value":3280},{"type":31,"tagName":347,"properties":3676,"children":3677},{"style":750},[3678],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":3680,"children":3681},{"style":459},[3682],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":3684,"children":3685},{"style":409},[3686],{"type":27,"value":2782},{"type":27,"value":28},{"type":31,"tagName":347,"properties":3689,"children":3690},{"class":349},[3691,3695,3699,3703,3707,3711,3715,3719,3723,3728,3732],{"type":31,"tagName":347,"properties":3692,"children":3693},{"style":750},[3694],{"type":27,"value":2791},{"type":31,"tagName":347,"properties":3696,"children":3697},{"style":459},[3698],{"type":27,"value":3301},{"type":31,"tagName":347,"properties":3700,"children":3701},{"style":750},[3702],{"type":27,"value":763},{"type":31,"tagName":347,"properties":3704,"children":3705},{"style":409},[3706],{"type":27,"value":3262},{"type":31,"tagName":347,"properties":3708,"children":3709},{"style":750},[3710],{"type":27,"value":3314},{"type":31,"tagName":347,"properties":3712,"children":3713},{"style":459},[3714],{"type":27,"value":1043},{"type":31,"tagName":347,"properties":3716,"children":3717},{"style":409},[3718],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":3720,"children":3721},{"style":750},[3722],{"type":27,"value":753},{"type":31,"tagName":347,"properties":3724,"children":3725},{"style":459},[3726],{"type":27,"value":3727}," change",{"type":31,"tagName":347,"properties":3729,"children":3730},{"style":750},[3731],{"type":27,"value":763},{"type":31,"tagName":347,"properties":3733,"children":3734},{"style":409},[3735],{"type":27,"value":3736}," barOi[i];",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3739,"children":3740},{"class":349},[3741,3745,3749,3754,3759,3763,3768,3773,3777,3781,3786],{"type":31,"tagName":347,"properties":3742,"children":3743},{"style":750},[3744],{"type":27,"value":2912},{"type":31,"tagName":347,"properties":3746,"children":3747},{"style":409},[3748],{"type":27,"value":160},{"type":31,"tagName":347,"properties":3750,"children":3751},{"style":403},[3752],{"type":27,"value":3753},"isNaN",{"type":31,"tagName":347,"properties":3755,"children":3756},{"style":409},[3757],{"type":27,"value":3758},"(change) ",{"type":31,"tagName":347,"properties":3760,"children":3761},{"style":750},[3762],{"type":27,"value":2640},{"type":31,"tagName":347,"properties":3764,"children":3765},{"style":409},[3766],{"type":27,"value":3767}," change ",{"type":31,"tagName":347,"properties":3769,"children":3770},{"style":750},[3771],{"type":27,"value":3772},"==",{"type":31,"tagName":347,"properties":3774,"children":3775},{"style":459},[3776],{"type":27,"value":2664},{"type":31,"tagName":347,"properties":3778,"children":3779},{"style":409},[3780],{"type":27,"value":1499},{"type":31,"tagName":347,"properties":3782,"children":3783},{"style":750},[3784],{"type":27,"value":3785},"continue",{"type":31,"tagName":347,"properties":3787,"children":3788},{"style":409},[3789],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":3792,"children":3793},{"class":349},[3794,3799,3804,3808,3812,3816],{"type":31,"tagName":347,"properties":3795,"children":3796},{"style":403},[3797],{"type":27,"value":3798},"    spread",{"type":31,"tagName":347,"properties":3800,"children":3801},{"style":409},[3802],{"type":27,"value":3803},"(barLo[i], barHi[i], change, lo, rowHeight, base); moved ",{"type":31,"tagName":347,"properties":3805,"children":3806},{"style":750},[3807],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":3809,"children":3810},{"style":409},[3811],{"type":27,"value":2111},{"type":31,"tagName":347,"properties":3813,"children":3814},{"style":403},[3815],{"type":27,"value":2710},{"type":31,"tagName":347,"properties":3817,"children":3818},{"style":409},[3819],{"type":27,"value":3820},"(change);",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3823,"children":3824},{"class":349},[3825],{"type":31,"tagName":347,"properties":3826,"children":3827},{"style":409},[3828],{"type":27,"value":3027},{"type":27,"value":28},{"type":31,"tagName":347,"properties":3831,"children":3832},{"class":349},[3833,3837,3842,3846,3850,3854,3858,3862],{"type":31,"tagName":347,"properties":3834,"children":3835},{"style":750},[3836],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":3838,"children":3839},{"style":409},[3840],{"type":27,"value":3841}," (moved ",{"type":31,"tagName":347,"properties":3843,"children":3844},{"style":750},[3845],{"type":27,"value":2659},{"type":31,"tagName":347,"properties":3847,"children":3848},{"style":459},[3849],{"type":27,"value":2664},{"type":31,"tagName":347,"properties":3851,"children":3852},{"style":409},[3853],{"type":27,"value":1499},{"type":31,"tagName":347,"properties":3855,"children":3856},{"style":750},[3857],{"type":27,"value":1952},{"type":31,"tagName":347,"properties":3859,"children":3860},{"style":409},[3861],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":3863,"children":3864},{"style":353},[3865],{"type":27,"value":3866},"// a day with no open-interest change",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3869,"children":3870},{"class":349},[3871,3875,3879,3883,3887,3892,3897,3901,3905,3910,3914,3918,3923,3927,3932,3936,3941],{"type":31,"tagName":347,"properties":3872,"children":3873},{"style":409},[3874],{"type":27,"value":3385},{"type":31,"tagName":347,"properties":3876,"children":3877},{"style":750},[3878],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3880,"children":3881},{"style":403},[3882],{"type":27,"value":1837},{"type":31,"tagName":347,"properties":3884,"children":3885},{"style":409},[3886],{"type":27,"value":412},{"type":31,"tagName":347,"properties":3888,"children":3889},{"style":403},[3890],{"type":27,"value":3891},"dayOf",{"type":31,"tagName":347,"properties":3893,"children":3894},{"style":409},[3895],{"type":27,"value":3896},"(barT[from ",{"type":31,"tagName":347,"properties":3898,"children":3899},{"style":750},[3900],{"type":27,"value":3314},{"type":31,"tagName":347,"properties":3902,"children":3903},{"style":459},[3904],{"type":27,"value":1043},{"type":31,"tagName":347,"properties":3906,"children":3907},{"style":409},[3908],{"type":27,"value":3909},"])) ",{"type":31,"tagName":347,"properties":3911,"children":3912},{"style":750},[3913],{"type":27,"value":1504},{"type":31,"tagName":347,"properties":3915,"children":3916},{"style":459},[3917],{"type":27,"value":1981},{"type":31,"tagName":347,"properties":3919,"children":3920},{"style":409},[3921],{"type":27,"value":3922},"; dayLo[slot] ",{"type":31,"tagName":347,"properties":3924,"children":3925},{"style":750},[3926],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3928,"children":3929},{"style":409},[3930],{"type":27,"value":3931}," lo; dayStep[slot] ",{"type":31,"tagName":347,"properties":3933,"children":3934},{"style":750},[3935],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":3937,"children":3938},{"style":409},[3939],{"type":27,"value":3940}," rowHeight; ",{"type":31,"tagName":347,"properties":3942,"children":3943},{"style":353},[3944],{"type":27,"value":3945},"// the span: the UTC day the bars belong to, in epoch seconds",{"type":27,"value":28},{"type":31,"tagName":347,"properties":3948,"children":3949},{"class":349},[3950],{"type":31,"tagName":347,"properties":3951,"children":3952},{"style":409},[3953],{"type":27,"value":2193},{"type":27,"value":28},{"type":31,"tagName":347,"properties":3956,"children":3957},{"class":349},[3958,3962,3967,3971,3975,3979,3983,3987,3992,3996,4001,4005,4009,4013,4017],{"type":31,"tagName":347,"properties":3959,"children":3960},{"style":750},[3961],{"type":27,"value":1906},{"type":31,"tagName":347,"properties":3963,"children":3964},{"style":403},[3965],{"type":27,"value":3966}," writeDay",{"type":31,"tagName":347,"properties":3968,"children":3969},{"style":409},[3970],{"type":27,"value":412},{"type":31,"tagName":347,"properties":3972,"children":3973},{"style":1918},[3974],{"type":27,"value":3091},{"type":31,"tagName":347,"properties":3976,"children":3977},{"style":750},[3978],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":3980,"children":3981},{"style":403},[3982],{"type":27,"value":2034},{"type":31,"tagName":347,"properties":3984,"children":3985},{"style":409},[3986],{"type":27,"value":456},{"type":31,"tagName":347,"properties":3988,"children":3989},{"style":1918},[3990],{"type":27,"value":3991},"first",{"type":31,"tagName":347,"properties":3993,"children":3994},{"style":750},[3995],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":3997,"children":3998},{"style":403},[3999],{"type":27,"value":4000}," bool",{"type":31,"tagName":347,"properties":4002,"children":4003},{"style":409},[4004],{"type":27,"value":1934},{"type":31,"tagName":347,"properties":4006,"children":4007},{"style":750},[4008],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":4010,"children":4011},{"style":403},[4012],{"type":27,"value":4000},{"type":31,"tagName":347,"properties":4014,"children":4015},{"style":409},[4016],{"type":27,"value":1947},{"type":31,"tagName":347,"properties":4018,"children":4019},{"style":353},[4020],{"type":27,"value":4021},"// one folded day appended to the frame as a span; false when the day draws nothing",{"type":27,"value":28},{"type":31,"tagName":347,"properties":4024,"children":4025},{"class":349},[4026,4030,4035,4039,4044,4048,4052,4056,4061,4065,4070],{"type":31,"tagName":347,"properties":4027,"children":4028},{"style":750},[4029],{"type":27,"value":2052},{"type":31,"tagName":347,"properties":4031,"children":4032},{"style":459},[4033],{"type":27,"value":4034}," start",{"type":31,"tagName":347,"properties":4036,"children":4037},{"style":750},[4038],{"type":27,"value":763},{"type":31,"tagName":347,"properties":4040,"children":4041},{"style":409},[4042],{"type":27,"value":4043}," dayStart[slot]; ",{"type":31,"tagName":347,"properties":4045,"children":4046},{"style":750},[4047],{"type":27,"value":2487},{"type":31,"tagName":347,"properties":4049,"children":4050},{"style":409},[4051],{"type":27,"value":160},{"type":31,"tagName":347,"properties":4053,"children":4054},{"style":403},[4055],{"type":27,"value":3753},{"type":31,"tagName":347,"properties":4057,"children":4058},{"style":409},[4059],{"type":27,"value":4060},"(start)) ",{"type":31,"tagName":347,"properties":4062,"children":4063},{"style":750},[4064],{"type":27,"value":1952},{"type":31,"tagName":347,"properties":4066,"children":4067},{"style":459},[4068],{"type":27,"value":4069}," false",{"type":31,"tagName":347,"properties":4071,"children":4072},{"style":409},[4073],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":4076,"children":4077},{"class":349},[4078,4082,4087,4091,4096,4100,4104,4108,4113,4117,4121,4125,4129,4133,4137,4141,4145,4150,4154,4158],{"type":31,"tagName":347,"properties":4079,"children":4080},{"style":750},[4081],{"type":27,"value":2052},{"type":31,"tagName":347,"properties":4083,"children":4084},{"style":459},[4085],{"type":27,"value":4086}," lo",{"type":31,"tagName":347,"properties":4088,"children":4089},{"style":750},[4090],{"type":27,"value":763},{"type":31,"tagName":347,"properties":4092,"children":4093},{"style":409},[4094],{"type":27,"value":4095}," dayLo[slot]; ",{"type":31,"tagName":347,"properties":4097,"children":4098},{"style":750},[4099],{"type":27,"value":753},{"type":31,"tagName":347,"properties":4101,"children":4102},{"style":459},[4103],{"type":27,"value":3454},{"type":31,"tagName":347,"properties":4105,"children":4106},{"style":750},[4107],{"type":27,"value":763},{"type":31,"tagName":347,"properties":4109,"children":4110},{"style":409},[4111],{"type":27,"value":4112}," dayStep[slot]; ",{"type":31,"tagName":347,"properties":4114,"children":4115},{"style":750},[4116],{"type":27,"value":753},{"type":31,"tagName":347,"properties":4118,"children":4119},{"style":459},[4120],{"type":27,"value":3494},{"type":31,"tagName":347,"properties":4122,"children":4123},{"style":750},[4124],{"type":27,"value":763},{"type":31,"tagName":347,"properties":4126,"children":4127},{"style":409},[4128],{"type":27,"value":3503},{"type":31,"tagName":347,"properties":4130,"children":4131},{"style":750},[4132],{"type":27,"value":1504},{"type":31,"tagName":347,"properties":4134,"children":4135},{"style":459},[4136],{"type":27,"value":1066},{"type":31,"tagName":347,"properties":4138,"children":4139},{"style":409},[4140],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":4142,"children":4143},{"style":750},[4144],{"type":27,"value":753},{"type":31,"tagName":347,"properties":4146,"children":4147},{"style":459},[4148],{"type":27,"value":4149}," decimals",{"type":31,"tagName":347,"properties":4151,"children":4152},{"style":750},[4153],{"type":27,"value":763},{"type":31,"tagName":347,"properties":4155,"children":4156},{"style":403},[4157],{"type":27,"value":2004},{"type":31,"tagName":347,"properties":4159,"children":4160},{"style":409},[4161],{"type":27,"value":4162},"(rowHeight);",{"type":27,"value":28},{"type":31,"tagName":347,"properties":4165,"children":4166},{"class":349},[4167,4171,4175,4179,4184,4189,4193,4198],{"type":31,"tagName":347,"properties":4168,"children":4169},{"style":750},[4170],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":4172,"children":4173},{"style":409},[4174],{"type":27,"value":160},{"type":31,"tagName":347,"properties":4176,"children":4177},{"style":750},[4178],{"type":27,"value":3414},{"type":31,"tagName":347,"properties":4180,"children":4181},{"style":409},[4182],{"type":27,"value":4183},"first) ",{"type":31,"tagName":347,"properties":4185,"children":4186},{"style":403},[4187],{"type":27,"value":4188},"fb_text",{"type":31,"tagName":347,"properties":4190,"children":4191},{"style":409},[4192],{"type":27,"value":412},{"type":31,"tagName":347,"properties":4194,"children":4195},{"style":415},[4196],{"type":27,"value":4197},"\",\"",{"type":31,"tagName":347,"properties":4199,"children":4200},{"style":409},[4201],{"type":27,"value":4202},");",{"type":27,"value":28},{"type":31,"tagName":347,"properties":4205,"children":4206},{"class":349},[4207,4212,4216,4221,4226,4231,4235,4240,4244,4249,4254,4258,4262,4267,4271,4276,4280,4284,4288,4292,4297,4301,4305],{"type":31,"tagName":347,"properties":4208,"children":4209},{"style":403},[4210],{"type":27,"value":4211},"  fb_text",{"type":31,"tagName":347,"properties":4213,"children":4214},{"style":409},[4215],{"type":27,"value":412},{"type":31,"tagName":347,"properties":4217,"children":4218},{"style":415},[4219],{"type":27,"value":4220},"\"{",{"type":31,"tagName":347,"properties":4222,"children":4223},{"style":459},[4224],{"type":27,"value":4225},"\\\"",{"type":31,"tagName":347,"properties":4227,"children":4228},{"style":415},[4229],{"type":27,"value":4230},"start",{"type":31,"tagName":347,"properties":4232,"children":4233},{"style":459},[4234],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4236,"children":4237},{"style":415},[4238],{"type":27,"value":4239},":\"",{"type":31,"tagName":347,"properties":4241,"children":4242},{"style":409},[4243],{"type":27,"value":423},{"type":31,"tagName":347,"properties":4245,"children":4246},{"style":403},[4247],{"type":27,"value":4248},"fb_num",{"type":31,"tagName":347,"properties":4250,"children":4251},{"style":409},[4252],{"type":27,"value":4253},"(start); ",{"type":31,"tagName":347,"properties":4255,"children":4256},{"style":403},[4257],{"type":27,"value":4188},{"type":31,"tagName":347,"properties":4259,"children":4260},{"style":409},[4261],{"type":27,"value":412},{"type":31,"tagName":347,"properties":4263,"children":4264},{"style":415},[4265],{"type":27,"value":4266},"\",",{"type":31,"tagName":347,"properties":4268,"children":4269},{"style":459},[4270],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4272,"children":4273},{"style":415},[4274],{"type":27,"value":4275},"end",{"type":31,"tagName":347,"properties":4277,"children":4278},{"style":459},[4279],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4281,"children":4282},{"style":415},[4283],{"type":27,"value":4239},{"type":31,"tagName":347,"properties":4285,"children":4286},{"style":409},[4287],{"type":27,"value":423},{"type":31,"tagName":347,"properties":4289,"children":4290},{"style":403},[4291],{"type":27,"value":4248},{"type":31,"tagName":347,"properties":4293,"children":4294},{"style":409},[4295],{"type":27,"value":4296},"(start ",{"type":31,"tagName":347,"properties":4298,"children":4299},{"style":750},[4300],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":4302,"children":4303},{"style":459},[4304],{"type":27,"value":1981},{"type":31,"tagName":347,"properties":4306,"children":4307},{"style":409},[4308],{"type":27,"value":4202},{"type":27,"value":28},{"type":31,"tagName":347,"properties":4311,"children":4312},{"class":349},[4313,4317,4321,4325,4329,4334,4338,4343,4347],{"type":31,"tagName":347,"properties":4314,"children":4315},{"style":403},[4316],{"type":27,"value":4211},{"type":31,"tagName":347,"properties":4318,"children":4319},{"style":409},[4320],{"type":27,"value":412},{"type":31,"tagName":347,"properties":4322,"children":4323},{"style":415},[4324],{"type":27,"value":4266},{"type":31,"tagName":347,"properties":4326,"children":4327},{"style":459},[4328],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4330,"children":4331},{"style":415},[4332],{"type":27,"value":4333},"prices",{"type":31,"tagName":347,"properties":4335,"children":4336},{"style":459},[4337],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4339,"children":4340},{"style":415},[4341],{"type":27,"value":4342},":[\"",{"type":31,"tagName":347,"properties":4344,"children":4345},{"style":409},[4346],{"type":27,"value":423},{"type":31,"tagName":347,"properties":4348,"children":4349},{"style":353},[4350],{"type":27,"value":4351},"// row centres, strictly increasing",{"type":27,"value":28},{"type":31,"tagName":347,"properties":4354,"children":4355},{"class":349},[4356,4360,4364,4368,4372,4376,4380,4384,4388,4392,4396,4400,4404,4408,4413,4417,4421,4425,4429,4433,4437,4441,4446,4451,4455,4459,4463,4468,4472,4477,4481,4485],{"type":31,"tagName":347,"properties":4357,"children":4358},{"style":750},[4359],{"type":27,"value":2738},{"type":31,"tagName":347,"properties":4361,"children":4362},{"style":409},[4363],{"type":27,"value":160},{"type":31,"tagName":347,"properties":4365,"children":4366},{"style":750},[4367],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":4369,"children":4370},{"style":409},[4371],{"type":27,"value":3536},{"type":31,"tagName":347,"properties":4373,"children":4374},{"style":750},[4375],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":4377,"children":4378},{"style":459},[4379],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":4381,"children":4382},{"style":409},[4383],{"type":27,"value":3549},{"type":31,"tagName":347,"properties":4385,"children":4386},{"style":750},[4387],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":4389,"children":4390},{"style":409},[4391],{"type":27,"value":3558},{"type":31,"tagName":347,"properties":4393,"children":4394},{"style":750},[4395],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":4397,"children":4398},{"style":459},[4399],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":4401,"children":4402},{"style":409},[4403],{"type":27,"value":2930},{"type":31,"tagName":347,"properties":4405,"children":4406},{"style":750},[4407],{"type":27,"value":2487},{"type":31,"tagName":347,"properties":4409,"children":4410},{"style":409},[4411],{"type":27,"value":4412}," (r ",{"type":31,"tagName":347,"properties":4414,"children":4415},{"style":750},[4416],{"type":27,"value":2162},{"type":31,"tagName":347,"properties":4418,"children":4419},{"style":459},[4420],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":4422,"children":4423},{"style":409},[4424],{"type":27,"value":1499},{"type":31,"tagName":347,"properties":4426,"children":4427},{"style":403},[4428],{"type":27,"value":4188},{"type":31,"tagName":347,"properties":4430,"children":4431},{"style":409},[4432],{"type":27,"value":412},{"type":31,"tagName":347,"properties":4434,"children":4435},{"style":415},[4436],{"type":27,"value":4197},{"type":31,"tagName":347,"properties":4438,"children":4439},{"style":409},[4440],{"type":27,"value":423},{"type":31,"tagName":347,"properties":4442,"children":4443},{"style":403},[4444],{"type":27,"value":4445},"fb_f64",{"type":31,"tagName":347,"properties":4447,"children":4448},{"style":409},[4449],{"type":27,"value":4450},"(lo ",{"type":31,"tagName":347,"properties":4452,"children":4453},{"style":750},[4454],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":4456,"children":4457},{"style":409},[4458],{"type":27,"value":160},{"type":31,"tagName":347,"properties":4460,"children":4461},{"style":403},[4462],{"type":27,"value":1143},{"type":31,"tagName":347,"properties":4464,"children":4465},{"style":409},[4466],{"type":27,"value":4467},"(r) ",{"type":31,"tagName":347,"properties":4469,"children":4470},{"style":750},[4471],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":4473,"children":4474},{"style":459},[4475],{"type":27,"value":4476}," 0.5",{"type":31,"tagName":347,"properties":4478,"children":4479},{"style":409},[4480],{"type":27,"value":1499},{"type":31,"tagName":347,"properties":4482,"children":4483},{"style":750},[4484],{"type":27,"value":1504},{"type":31,"tagName":347,"properties":4486,"children":4487},{"style":409},[4488],{"type":27,"value":4489}," rowHeight, decimals); }",{"type":27,"value":28},{"type":31,"tagName":347,"properties":4492,"children":4493},{"class":349},[4494,4498,4502,4507,4511,4516,4520,4524,4528],{"type":31,"tagName":347,"properties":4495,"children":4496},{"style":403},[4497],{"type":27,"value":4211},{"type":31,"tagName":347,"properties":4499,"children":4500},{"style":409},[4501],{"type":27,"value":412},{"type":31,"tagName":347,"properties":4503,"children":4504},{"style":415},[4505],{"type":27,"value":4506},"\"],",{"type":31,"tagName":347,"properties":4508,"children":4509},{"style":459},[4510],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4512,"children":4513},{"style":415},[4514],{"type":27,"value":4515},"values",{"type":31,"tagName":347,"properties":4517,"children":4518},{"style":459},[4519],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4521,"children":4522},{"style":415},[4523],{"type":27,"value":4342},{"type":31,"tagName":347,"properties":4525,"children":4526},{"style":409},[4527],{"type":27,"value":423},{"type":31,"tagName":347,"properties":4529,"children":4530},{"style":353},[4531],{"type":27,"value":4532},"// the open interest moved on the row (0 where nothing moved, so the grid stays whole)",{"type":27,"value":28},{"type":31,"tagName":347,"properties":4535,"children":4536},{"class":349},[4537,4541,4545,4549,4553,4557,4561,4565,4569,4573,4577,4581,4585,4589,4593,4597,4601,4605,4609,4613,4617,4621,4625,4630,4634,4639,4643],{"type":31,"tagName":347,"properties":4538,"children":4539},{"style":750},[4540],{"type":27,"value":2738},{"type":31,"tagName":347,"properties":4542,"children":4543},{"style":409},[4544],{"type":27,"value":160},{"type":31,"tagName":347,"properties":4546,"children":4547},{"style":750},[4548],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":4550,"children":4551},{"style":409},[4552],{"type":27,"value":3536},{"type":31,"tagName":347,"properties":4554,"children":4555},{"style":750},[4556],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":4558,"children":4559},{"style":459},[4560],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":4562,"children":4563},{"style":409},[4564],{"type":27,"value":3549},{"type":31,"tagName":347,"properties":4566,"children":4567},{"style":750},[4568],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":4570,"children":4571},{"style":409},[4572],{"type":27,"value":3558},{"type":31,"tagName":347,"properties":4574,"children":4575},{"style":750},[4576],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":4578,"children":4579},{"style":459},[4580],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":4582,"children":4583},{"style":409},[4584],{"type":27,"value":2930},{"type":31,"tagName":347,"properties":4586,"children":4587},{"style":750},[4588],{"type":27,"value":2487},{"type":31,"tagName":347,"properties":4590,"children":4591},{"style":409},[4592],{"type":27,"value":4412},{"type":31,"tagName":347,"properties":4594,"children":4595},{"style":750},[4596],{"type":27,"value":2162},{"type":31,"tagName":347,"properties":4598,"children":4599},{"style":459},[4600],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":4602,"children":4603},{"style":409},[4604],{"type":27,"value":1499},{"type":31,"tagName":347,"properties":4606,"children":4607},{"style":403},[4608],{"type":27,"value":4188},{"type":31,"tagName":347,"properties":4610,"children":4611},{"style":409},[4612],{"type":27,"value":412},{"type":31,"tagName":347,"properties":4614,"children":4615},{"style":415},[4616],{"type":27,"value":4197},{"type":31,"tagName":347,"properties":4618,"children":4619},{"style":409},[4620],{"type":27,"value":423},{"type":31,"tagName":347,"properties":4622,"children":4623},{"style":403},[4624],{"type":27,"value":4445},{"type":31,"tagName":347,"properties":4626,"children":4627},{"style":409},[4628],{"type":27,"value":4629},"(dayMoved[base ",{"type":31,"tagName":347,"properties":4631,"children":4632},{"style":750},[4633],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":4635,"children":4636},{"style":409},[4637],{"type":27,"value":4638}," r], ",{"type":31,"tagName":347,"properties":4640,"children":4641},{"style":459},[4642],{"type":27,"value":339},{"type":31,"tagName":347,"properties":4644,"children":4645},{"style":409},[4646],{"type":27,"value":4647},"); }",{"type":27,"value":28},{"type":31,"tagName":347,"properties":4650,"children":4651},{"class":349},[4652,4656,4660,4664,4668,4673,4677,4681,4685],{"type":31,"tagName":347,"properties":4653,"children":4654},{"style":403},[4655],{"type":27,"value":4211},{"type":31,"tagName":347,"properties":4657,"children":4658},{"style":409},[4659],{"type":27,"value":412},{"type":31,"tagName":347,"properties":4661,"children":4662},{"style":415},[4663],{"type":27,"value":4506},{"type":31,"tagName":347,"properties":4665,"children":4666},{"style":459},[4667],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4669,"children":4670},{"style":415},[4671],{"type":27,"value":4672},"colors",{"type":31,"tagName":347,"properties":4674,"children":4675},{"style":459},[4676],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4678,"children":4679},{"style":415},[4680],{"type":27,"value":4342},{"type":31,"tagName":347,"properties":4682,"children":4683},{"style":409},[4684],{"type":27,"value":423},{"type":31,"tagName":347,"properties":4686,"children":4687},{"style":353},[4688],{"type":27,"value":4689},"// green where positions were opened on balance, red where they were closed, slate where nothing moved",{"type":27,"value":28},{"type":31,"tagName":347,"properties":4692,"children":4693},{"class":349},[4694,4698,4702,4706,4710,4714,4718,4722,4726,4730,4734,4738,4742,4746,4750,4754,4758,4762,4766,4770,4774,4778,4782,4787,4791,4796,4800,4805,4809,4814,4818,4822,4826,4831,4835,4840,4844,4849,4853,4858,4862,4866,4870,4874,4878,4883,4887,4891,4895,4899,4903,4908,4912,4916],{"type":31,"tagName":347,"properties":4695,"children":4696},{"style":750},[4697],{"type":27,"value":2738},{"type":31,"tagName":347,"properties":4699,"children":4700},{"style":409},[4701],{"type":27,"value":160},{"type":31,"tagName":347,"properties":4703,"children":4704},{"style":750},[4705],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":4707,"children":4708},{"style":409},[4709],{"type":27,"value":3536},{"type":31,"tagName":347,"properties":4711,"children":4712},{"style":750},[4713],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":4715,"children":4716},{"style":459},[4717],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":4719,"children":4720},{"style":409},[4721],{"type":27,"value":3549},{"type":31,"tagName":347,"properties":4723,"children":4724},{"style":750},[4725],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":4727,"children":4728},{"style":409},[4729],{"type":27,"value":3558},{"type":31,"tagName":347,"properties":4731,"children":4732},{"style":750},[4733],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":4735,"children":4736},{"style":459},[4737],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":4739,"children":4740},{"style":409},[4741],{"type":27,"value":2930},{"type":31,"tagName":347,"properties":4743,"children":4744},{"style":750},[4745],{"type":27,"value":2487},{"type":31,"tagName":347,"properties":4747,"children":4748},{"style":409},[4749],{"type":27,"value":4412},{"type":31,"tagName":347,"properties":4751,"children":4752},{"style":750},[4753],{"type":27,"value":2162},{"type":31,"tagName":347,"properties":4755,"children":4756},{"style":459},[4757],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":4759,"children":4760},{"style":409},[4761],{"type":27,"value":1499},{"type":31,"tagName":347,"properties":4763,"children":4764},{"style":403},[4765],{"type":27,"value":4188},{"type":31,"tagName":347,"properties":4767,"children":4768},{"style":409},[4769],{"type":27,"value":412},{"type":31,"tagName":347,"properties":4771,"children":4772},{"style":415},[4773],{"type":27,"value":4197},{"type":31,"tagName":347,"properties":4775,"children":4776},{"style":409},[4777],{"type":27,"value":423},{"type":31,"tagName":347,"properties":4779,"children":4780},{"style":750},[4781],{"type":27,"value":753},{"type":31,"tagName":347,"properties":4783,"children":4784},{"style":459},[4785],{"type":27,"value":4786}," net",{"type":31,"tagName":347,"properties":4788,"children":4789},{"style":750},[4790],{"type":27,"value":763},{"type":31,"tagName":347,"properties":4792,"children":4793},{"style":409},[4794],{"type":27,"value":4795}," dayNet[base ",{"type":31,"tagName":347,"properties":4797,"children":4798},{"style":750},[4799],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":4801,"children":4802},{"style":409},[4803],{"type":27,"value":4804}," r]; ",{"type":31,"tagName":347,"properties":4806,"children":4807},{"style":403},[4808],{"type":27,"value":4188},{"type":31,"tagName":347,"properties":4810,"children":4811},{"style":409},[4812],{"type":27,"value":4813},"(net ",{"type":31,"tagName":347,"properties":4815,"children":4816},{"style":750},[4817],{"type":27,"value":2162},{"type":31,"tagName":347,"properties":4819,"children":4820},{"style":459},[4821],{"type":27,"value":2664},{"type":31,"tagName":347,"properties":4823,"children":4824},{"style":750},[4825],{"type":27,"value":2144},{"type":31,"tagName":347,"properties":4827,"children":4828},{"style":415},[4829],{"type":27,"value":4830}," \"",{"type":31,"tagName":347,"properties":4832,"children":4833},{"style":459},[4834],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4836,"children":4837},{"style":415},[4838],{"type":27,"value":4839},"#34d399",{"type":31,"tagName":347,"properties":4841,"children":4842},{"style":459},[4843],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4845,"children":4846},{"style":415},[4847],{"type":27,"value":4848},"\"",{"type":31,"tagName":347,"properties":4850,"children":4851},{"style":750},[4852],{"type":27,"value":2153},{"type":31,"tagName":347,"properties":4854,"children":4855},{"style":409},[4856],{"type":27,"value":4857}," net ",{"type":31,"tagName":347,"properties":4859,"children":4860},{"style":750},[4861],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":4863,"children":4864},{"style":459},[4865],{"type":27,"value":2664},{"type":31,"tagName":347,"properties":4867,"children":4868},{"style":750},[4869],{"type":27,"value":2144},{"type":31,"tagName":347,"properties":4871,"children":4872},{"style":415},[4873],{"type":27,"value":4830},{"type":31,"tagName":347,"properties":4875,"children":4876},{"style":459},[4877],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4879,"children":4880},{"style":415},[4881],{"type":27,"value":4882},"#f87171",{"type":31,"tagName":347,"properties":4884,"children":4885},{"style":459},[4886],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4888,"children":4889},{"style":415},[4890],{"type":27,"value":4848},{"type":31,"tagName":347,"properties":4892,"children":4893},{"style":750},[4894],{"type":27,"value":2153},{"type":31,"tagName":347,"properties":4896,"children":4897},{"style":415},[4898],{"type":27,"value":4830},{"type":31,"tagName":347,"properties":4900,"children":4901},{"style":459},[4902],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4904,"children":4905},{"style":415},[4906],{"type":27,"value":4907},"#64748b",{"type":31,"tagName":347,"properties":4909,"children":4910},{"style":459},[4911],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":4913,"children":4914},{"style":415},[4915],{"type":27,"value":4848},{"type":31,"tagName":347,"properties":4917,"children":4918},{"style":409},[4919],{"type":27,"value":4647},{"type":27,"value":28},{"type":31,"tagName":347,"properties":4922,"children":4923},{"class":349},[4924,4928,4932,4937],{"type":31,"tagName":347,"properties":4925,"children":4926},{"style":403},[4927],{"type":27,"value":4211},{"type":31,"tagName":347,"properties":4929,"children":4930},{"style":409},[4931],{"type":27,"value":412},{"type":31,"tagName":347,"properties":4933,"children":4934},{"style":415},[4935],{"type":27,"value":4936},"\"]}\"",{"type":31,"tagName":347,"properties":4938,"children":4939},{"style":409},[4940],{"type":27,"value":4202},{"type":27,"value":28},{"type":31,"tagName":347,"properties":4943,"children":4944},{"class":349},[4945,4950,4955],{"type":31,"tagName":347,"properties":4946,"children":4947},{"style":750},[4948],{"type":27,"value":4949},"  return",{"type":31,"tagName":347,"properties":4951,"children":4952},{"style":459},[4953],{"type":27,"value":4954}," true",{"type":31,"tagName":347,"properties":4956,"children":4957},{"style":409},[4958],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":4961,"children":4962},{"class":349},[4963],{"type":31,"tagName":347,"properties":4964,"children":4965},{"style":409},[4966],{"type":27,"value":2193},{"type":27,"value":28},{"type":31,"tagName":347,"properties":4969,"children":4970},{"class":349},[4971,4975,4980,4985,4989,4993,4997],{"type":31,"tagName":347,"properties":4972,"children":4973},{"style":750},[4974],{"type":27,"value":1906},{"type":31,"tagName":347,"properties":4976,"children":4977},{"style":403},[4978],{"type":27,"value":4979}," writeSpans",{"type":31,"tagName":347,"properties":4981,"children":4982},{"style":409},[4983],{"type":27,"value":4984},"()",{"type":31,"tagName":347,"properties":4986,"children":4987},{"style":750},[4988],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":4990,"children":4991},{"style":459},[4992],{"type":27,"value":2333},{"type":31,"tagName":347,"properties":4994,"children":4995},{"style":409},[4996],{"type":27,"value":1947},{"type":31,"tagName":347,"properties":4998,"children":4999},{"style":353},[5000],{"type":27,"value":5001},"// the newest `sessions` days, oldest first, as one spans frame: the finished days as folded when they ended, the open day folded now",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5004,"children":5005},{"class":349},[5006,5011,5016,5020,5024],{"type":31,"tagName":347,"properties":5007,"children":5008},{"style":403},[5009],{"type":27,"value":5010},"  foldDay",{"type":31,"tagName":347,"properties":5012,"children":5013},{"style":409},[5014],{"type":27,"value":5015},"(openSeq, seq, ",{"type":31,"tagName":347,"properties":5017,"children":5018},{"style":459},[5019],{"type":27,"value":1327},{"type":31,"tagName":347,"properties":5021,"children":5022},{"style":409},[5023],{"type":27,"value":423},{"type":31,"tagName":347,"properties":5025,"children":5026},{"style":353},[5027],{"type":27,"value":5028},"// only the open day changes on a new bar or a live tick, so it is the one day folded again",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5031,"children":5032},{"class":349},[5033,5038,5043,5047,5051,5055,5059,5064,5068,5072],{"type":31,"tagName":347,"properties":5034,"children":5035},{"style":403},[5036],{"type":27,"value":5037},"  fb_clear",{"type":31,"tagName":347,"properties":5039,"children":5040},{"style":409},[5041],{"type":27,"value":5042},"(); ",{"type":31,"tagName":347,"properties":5044,"children":5045},{"style":403},[5046],{"type":27,"value":4188},{"type":31,"tagName":347,"properties":5048,"children":5049},{"style":409},[5050],{"type":27,"value":412},{"type":31,"tagName":347,"properties":5052,"children":5053},{"style":415},[5054],{"type":27,"value":4220},{"type":31,"tagName":347,"properties":5056,"children":5057},{"style":459},[5058],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":5060,"children":5061},{"style":415},[5062],{"type":27,"value":5063},"spans",{"type":31,"tagName":347,"properties":5065,"children":5066},{"style":459},[5067],{"type":27,"value":4225},{"type":31,"tagName":347,"properties":5069,"children":5070},{"style":415},[5071],{"type":27,"value":4342},{"type":31,"tagName":347,"properties":5073,"children":5074},{"style":409},[5075],{"type":27,"value":4202},{"type":27,"value":28},{"type":31,"tagName":347,"properties":5078,"children":5079},{"class":349},[5080,5084,5089,5093,5097,5101,5105,5110,5114,5118,5122,5126,5130,5134,5138,5142,5146,5150,5154,5158],{"type":31,"tagName":347,"properties":5081,"children":5082},{"style":750},[5083],{"type":27,"value":2351},{"type":31,"tagName":347,"properties":5085,"children":5086},{"style":409},[5087],{"type":27,"value":5088}," written ",{"type":31,"tagName":347,"properties":5090,"children":5091},{"style":750},[5092],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":5094,"children":5095},{"style":459},[5096],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":5098,"children":5099},{"style":409},[5100],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":5102,"children":5103},{"style":750},[5104],{"type":27,"value":753},{"type":31,"tagName":347,"properties":5106,"children":5107},{"style":459},[5108],{"type":27,"value":5109}," kept",{"type":31,"tagName":347,"properties":5111,"children":5112},{"style":750},[5113],{"type":27,"value":763},{"type":31,"tagName":347,"properties":5115,"children":5116},{"style":409},[5117],{"type":27,"value":1798},{"type":31,"tagName":347,"properties":5119,"children":5120},{"style":750},[5121],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":5123,"children":5124},{"style":409},[5125],{"type":27,"value":1635},{"type":31,"tagName":347,"properties":5127,"children":5128},{"style":750},[5129],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":5131,"children":5132},{"style":459},[5133],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":5135,"children":5136},{"style":750},[5137],{"type":27,"value":2144},{"type":31,"tagName":347,"properties":5139,"children":5140},{"style":409},[5141],{"type":27,"value":1798},{"type":31,"tagName":347,"properties":5143,"children":5144},{"style":750},[5145],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":5147,"children":5148},{"style":409},[5149],{"type":27,"value":1635},{"type":31,"tagName":347,"properties":5151,"children":5152},{"style":750},[5153],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":5155,"children":5156},{"style":459},[5157],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":5159,"children":5160},{"style":409},[5161],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":5164,"children":5165},{"class":349},[5166,5170,5174,5178,5182,5186,5191,5195,5199,5204,5208,5212,5216,5221,5225,5229,5233,5237,5242,5247,5251,5255,5259,5264,5268,5272,5277,5281,5285,5290,5294,5298],{"type":31,"tagName":347,"properties":5167,"children":5168},{"style":750},[5169],{"type":27,"value":2738},{"type":31,"tagName":347,"properties":5171,"children":5172},{"style":409},[5173],{"type":27,"value":160},{"type":31,"tagName":347,"properties":5175,"children":5176},{"style":750},[5177],{"type":27,"value":1630},{"type":31,"tagName":347,"properties":5179,"children":5180},{"style":409},[5181],{"type":27,"value":2751},{"type":31,"tagName":347,"properties":5183,"children":5184},{"style":750},[5185],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":5187,"children":5188},{"style":409},[5189],{"type":27,"value":5190}," kept ",{"type":31,"tagName":347,"properties":5192,"children":5193},{"style":750},[5194],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":5196,"children":5197},{"style":459},[5198],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":5200,"children":5201},{"style":409},[5202],{"type":27,"value":5203},"; k ",{"type":31,"tagName":347,"properties":5205,"children":5206},{"style":750},[5207],{"type":27,"value":2631},{"type":31,"tagName":347,"properties":5209,"children":5210},{"style":459},[5211],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":5213,"children":5214},{"style":409},[5215],{"type":27,"value":5203},{"type":31,"tagName":347,"properties":5217,"children":5218},{"style":750},[5219],{"type":27,"value":5220},"-=",{"type":31,"tagName":347,"properties":5222,"children":5223},{"style":459},[5224],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":5226,"children":5227},{"style":409},[5228],{"type":27,"value":1499},{"type":31,"tagName":347,"properties":5230,"children":5231},{"style":750},[5232],{"type":27,"value":2487},{"type":31,"tagName":347,"properties":5234,"children":5235},{"style":409},[5236],{"type":27,"value":160},{"type":31,"tagName":347,"properties":5238,"children":5239},{"style":403},[5240],{"type":27,"value":5241},"writeDay",{"type":31,"tagName":347,"properties":5243,"children":5244},{"style":409},[5245],{"type":27,"value":5246},"((doneHead ",{"type":31,"tagName":347,"properties":5248,"children":5249},{"style":750},[5250],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":5252,"children":5253},{"style":459},[5254],{"type":27,"value":1088},{"type":31,"tagName":347,"properties":5256,"children":5257},{"style":750},[5258],{"type":27,"value":1698},{"type":31,"tagName":347,"properties":5260,"children":5261},{"style":409},[5262],{"type":27,"value":5263}," k) ",{"type":31,"tagName":347,"properties":5265,"children":5266},{"style":750},[5267],{"type":27,"value":3314},{"type":31,"tagName":347,"properties":5269,"children":5270},{"style":459},[5271],{"type":27,"value":1088},{"type":31,"tagName":347,"properties":5273,"children":5274},{"style":409},[5275],{"type":27,"value":5276},", written ",{"type":31,"tagName":347,"properties":5278,"children":5279},{"style":750},[5280],{"type":27,"value":3772},{"type":31,"tagName":347,"properties":5282,"children":5283},{"style":459},[5284],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":5286,"children":5287},{"style":409},[5288],{"type":27,"value":5289},")) written ",{"type":31,"tagName":347,"properties":5291,"children":5292},{"style":750},[5293],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":5295,"children":5296},{"style":459},[5297],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":5299,"children":5300},{"style":409},[5301],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":5304,"children":5305},{"class":349},[5306,5310,5314,5318,5322,5326,5330,5334,5338,5342,5346,5350],{"type":31,"tagName":347,"properties":5307,"children":5308},{"style":750},[5309],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":5311,"children":5312},{"style":409},[5313],{"type":27,"value":160},{"type":31,"tagName":347,"properties":5315,"children":5316},{"style":403},[5317],{"type":27,"value":5241},{"type":31,"tagName":347,"properties":5319,"children":5320},{"style":409},[5321],{"type":27,"value":412},{"type":31,"tagName":347,"properties":5323,"children":5324},{"style":459},[5325],{"type":27,"value":1327},{"type":31,"tagName":347,"properties":5327,"children":5328},{"style":409},[5329],{"type":27,"value":5276},{"type":31,"tagName":347,"properties":5331,"children":5332},{"style":750},[5333],{"type":27,"value":3772},{"type":31,"tagName":347,"properties":5335,"children":5336},{"style":459},[5337],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":5339,"children":5340},{"style":409},[5341],{"type":27,"value":5289},{"type":31,"tagName":347,"properties":5343,"children":5344},{"style":750},[5345],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":5347,"children":5348},{"style":459},[5349],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":5351,"children":5352},{"style":409},[5353],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":5356,"children":5357},{"class":349},[5358,5362,5366,5370],{"type":31,"tagName":347,"properties":5359,"children":5360},{"style":403},[5361],{"type":27,"value":4211},{"type":31,"tagName":347,"properties":5363,"children":5364},{"style":409},[5365],{"type":27,"value":412},{"type":31,"tagName":347,"properties":5367,"children":5368},{"style":415},[5369],{"type":27,"value":4936},{"type":31,"tagName":347,"properties":5371,"children":5372},{"style":409},[5373],{"type":27,"value":4202},{"type":27,"value":28},{"type":31,"tagName":347,"properties":5376,"children":5377},{"class":349},[5378,5382,5387,5391,5395,5399,5404,5409],{"type":31,"tagName":347,"properties":5379,"children":5380},{"style":750},[5381],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":5383,"children":5384},{"style":409},[5385],{"type":27,"value":5386}," (written ",{"type":31,"tagName":347,"properties":5388,"children":5389},{"style":750},[5390],{"type":27,"value":2162},{"type":31,"tagName":347,"properties":5392,"children":5393},{"style":459},[5394],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":5396,"children":5397},{"style":409},[5398],{"type":27,"value":1499},{"type":31,"tagName":347,"properties":5400,"children":5401},{"style":403},[5402],{"type":27,"value":5403},"writeFrameBuffer",{"type":31,"tagName":347,"properties":5405,"children":5406},{"style":409},[5407],{"type":27,"value":5408},"(oi_spans); ",{"type":31,"tagName":347,"properties":5410,"children":5411},{"style":353},[5412],{"type":27,"value":5413},"// an unwritten frame leaves the profiles absent; an empty spans list would be refused",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5416,"children":5417},{"class":349},[5418],{"type":31,"tagName":347,"properties":5419,"children":5420},{"style":409},[5421],{"type":27,"value":2193},{"type":27,"value":28},{"type":31,"tagName":347,"properties":5424,"children":5425},{"class":349},[],{"type":27,"value":28},{"type":31,"tagName":347,"properties":5428,"children":5429},{"class":349},[5430],{"type":31,"tagName":347,"properties":5431,"children":5432},{"style":353},[5433],{"type":27,"value":5434},"// onStart() runs once before the first bar: read the params.",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5437,"children":5438},{"class":349},[5439,5443,5448,5452,5456,5460,5465,5469,5473,5477,5482,5487,5491,5495,5499,5504],{"type":31,"tagName":347,"properties":5440,"children":5441},{"style":750},[5442],{"type":27,"value":1906},{"type":31,"tagName":347,"properties":5444,"children":5445},{"style":403},[5446],{"type":27,"value":5447}," onStart",{"type":31,"tagName":347,"properties":5449,"children":5450},{"style":409},[5451],{"type":27,"value":4984},{"type":31,"tagName":347,"properties":5453,"children":5454},{"style":750},[5455],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":5457,"children":5458},{"style":459},[5459],{"type":27,"value":2333},{"type":31,"tagName":347,"properties":5461,"children":5462},{"style":409},[5463],{"type":27,"value":5464}," { sessions ",{"type":31,"tagName":347,"properties":5466,"children":5467},{"style":750},[5468],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":5470,"children":5471},{"style":403},[5472],{"type":27,"value":2034},{"type":31,"tagName":347,"properties":5474,"children":5475},{"style":409},[5476],{"type":27,"value":412},{"type":31,"tagName":347,"properties":5478,"children":5479},{"style":403},[5480],{"type":27,"value":5481},"p_sessions",{"type":31,"tagName":347,"properties":5483,"children":5484},{"style":409},[5485],{"type":27,"value":5486},"()); rows ",{"type":31,"tagName":347,"properties":5488,"children":5489},{"style":750},[5490],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":5492,"children":5493},{"style":403},[5494],{"type":27,"value":2034},{"type":31,"tagName":347,"properties":5496,"children":5497},{"style":409},[5498],{"type":27,"value":412},{"type":31,"tagName":347,"properties":5500,"children":5501},{"style":403},[5502],{"type":27,"value":5503},"p_rows",{"type":31,"tagName":347,"properties":5505,"children":5506},{"style":409},[5507],{"type":27,"value":5508},"()); }",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5511,"children":5512},{"class":349},[5513],{"type":31,"tagName":347,"properties":5514,"children":5515},{"style":353},[5516],{"type":27,"value":5517},"// onBar() runs once per bar: the bar's open-interest change against the last reading, the bar into the ring, a finished",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5520,"children":5521},{"class":349},[5522],{"type":31,"tagName":347,"properties":5523,"children":5524},{"style":353},[5525],{"type":27,"value":5526},"// day folded once where the UTC day changes, the change as a number on every bar, and the day profiles on the live bar only.",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5529,"children":5530},{"class":349},[5531,5535,5540,5544,5548,5552],{"type":31,"tagName":347,"properties":5532,"children":5533},{"style":750},[5534],{"type":27,"value":1906},{"type":31,"tagName":347,"properties":5536,"children":5537},{"style":403},[5538],{"type":27,"value":5539}," onBar",{"type":31,"tagName":347,"properties":5541,"children":5542},{"style":409},[5543],{"type":27,"value":4984},{"type":31,"tagName":347,"properties":5545,"children":5546},{"style":750},[5547],{"type":27,"value":1743},{"type":31,"tagName":347,"properties":5549,"children":5550},{"style":459},[5551],{"type":27,"value":2333},{"type":31,"tagName":347,"properties":5553,"children":5554},{"style":409},[5555],{"type":27,"value":5556}," {",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5559,"children":5560},{"class":349},[5561,5566,5570,5575,5579,5583,5587,5592,5596,5601,5605,5609,5613,5617,5621,5626,5630,5634,5639,5643,5647,5652],{"type":31,"tagName":347,"properties":5562,"children":5563},{"style":409},[5564],{"type":27,"value":5565},"  t ",{"type":31,"tagName":347,"properties":5567,"children":5568},{"style":750},[5569],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":5571,"children":5572},{"style":409},[5573],{"type":27,"value":5574}," bar.",{"type":31,"tagName":347,"properties":5576,"children":5577},{"style":403},[5578],{"type":27,"value":1921},{"type":31,"tagName":347,"properties":5580,"children":5581},{"style":409},[5582],{"type":27,"value":5042},{"type":31,"tagName":347,"properties":5584,"children":5585},{"style":750},[5586],{"type":27,"value":753},{"type":31,"tagName":347,"properties":5588,"children":5589},{"style":459},[5590],{"type":27,"value":5591}," oiNow",{"type":31,"tagName":347,"properties":5593,"children":5594},{"style":750},[5595],{"type":27,"value":763},{"type":31,"tagName":347,"properties":5597,"children":5598},{"style":403},[5599],{"type":27,"value":5600}," in_oi",{"type":31,"tagName":347,"properties":5602,"children":5603},{"style":409},[5604],{"type":27,"value":5042},{"type":31,"tagName":347,"properties":5606,"children":5607},{"style":750},[5608],{"type":27,"value":753},{"type":31,"tagName":347,"properties":5610,"children":5611},{"style":459},[5612],{"type":27,"value":4086},{"type":31,"tagName":347,"properties":5614,"children":5615},{"style":750},[5616],{"type":27,"value":763},{"type":31,"tagName":347,"properties":5618,"children":5619},{"style":409},[5620],{"type":27,"value":5574},{"type":31,"tagName":347,"properties":5622,"children":5623},{"style":403},[5624],{"type":27,"value":5625},"low",{"type":31,"tagName":347,"properties":5627,"children":5628},{"style":409},[5629],{"type":27,"value":5042},{"type":31,"tagName":347,"properties":5631,"children":5632},{"style":750},[5633],{"type":27,"value":753},{"type":31,"tagName":347,"properties":5635,"children":5636},{"style":459},[5637],{"type":27,"value":5638}," hi",{"type":31,"tagName":347,"properties":5640,"children":5641},{"style":750},[5642],{"type":27,"value":763},{"type":31,"tagName":347,"properties":5644,"children":5645},{"style":409},[5646],{"type":27,"value":5574},{"type":31,"tagName":347,"properties":5648,"children":5649},{"style":403},[5650],{"type":27,"value":5651},"high",{"type":31,"tagName":347,"properties":5653,"children":5654},{"style":409},[5655],{"type":27,"value":5656},"();",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5659,"children":5660},{"class":349},[5661,5665,5669,5673,5678,5683,5687,5691,5696,5701,5705,5709,5714,5718,5723],{"type":31,"tagName":347,"properties":5662,"children":5663},{"style":750},[5664],{"type":27,"value":2052},{"type":31,"tagName":347,"properties":5666,"children":5667},{"style":459},[5668],{"type":27,"value":3727},{"type":31,"tagName":347,"properties":5670,"children":5671},{"style":750},[5672],{"type":27,"value":763},{"type":31,"tagName":347,"properties":5674,"children":5675},{"style":403},[5676],{"type":27,"value":5677}," isNaN",{"type":31,"tagName":347,"properties":5679,"children":5680},{"style":409},[5681],{"type":27,"value":5682},"(oiNow) ",{"type":31,"tagName":347,"properties":5684,"children":5685},{"style":750},[5686],{"type":27,"value":2640},{"type":31,"tagName":347,"properties":5688,"children":5689},{"style":403},[5690],{"type":27,"value":5677},{"type":31,"tagName":347,"properties":5692,"children":5693},{"style":409},[5694],{"type":27,"value":5695},"(prevOi) ",{"type":31,"tagName":347,"properties":5697,"children":5698},{"style":750},[5699],{"type":27,"value":5700},"?",{"type":31,"tagName":347,"properties":5702,"children":5703},{"style":459},[5704],{"type":27,"value":1846},{"type":31,"tagName":347,"properties":5706,"children":5707},{"style":750},[5708],{"type":27,"value":2153},{"type":31,"tagName":347,"properties":5710,"children":5711},{"style":409},[5712],{"type":27,"value":5713}," oiNow ",{"type":31,"tagName":347,"properties":5715,"children":5716},{"style":750},[5717],{"type":27,"value":2382},{"type":31,"tagName":347,"properties":5719,"children":5720},{"style":409},[5721],{"type":27,"value":5722}," prevOi; ",{"type":31,"tagName":347,"properties":5724,"children":5725},{"style":353},[5726],{"type":27,"value":5727},"// unknown until two readings exist",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5730,"children":5731},{"class":349},[5732,5736,5740,5744,5748,5753,5757],{"type":31,"tagName":347,"properties":5733,"children":5734},{"style":750},[5735],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":5737,"children":5738},{"style":409},[5739],{"type":27,"value":160},{"type":31,"tagName":347,"properties":5741,"children":5742},{"style":750},[5743],{"type":27,"value":3414},{"type":31,"tagName":347,"properties":5745,"children":5746},{"style":403},[5747],{"type":27,"value":3753},{"type":31,"tagName":347,"properties":5749,"children":5750},{"style":409},[5751],{"type":27,"value":5752},"(oiNow)) prevOi ",{"type":31,"tagName":347,"properties":5754,"children":5755},{"style":750},[5756],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":5758,"children":5759},{"style":409},[5760],{"type":27,"value":5761}," oiNow;",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5764,"children":5765},{"class":349},[5766,5770,5775,5780,5785,5790,5794,5799,5804,5808,5813,5817,5822,5827,5832,5836,5841,5845,5850,5855,5859,5864],{"type":31,"tagName":347,"properties":5767,"children":5768},{"style":750},[5769],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":5771,"children":5772},{"style":409},[5773],{"type":27,"value":5774}," (bar.",{"type":31,"tagName":347,"properties":5776,"children":5777},{"style":403},[5778],{"type":27,"value":5779},"isLast",{"type":31,"tagName":347,"properties":5781,"children":5782},{"style":409},[5783],{"type":27,"value":5784},"() ",{"type":31,"tagName":347,"properties":5786,"children":5787},{"style":750},[5788],{"type":27,"value":5789},"&&",{"type":31,"tagName":347,"properties":5791,"children":5792},{"style":403},[5793],{"type":27,"value":5677},{"type":31,"tagName":347,"properties":5795,"children":5796},{"style":409},[5797],{"type":27,"value":5798},"(prevOi)) { ",{"type":31,"tagName":347,"properties":5800,"children":5801},{"style":403},[5802],{"type":27,"value":5803},"sb_clear",{"type":31,"tagName":347,"properties":5805,"children":5806},{"style":409},[5807],{"type":27,"value":5042},{"type":31,"tagName":347,"properties":5809,"children":5810},{"style":403},[5811],{"type":27,"value":5812},"sb_text",{"type":31,"tagName":347,"properties":5814,"children":5815},{"style":409},[5816],{"type":27,"value":412},{"type":31,"tagName":347,"properties":5818,"children":5819},{"style":415},[5820],{"type":27,"value":5821},"\"No open interest on this market\"",{"type":31,"tagName":347,"properties":5823,"children":5824},{"style":409},[5825],{"type":27,"value":5826},"); note.",{"type":31,"tagName":347,"properties":5828,"children":5829},{"style":403},[5830],{"type":27,"value":5831},"set",{"type":31,"tagName":347,"properties":5833,"children":5834},{"style":409},[5835],{"type":27,"value":412},{"type":31,"tagName":347,"properties":5837,"children":5838},{"style":459},[5839],{"type":27,"value":5840},"16.0",{"type":31,"tagName":347,"properties":5842,"children":5843},{"style":409},[5844],{"type":27,"value":456},{"type":31,"tagName":347,"properties":5846,"children":5847},{"style":459},[5848],{"type":27,"value":5849},"12.0",{"type":31,"tagName":347,"properties":5851,"children":5852},{"style":409},[5853],{"type":27,"value":5854},").",{"type":31,"tagName":347,"properties":5856,"children":5857},{"style":403},[5858],{"type":27,"value":27},{"type":31,"tagName":347,"properties":5860,"children":5861},{"style":409},[5862],{"type":27,"value":5863},"(str_note_sb); } ",{"type":31,"tagName":347,"properties":5865,"children":5866},{"style":353},[5867],{"type":27,"value":5868},"// no reading on any bar (spot, FX): one sentence, not an empty pane",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5871,"children":5872},{"class":349},[5873,5877,5881,5885,5890,5894,5899,5903,5907,5911,5915,5919],{"type":31,"tagName":347,"properties":5874,"children":5875},{"style":750},[5876],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":5878,"children":5879},{"style":409},[5880],{"type":27,"value":160},{"type":31,"tagName":347,"properties":5882,"children":5883},{"style":403},[5884],{"type":27,"value":3753},{"type":31,"tagName":347,"properties":5886,"children":5887},{"style":409},[5888],{"type":27,"value":5889},"(t) ",{"type":31,"tagName":347,"properties":5891,"children":5892},{"style":750},[5893],{"type":27,"value":2640},{"type":31,"tagName":347,"properties":5895,"children":5896},{"style":750},[5897],{"type":27,"value":5898}," !",{"type":31,"tagName":347,"properties":5900,"children":5901},{"style":409},[5902],{"type":27,"value":3419},{"type":31,"tagName":347,"properties":5904,"children":5905},{"style":750},[5906],{"type":27,"value":2631},{"type":31,"tagName":347,"properties":5908,"children":5909},{"style":409},[5910],{"type":27,"value":3428},{"type":31,"tagName":347,"properties":5912,"children":5913},{"style":750},[5914],{"type":27,"value":1952},{"type":31,"tagName":347,"properties":5916,"children":5917},{"style":409},[5918],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":5920,"children":5921},{"style":353},[5922],{"type":27,"value":5923},"// a bar with no span draws nothing and is not counted",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5926,"children":5927},{"class":349},[5928,5932,5937,5941,5945],{"type":31,"tagName":347,"properties":5929,"children":5930},{"style":750},[5931],{"type":27,"value":2052},{"type":31,"tagName":347,"properties":5933,"children":5934},{"style":459},[5935],{"type":27,"value":5936}," day",{"type":31,"tagName":347,"properties":5938,"children":5939},{"style":750},[5940],{"type":27,"value":763},{"type":31,"tagName":347,"properties":5942,"children":5943},{"style":403},[5944],{"type":27,"value":1911},{"type":31,"tagName":347,"properties":5946,"children":5947},{"style":409},[5948],{"type":27,"value":5949},"(t);",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5952,"children":5953},{"class":349},[5954,5958,5963,5968,5973],{"type":31,"tagName":347,"properties":5955,"children":5956},{"style":750},[5957],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":5959,"children":5960},{"style":409},[5961],{"type":27,"value":5962}," (day ",{"type":31,"tagName":347,"properties":5964,"children":5965},{"style":750},[5966],{"type":27,"value":5967},"!=",{"type":31,"tagName":347,"properties":5969,"children":5970},{"style":409},[5971],{"type":27,"value":5972}," openDay) { ",{"type":31,"tagName":347,"properties":5974,"children":5975},{"style":353},[5976],{"type":27,"value":5977},"// a new UTC day: the day before is finished, folded once into the finished ring and kept as it ended",{"type":27,"value":28},{"type":31,"tagName":347,"properties":5980,"children":5981},{"class":349},[5982,5986,5991,5995,5999,6004,6008,6013,6017,6021,6025,6029,6033,6037,6041,6046,6050,6054,6059,6063,6067,6071,6076],{"type":31,"tagName":347,"properties":5983,"children":5984},{"style":750},[5985],{"type":27,"value":2912},{"type":31,"tagName":347,"properties":5987,"children":5988},{"style":409},[5989],{"type":27,"value":5990}," (openDay ",{"type":31,"tagName":347,"properties":5992,"children":5993},{"style":750},[5994],{"type":27,"value":2631},{"type":31,"tagName":347,"properties":5996,"children":5997},{"style":459},[5998],{"type":27,"value":1725},{"type":31,"tagName":347,"properties":6000,"children":6001},{"style":409},[6002],{"type":27,"value":6003},") { doneHead ",{"type":31,"tagName":347,"properties":6005,"children":6006},{"style":750},[6007],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":6009,"children":6010},{"style":409},[6011],{"type":27,"value":6012}," (doneHead ",{"type":31,"tagName":347,"properties":6014,"children":6015},{"style":750},[6016],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":6018,"children":6019},{"style":459},[6020],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":6022,"children":6023},{"style":409},[6024],{"type":27,"value":1499},{"type":31,"tagName":347,"properties":6026,"children":6027},{"style":750},[6028],{"type":27,"value":3314},{"type":31,"tagName":347,"properties":6030,"children":6031},{"style":459},[6032],{"type":27,"value":1088},{"type":31,"tagName":347,"properties":6034,"children":6035},{"style":409},[6036],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":6038,"children":6039},{"style":750},[6040],{"type":27,"value":2487},{"type":31,"tagName":347,"properties":6042,"children":6043},{"style":409},[6044],{"type":27,"value":6045}," (doneCount ",{"type":31,"tagName":347,"properties":6047,"children":6048},{"style":750},[6049],{"type":27,"value":1138},{"type":31,"tagName":347,"properties":6051,"children":6052},{"style":459},[6053],{"type":27,"value":1088},{"type":31,"tagName":347,"properties":6055,"children":6056},{"style":409},[6057],{"type":27,"value":6058},") doneCount ",{"type":31,"tagName":347,"properties":6060,"children":6061},{"style":750},[6062],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":6064,"children":6065},{"style":459},[6066],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":6068,"children":6069},{"style":409},[6070],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":6072,"children":6073},{"style":403},[6074],{"type":27,"value":6075},"foldDay",{"type":31,"tagName":347,"properties":6077,"children":6078},{"style":409},[6079],{"type":27,"value":6080},"(openSeq, seq, doneHead); }",{"type":27,"value":28},{"type":31,"tagName":347,"properties":6083,"children":6084},{"class":349},[6085,6090,6094,6099,6103,6107,6111,6115],{"type":31,"tagName":347,"properties":6086,"children":6087},{"style":409},[6088],{"type":27,"value":6089},"    openDay ",{"type":31,"tagName":347,"properties":6091,"children":6092},{"style":750},[6093],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":6095,"children":6096},{"style":409},[6097],{"type":27,"value":6098}," day; openSeq ",{"type":31,"tagName":347,"properties":6100,"children":6101},{"style":750},[6102],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":6104,"children":6105},{"style":409},[6106],{"type":27,"value":1689},{"type":31,"tagName":347,"properties":6108,"children":6109},{"style":750},[6110],{"type":27,"value":2674},{"type":31,"tagName":347,"properties":6112,"children":6113},{"style":459},[6114],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":6116,"children":6117},{"style":409},[6118],{"type":27,"value":2614},{"type":27,"value":28},{"type":31,"tagName":347,"properties":6121,"children":6122},{"class":349},[6123],{"type":31,"tagName":347,"properties":6124,"children":6125},{"style":409},[6126],{"type":27,"value":3027},{"type":27,"value":28},{"type":31,"tagName":347,"properties":6129,"children":6130},{"class":349},[6131,6136,6140,6144,6148,6152,6157,6161,6165,6169,6173,6178,6182,6187,6191,6196,6200,6205,6209],{"type":31,"tagName":347,"properties":6132,"children":6133},{"style":409},[6134],{"type":27,"value":6135},"  seq ",{"type":31,"tagName":347,"properties":6137,"children":6138},{"style":750},[6139],{"type":27,"value":2684},{"type":31,"tagName":347,"properties":6141,"children":6142},{"style":459},[6143],{"type":27,"value":1337},{"type":31,"tagName":347,"properties":6145,"children":6146},{"style":409},[6147],{"type":27,"value":1057},{"type":31,"tagName":347,"properties":6149,"children":6150},{"style":750},[6151],{"type":27,"value":753},{"type":31,"tagName":347,"properties":6153,"children":6154},{"style":459},[6155],{"type":27,"value":6156}," slot",{"type":31,"tagName":347,"properties":6158,"children":6159},{"style":750},[6160],{"type":27,"value":763},{"type":31,"tagName":347,"properties":6162,"children":6163},{"style":409},[6164],{"type":27,"value":1689},{"type":31,"tagName":347,"properties":6166,"children":6167},{"style":750},[6168],{"type":27,"value":3314},{"type":31,"tagName":347,"properties":6170,"children":6171},{"style":459},[6172],{"type":27,"value":1043},{"type":31,"tagName":347,"properties":6174,"children":6175},{"style":409},[6176],{"type":27,"value":6177},"; barT[slot] ",{"type":31,"tagName":347,"properties":6179,"children":6180},{"style":750},[6181],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":6183,"children":6184},{"style":409},[6185],{"type":27,"value":6186}," t; barLo[slot] ",{"type":31,"tagName":347,"properties":6188,"children":6189},{"style":750},[6190],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":6192,"children":6193},{"style":409},[6194],{"type":27,"value":6195}," lo; barHi[slot] ",{"type":31,"tagName":347,"properties":6197,"children":6198},{"style":750},[6199],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":6201,"children":6202},{"style":409},[6203],{"type":27,"value":6204}," hi; barOi[slot] ",{"type":31,"tagName":347,"properties":6206,"children":6207},{"style":750},[6208],{"type":27,"value":1640},{"type":31,"tagName":347,"properties":6210,"children":6211},{"style":409},[6212],{"type":27,"value":6213}," change;",{"type":27,"value":28},{"type":31,"tagName":347,"properties":6216,"children":6217},{"class":349},[6218,6223],{"type":31,"tagName":347,"properties":6219,"children":6220},{"style":403},[6221],{"type":27,"value":6222},"  out_oi_change",{"type":31,"tagName":347,"properties":6224,"children":6225},{"style":409},[6226],{"type":27,"value":3820},{"type":27,"value":28},{"type":31,"tagName":347,"properties":6229,"children":6230},{"class":349},[6231,6236,6240,6244,6248,6252,6256,6260,6264,6268,6272,6276,6281,6285,6289],{"type":31,"tagName":347,"properties":6232,"children":6233},{"style":403},[6234],{"type":27,"value":6235},"  out_oi_tone",{"type":31,"tagName":347,"properties":6237,"children":6238},{"style":409},[6239],{"type":27,"value":412},{"type":31,"tagName":347,"properties":6241,"children":6242},{"style":403},[6243],{"type":27,"value":3753},{"type":31,"tagName":347,"properties":6245,"children":6246},{"style":409},[6247],{"type":27,"value":3758},{"type":31,"tagName":347,"properties":6249,"children":6250},{"style":750},[6251],{"type":27,"value":5700},{"type":31,"tagName":347,"properties":6253,"children":6254},{"style":459},[6255],{"type":27,"value":1846},{"type":31,"tagName":347,"properties":6257,"children":6258},{"style":750},[6259],{"type":27,"value":2153},{"type":31,"tagName":347,"properties":6261,"children":6262},{"style":409},[6263],{"type":27,"value":3767},{"type":31,"tagName":347,"properties":6265,"children":6266},{"style":750},[6267],{"type":27,"value":2631},{"type":31,"tagName":347,"properties":6269,"children":6270},{"style":459},[6271],{"type":27,"value":2664},{"type":31,"tagName":347,"properties":6273,"children":6274},{"style":750},[6275],{"type":27,"value":2144},{"type":31,"tagName":347,"properties":6277,"children":6278},{"style":459},[6279],{"type":27,"value":6280}," 1.0",{"type":31,"tagName":347,"properties":6282,"children":6283},{"style":750},[6284],{"type":27,"value":2153},{"type":31,"tagName":347,"properties":6286,"children":6287},{"style":459},[6288],{"type":27,"value":2664},{"type":31,"tagName":347,"properties":6290,"children":6291},{"style":409},[6292],{"type":27,"value":4202},{"type":27,"value":28},{"type":31,"tagName":347,"properties":6295,"children":6296},{"class":349},[6297,6301,6305,6309,6314,6319],{"type":31,"tagName":347,"properties":6298,"children":6299},{"style":750},[6300],{"type":27,"value":2452},{"type":31,"tagName":347,"properties":6302,"children":6303},{"style":409},[6304],{"type":27,"value":5774},{"type":31,"tagName":347,"properties":6306,"children":6307},{"style":403},[6308],{"type":27,"value":5779},{"type":31,"tagName":347,"properties":6310,"children":6311},{"style":409},[6312],{"type":27,"value":6313},"()) ",{"type":31,"tagName":347,"properties":6315,"children":6316},{"style":403},[6317],{"type":27,"value":6318},"writeSpans",{"type":31,"tagName":347,"properties":6320,"children":6321},{"style":409},[6322],{"type":27,"value":5656},{"type":27,"value":28},{"type":31,"tagName":347,"properties":6325,"children":6326},{"class":349},[6327],{"type":31,"tagName":347,"properties":6328,"children":6329},{"style":409},[6330],{"type":27,"value":2193},{"type":27,"value":28},{"type":31,"tagName":314,"properties":6333,"children":6334,"position":6344},{},[6335],{"type":27,"value":6336,"position":6337},"How it works",{"start":6338,"end":6341},{"line":6339,"column":322,"offset":6340},121,11130,{"line":6339,"column":6342,"offset":6343},16,11142,{"start":6345,"end":6347},{"line":6339,"column":21,"offset":6346},11127,{"line":6339,"column":6342,"offset":6343},{"type":27,"value":28},{"type":31,"tagName":32,"properties":6350,"children":6351,"position":6418},{},[6352,6371,6378,6391,6398,6411],{"type":31,"tagName":262,"properties":6353,"children":6354,"position":6365},{},[6355],{"type":27,"value":6356,"position":6357},"The change, not the level.",{"start":6358,"end":6362},{"line":6359,"column":6360,"offset":6361},123,3,11146,{"line":6359,"column":6363,"offset":6364},29,11172,{"start":6366,"end":6368},{"line":6359,"column":21,"offset":6367},11144,{"line":6359,"column":6369,"offset":6370},31,11174,{"type":27,"value":6372,"position":6373}," ",{"start":6374,"end":6375},{"line":6359,"column":6369,"offset":6370},{"line":6359,"column":6376,"offset":6377},32,11175,{"type":31,"tagName":81,"properties":6379,"children":6380,"position":6388},{},[6381],{"type":27,"value":6382,"position":6383},"input(\"oi\", oi.close, { missing: \"nan\" })",{"start":6384,"end":6385},{"line":6359,"column":6376,"offset":6377},{"line":6359,"column":6386,"offset":6387},75,11218,{"start":6389,"end":6390},{"line":6359,"column":6376,"offset":6377},{"line":6359,"column":6386,"offset":6387},{"type":27,"value":6392,"position":6393}," reads open interest at each bar's close; the bar's change is the difference from the last reading (NaN until two readings exist, and on a market without open interest). ",{"start":6394,"end":6395},{"line":6359,"column":6386,"offset":6387},{"line":6359,"column":6396,"offset":6397},245,11388,{"type":31,"tagName":81,"properties":6399,"children":6400,"position":6408},{},[6401],{"type":27,"value":6402,"position":6403},"oi_change",{"start":6404,"end":6405},{"line":6359,"column":6396,"offset":6397},{"line":6359,"column":6406,"offset":6407},256,11399,{"start":6409,"end":6410},{"line":6359,"column":6396,"offset":6397},{"line":6359,"column":6406,"offset":6407},{"type":27,"value":6412,"position":6413}," is that number as a histogram under the chart, green while open interest rose and red while it fell.",{"start":6414,"end":6415},{"line":6359,"column":6406,"offset":6407},{"line":6359,"column":6416,"offset":6417},357,11500,{"start":6419,"end":6420},{"line":6359,"column":21,"offset":6367},{"line":6359,"column":6416,"offset":6417},{"type":27,"value":28},{"type":31,"tagName":32,"properties":6423,"children":6424,"position":6486},{},[6425,6441,6447,6459,6466,6479],{"type":31,"tagName":262,"properties":6426,"children":6427,"position":6436},{},[6428],{"type":27,"value":6429,"position":6430},"Rows per day.",{"start":6431,"end":6434},{"line":6432,"column":6360,"offset":6433},125,11504,{"line":6432,"column":6342,"offset":6435},11517,{"start":6437,"end":6439},{"line":6432,"column":21,"offset":6438},11502,{"line":6432,"column":78,"offset":6440},11519,{"type":27,"value":6442,"position":6443}," Every bar lands in a ring with its open time, its high and low and its change. Where the UTC day changes, ",{"start":6444,"end":6445},{"line":6432,"column":78,"offset":6440},{"line":6432,"column":6432,"offset":6446},11626,{"type":31,"tagName":81,"properties":6448,"children":6449,"position":6456},{},[6450],{"type":27,"value":6075,"position":6451},{"start":6452,"end":6453},{"line":6432,"column":6432,"offset":6446},{"line":6432,"column":6454,"offset":6455},134,11635,{"start":6457,"end":6458},{"line":6432,"column":6432,"offset":6446},{"line":6432,"column":6454,"offset":6455},{"type":27,"value":6460,"position":6461}," folds the day that just ended once: it finds the day's price span, splits it into ",{"start":6462,"end":6463},{"line":6432,"column":6454,"offset":6455},{"line":6432,"column":6464,"offset":6465},217,11718,{"type":31,"tagName":81,"properties":6467,"children":6468,"position":6476},{},[6469],{"type":27,"value":6470,"position":6471},"rows",{"start":6472,"end":6473},{"line":6432,"column":6464,"offset":6465},{"line":6432,"column":6474,"offset":6475},223,11724,{"start":6477,"end":6478},{"line":6432,"column":6464,"offset":6465},{"line":6432,"column":6474,"offset":6475},{"type":27,"value":6480,"position":6481}," (32) rows, and spreads each bar's change over the rows its range overlapped, in proportion; a row keeps the open interest moved on it (built or unwound, always positive: the bar's length) and the net change (its colour), and the folded day waits in a ring of 30 finished days. On the live bar only the open day is folded again, so a live tick costs one day's bars, never every day's. A day with no span or no change is left out.",{"start":6482,"end":6483},{"line":6432,"column":6474,"offset":6475},{"line":6432,"column":6484,"offset":6485},652,12153,{"start":6487,"end":6488},{"line":6432,"column":21,"offset":6438},{"line":6432,"column":6484,"offset":6485},{"type":27,"value":28},{"type":31,"tagName":32,"properties":6491,"children":6492,"position":6694},{},[6493,6510,6516,6529,6536,6548,6555,6568,6575,6588,6595,6608,6615,6628,6634,6647,6654,6667,6674,6687],{"type":31,"tagName":262,"properties":6494,"children":6495,"position":6505},{},[6496],{"type":27,"value":6497,"position":6498},"One span per day.",{"start":6499,"end":6502},{"line":6500,"column":6360,"offset":6501},127,12157,{"line":6500,"column":6503,"offset":6504},20,12174,{"start":6506,"end":6508},{"line":6500,"column":21,"offset":6507},12155,{"line":6500,"column":325,"offset":6509},12176,{"type":27,"value":6372,"position":6511},{"start":6512,"end":6513},{"line":6500,"column":325,"offset":6509},{"line":6500,"column":6514,"offset":6515},23,12177,{"type":31,"tagName":81,"properties":6517,"children":6518,"position":6526},{},[6519],{"type":27,"value":6520,"position":6521},"frame(\"oi_spans\")",{"start":6522,"end":6523},{"line":6500,"column":6514,"offset":6515},{"line":6500,"column":6524,"offset":6525},42,12196,{"start":6527,"end":6528},{"line":6500,"column":6514,"offset":6515},{"line":6500,"column":6524,"offset":6525},{"type":27,"value":6530,"position":6531}," carries ",{"start":6532,"end":6533},{"line":6500,"column":6524,"offset":6525},{"line":6500,"column":6534,"offset":6535},51,12205,{"type":31,"tagName":81,"properties":6537,"children":6538,"position":6545},{},[6539],{"type":27,"value":6540,"position":6541},"{ \"spans\": [{ \"start\", \"end\", \"prices\", \"values\", \"colors\" }, ...] }",{"start":6542,"end":6543},{"line":6500,"column":6534,"offset":6535},{"line":6500,"column":6339,"offset":6544},12275,{"start":6546,"end":6547},{"line":6500,"column":6534,"offset":6535},{"line":6500,"column":6339,"offset":6544},{"type":27,"value":6549,"position":6550},", one entry per day with its bounds in epoch seconds (the newest ",{"start":6551,"end":6552},{"line":6500,"column":6339,"offset":6544},{"line":6500,"column":6553,"offset":6554},186,12340,{"type":31,"tagName":81,"properties":6556,"children":6557,"position":6565},{},[6558],{"type":27,"value":6559,"position":6560},"sessions",{"start":6561,"end":6562},{"line":6500,"column":6553,"offset":6554},{"line":6500,"column":6563,"offset":6564},196,12350,{"start":6566,"end":6567},{"line":6500,"column":6553,"offset":6554},{"line":6500,"column":6563,"offset":6564},{"type":27,"value":6569,"position":6570}," (10) days: the finished ones as they were folded, then the open day), and feeds ",{"start":6571,"end":6572},{"line":6500,"column":6563,"offset":6564},{"line":6500,"column":6573,"offset":6574},277,12431,{"type":31,"tagName":81,"properties":6576,"children":6577,"position":6585},{},[6578],{"type":27,"value":6579,"position":6580},"plot.levels({ span: \"time\" })",{"start":6581,"end":6582},{"line":6500,"column":6573,"offset":6574},{"line":6500,"column":6583,"offset":6584},308,12462,{"start":6586,"end":6587},{"line":6500,"column":6573,"offset":6574},{"line":6500,"column":6583,"offset":6584},{"type":27,"value":6589,"position":6590},": the chart draws every span's rows from the day's first bar, growing right across ",{"start":6591,"end":6592},{"line":6500,"column":6583,"offset":6584},{"line":6500,"column":6593,"offset":6594},391,12545,{"type":31,"tagName":81,"properties":6596,"children":6597,"position":6605},{},[6598],{"type":27,"value":6599,"position":6600},"width_frac",{"start":6601,"end":6602},{"line":6500,"column":6593,"offset":6594},{"line":6500,"column":6603,"offset":6604},403,12557,{"start":6606,"end":6607},{"line":6500,"column":6593,"offset":6594},{"line":6500,"column":6603,"offset":6604},{"type":27,"value":6609,"position":6610}," (0.5) of the day's width, each day scaled to its own biggest row. ",{"start":6611,"end":6612},{"line":6500,"column":6603,"offset":6604},{"line":6500,"column":6613,"offset":6614},470,12624,{"type":31,"tagName":81,"properties":6616,"children":6617,"position":6625},{},[6618],{"type":27,"value":6619,"position":6620},"hover: true",{"start":6621,"end":6622},{"line":6500,"column":6613,"offset":6614},{"line":6500,"column":6623,"offset":6624},483,12637,{"start":6626,"end":6627},{"line":6500,"column":6613,"offset":6614},{"line":6500,"column":6623,"offset":6624},{"type":27,"value":140,"position":6629},{"start":6630,"end":6631},{"line":6500,"column":6623,"offset":6624},{"line":6500,"column":6632,"offset":6633},489,12643,{"type":31,"tagName":81,"properties":6635,"children":6636,"position":6644},{},[6637],{"type":27,"value":6638,"position":6639},"format: \"si\"",{"start":6640,"end":6641},{"line":6500,"column":6632,"offset":6633},{"line":6500,"column":6642,"offset":6643},503,12657,{"start":6645,"end":6646},{"line":6500,"column":6632,"offset":6633},{"line":6500,"column":6642,"offset":6643},{"type":27,"value":6648,"position":6649}," reads a row's open interest as ",{"start":6650,"end":6651},{"line":6500,"column":6642,"offset":6643},{"line":6500,"column":6652,"offset":6653},535,12689,{"type":31,"tagName":81,"properties":6655,"children":6656,"position":6664},{},[6657],{"type":27,"value":6658,"position":6659},"1.2M",{"start":6660,"end":6661},{"line":6500,"column":6652,"offset":6653},{"line":6500,"column":6662,"offset":6663},541,12695,{"start":6665,"end":6666},{"line":6500,"column":6652,"offset":6653},{"line":6500,"column":6662,"offset":6663},{"type":27,"value":6668,"position":6669}," in the hover card. The frame is built with the generated ",{"start":6670,"end":6671},{"line":6500,"column":6662,"offset":6663},{"line":6500,"column":6672,"offset":6673},599,12753,{"type":31,"tagName":81,"properties":6675,"children":6676,"position":6684},{},[6677],{"type":27,"value":6678,"position":6679},"fb_*",{"start":6680,"end":6681},{"line":6500,"column":6672,"offset":6673},{"line":6500,"column":6682,"offset":6683},605,12759,{"start":6685,"end":6686},{"line":6500,"column":6672,"offset":6673},{"line":6500,"column":6682,"offset":6683},{"type":27,"value":6688,"position":6689}," writer, so the live bar allocates nothing.",{"start":6690,"end":6691},{"line":6500,"column":6682,"offset":6683},{"line":6500,"column":6692,"offset":6693},648,12802,{"start":6695,"end":6696},{"line":6500,"column":21,"offset":6507},{"line":6500,"column":6692,"offset":6693},{"type":27,"value":28},{"type":31,"tagName":314,"properties":6699,"children":6700,"position":6710},{},[6701],{"type":27,"value":6702,"position":6703},"Where it runs",{"start":6704,"end":6707},{"line":6705,"column":322,"offset":6706},129,12807,{"line":6705,"column":6708,"offset":6709},17,12820,{"start":6711,"end":6713},{"line":6705,"column":21,"offset":6712},12804,{"line":6705,"column":6708,"offset":6709},{"type":27,"value":28},{"type":31,"tagName":32,"properties":6716,"children":6717,"position":6786},{},[6718,6727,6740,6746,6760,6767,6779],{"type":27,"value":6719,"position":6720},"Perpetual futures with an open-interest feed: Binance Futures, Hyperliquid and the other venues that serve ",{"start":6721,"end":6724},{"line":6722,"column":21,"offset":6723},131,12822,{"line":6722,"column":6725,"offset":6726},108,12929,{"type":31,"tagName":81,"properties":6728,"children":6729,"position":6737},{},[6730],{"type":27,"value":6731,"position":6732},"oi",{"start":6733,"end":6734},{"line":6722,"column":6725,"offset":6726},{"line":6722,"column":6735,"offset":6736},112,12933,{"start":6738,"end":6739},{"line":6722,"column":6725,"offset":6726},{"line":6722,"column":6735,"offset":6736},{"type":27,"value":160,"position":6741},{"start":6742,"end":6743},{"line":6722,"column":6735,"offset":6736},{"line":6722,"column":6744,"offset":6745},114,12935,{"type":31,"tagName":102,"properties":6747,"children":6748,"position":6756},{"href":104},[6749],{"type":27,"value":107,"position":6750},{"start":6751,"end":6754},{"line":6722,"column":6752,"offset":6753},115,12936,{"line":6722,"column":6500,"offset":6755},12948,{"start":6757,"end":6758},{"line":6722,"column":6744,"offset":6745},{"line":6722,"column":134,"offset":6759},12983,{"type":27,"value":6761,"position":6762}," lists them). A day is folded from the ring of the newest 8192 bars when it ends, and the ring holds a whole day down to 11-second bars, so a 1m chart shows its ",{"start":6763,"end":6764},{"line":6722,"column":134,"offset":6759},{"line":6722,"column":6765,"offset":6766},323,13144,{"type":31,"tagName":81,"properties":6768,"children":6769,"position":6776},{},[6770],{"type":27,"value":6559,"position":6771},{"start":6772,"end":6773},{"line":6722,"column":6765,"offset":6766},{"line":6722,"column":6774,"offset":6775},333,13154,{"start":6777,"end":6778},{"line":6722,"column":6765,"offset":6766},{"line":6722,"column":6774,"offset":6775},{"type":27,"value":6780,"position":6781}," days whole, as far back as the chart has loaded, like a 5m one.",{"start":6782,"end":6783},{"line":6722,"column":6774,"offset":6775},{"line":6722,"column":6784,"offset":6785},397,13218,{"start":6787,"end":6788},{"line":6722,"column":21,"offset":6723},{"line":6722,"column":6784,"offset":6785},{"type":27,"value":28},{"type":31,"tagName":314,"properties":6791,"children":6792,"position":6801},{},[6793],{"type":27,"value":6794,"position":6795},"When data is missing",{"start":6796,"end":6798},{"line":24,"column":322,"offset":6797},13223,{"line":24,"column":6799,"offset":6800},24,13243,{"start":6802,"end":6804},{"line":24,"column":21,"offset":6803},13220,{"line":24,"column":6799,"offset":6800},{"type":27,"value":28},{"type":31,"tagName":32,"properties":6807,"children":6808,"position":6877},{},[6809,6818,6831,6838,6851,6858,6871],{"type":27,"value":6810,"position":6811},"Spot, stocks, FX and prediction markets carry no open interest: every bar's change reads NaN, the histogram stays empty and no profile is drawn (nothing moved), and one line of words shows at the top right of the chart, ",{"start":6812,"end":6815},{"line":6813,"column":21,"offset":6814},135,13245,{"line":6813,"column":6816,"offset":6817},221,13465,{"type":31,"tagName":81,"properties":6819,"children":6820,"position":6828},{},[6821],{"type":27,"value":6822,"position":6823},"No open interest on this market",{"start":6824,"end":6825},{"line":6813,"column":6816,"offset":6817},{"line":6813,"column":6826,"offset":6827},254,13498,{"start":6829,"end":6830},{"line":6813,"column":6816,"offset":6817},{"line":6813,"column":6826,"offset":6827},{"type":27,"value":6832,"position":6833},", in plain slate: the ",{"start":6834,"end":6835},{"line":6813,"column":6826,"offset":6827},{"line":6813,"column":6836,"offset":6837},276,13520,{"type":31,"tagName":81,"properties":6839,"children":6840,"position":6848},{},[6841],{"type":27,"value":6842,"position":6843},"note",{"start":6844,"end":6845},{"line":6813,"column":6836,"offset":6837},{"line":6813,"column":6846,"offset":6847},282,13526,{"start":6849,"end":6850},{"line":6813,"column":6836,"offset":6837},{"line":6813,"column":6846,"offset":6847},{"type":27,"value":6852,"position":6853}," label handle, written on the live bar while no bar has brought a reading, pinned to the pane's top right corner, right-aligned and ",{"start":6854,"end":6855},{"line":6813,"column":6846,"offset":6847},{"line":6813,"column":6856,"offset":6857},414,13658,{"type":31,"tagName":81,"properties":6859,"children":6860,"position":6868},{},[6861],{"type":27,"value":6862,"position":6863},"safe_area: true",{"start":6864,"end":6865},{"line":6813,"column":6856,"offset":6857},{"line":6813,"column":6866,"offset":6867},431,13675,{"start":6869,"end":6870},{"line":6813,"column":6856,"offset":6857},{"line":6813,"column":6866,"offset":6867},{"type":27,"value":6872,"position":6873},", so it clears the chart's own buttons. A bar without a reading keeps the last one, so the next reading's change covers both bars. The first bar of a run has no change.",{"start":6874,"end":6875},{"line":6813,"column":6866,"offset":6867},{"line":6813,"column":6672,"offset":6876},13843,{"start":6878,"end":6879},{"line":6813,"column":21,"offset":6814},{"line":6813,"column":6672,"offset":6876},{"type":27,"value":28},{"type":31,"tagName":314,"properties":6882,"children":6883,"position":6892},{},[6884],{"type":27,"value":6885,"position":6886},"Customize it",{"start":6887,"end":6890},{"line":6888,"column":322,"offset":6889},137,13848,{"line":6888,"column":6342,"offset":6891},13860,{"start":6893,"end":6895},{"line":6888,"column":21,"offset":6894},13845,{"line":6888,"column":6342,"offset":6891},{"type":27,"value":28},{"type":31,"tagName":6898,"properties":6899,"children":6900,"position":7106},"ul",{},[6901,6902,6971,6972,7020,7021,7105],{"type":27,"value":28},{"type":31,"tagName":6903,"properties":6904,"children":6905,"position":6967},"li",{},[6906,6923,6929,6941,6948,6960],{"type":31,"tagName":262,"properties":6907,"children":6908,"position":6918},{},[6909],{"type":27,"value":6910,"position":6911},"More days, finer rows.",{"start":6912,"end":6915},{"line":6913,"column":43,"offset":6914},139,13866,{"line":6913,"column":6916,"offset":6917},27,13888,{"start":6919,"end":6921},{"line":6913,"column":6360,"offset":6920},13864,{"line":6913,"column":6363,"offset":6922},13890,{"type":27,"value":6372,"position":6924},{"start":6925,"end":6926},{"line":6913,"column":6363,"offset":6922},{"line":6913,"column":6927,"offset":6928},30,13891,{"type":31,"tagName":81,"properties":6930,"children":6931,"position":6938},{},[6932],{"type":27,"value":6559,"position":6933},{"start":6934,"end":6935},{"line":6913,"column":6927,"offset":6928},{"line":6913,"column":6936,"offset":6937},40,13901,{"start":6939,"end":6940},{"line":6913,"column":6927,"offset":6928},{"line":6913,"column":6936,"offset":6937},{"type":27,"value":6942,"position":6943}," up to 30 and ",{"start":6944,"end":6945},{"line":6913,"column":6936,"offset":6937},{"line":6913,"column":6946,"offset":6947},54,13915,{"type":31,"tagName":81,"properties":6949,"children":6950,"position":6957},{},[6951],{"type":27,"value":6470,"position":6952},{"start":6953,"end":6954},{"line":6913,"column":6946,"offset":6947},{"line":6913,"column":6955,"offset":6956},60,13921,{"start":6958,"end":6959},{"line":6913,"column":6946,"offset":6947},{"line":6913,"column":6955,"offset":6956},{"type":27,"value":6961,"position":6962}," up to 64 (64 rows across 30 days is 1920 rows, inside the frame's 65536 bytes).",{"start":6963,"end":6964},{"line":6913,"column":6955,"offset":6956},{"line":6913,"column":6965,"offset":6966},140,14001,{"start":6968,"end":6970},{"line":6913,"column":21,"offset":6969},13862,{"line":6913,"column":6965,"offset":6966},{"type":27,"value":28},{"type":31,"tagName":6903,"properties":6973,"children":6974,"position":7016},{},[6975,6991,6996,7009],{"type":31,"tagName":262,"properties":6976,"children":6977,"position":6986},{},[6978],{"type":27,"value":6979,"position":6980},"Grow from the right.",{"start":6981,"end":6983},{"line":6965,"column":43,"offset":6982},14006,{"line":6965,"column":6984,"offset":6985},25,14026,{"start":6987,"end":6989},{"line":6965,"column":6360,"offset":6988},14004,{"line":6965,"column":6916,"offset":6990},14028,{"type":27,"value":6372,"position":6992},{"start":6993,"end":6994},{"line":6965,"column":6916,"offset":6990},{"line":6965,"column":89,"offset":6995},14029,{"type":31,"tagName":81,"properties":6997,"children":6998,"position":7006},{},[6999],{"type":27,"value":7000,"position":7001},"dock: \"right\"",{"start":7002,"end":7003},{"line":6965,"column":89,"offset":6995},{"line":6965,"column":7004,"offset":7005},43,14044,{"start":7007,"end":7008},{"line":6965,"column":89,"offset":6995},{"line":6965,"column":7004,"offset":7005},{"type":27,"value":7010,"position":7011}," grows each day's rows from the day's last bar instead.",{"start":7012,"end":7013},{"line":6965,"column":7004,"offset":7005},{"line":6965,"column":7014,"offset":7015},98,14099,{"start":7017,"end":7019},{"line":6965,"column":21,"offset":7018},14002,{"line":6965,"column":7014,"offset":7015},{"type":27,"value":28},{"type":31,"tagName":6903,"properties":7022,"children":7023,"position":7101},{},[7024,7040,7045,7058,7064,7076,7083,7095],{"type":31,"tagName":262,"properties":7025,"children":7026,"position":7035},{},[7027],{"type":27,"value":7028,"position":7029},"Rows with labels.",{"start":7030,"end":7033},{"line":7031,"column":43,"offset":7032},141,14104,{"line":7031,"column":325,"offset":7034},14121,{"start":7036,"end":7038},{"line":7031,"column":6360,"offset":7037},14102,{"line":7031,"column":6799,"offset":7039},14123,{"type":27,"value":6372,"position":7041},{"start":7042,"end":7043},{"line":7031,"column":6799,"offset":7039},{"line":7031,"column":6984,"offset":7044},14124,{"type":31,"tagName":81,"properties":7046,"children":7047,"position":7055},{},[7048],{"type":27,"value":7049,"position":7050},"labels: true",{"start":7051,"end":7052},{"line":7031,"column":6984,"offset":7044},{"line":7031,"column":7053,"offset":7054},39,14138,{"start":7056,"end":7057},{"line":7031,"column":6984,"offset":7044},{"line":7031,"column":7053,"offset":7054},{"type":27,"value":7059,"position":7060}," prints each row's value beside it (",{"start":7061,"end":7062},{"line":7031,"column":7053,"offset":7054},{"line":7031,"column":6386,"offset":7063},14174,{"type":31,"tagName":81,"properties":7065,"children":7066,"position":7073},{},[7067],{"type":27,"value":6638,"position":7068},{"start":7069,"end":7070},{"line":7031,"column":6386,"offset":7063},{"line":7031,"column":7071,"offset":7072},89,14188,{"start":7074,"end":7075},{"line":7031,"column":6386,"offset":7063},{"line":7031,"column":7071,"offset":7072},{"type":27,"value":7077,"position":7078}," keeps them short); ",{"start":7079,"end":7080},{"line":7031,"column":7071,"offset":7072},{"line":7031,"column":7081,"offset":7082},109,14208,{"type":31,"tagName":81,"properties":7084,"children":7085,"position":7092},{},[7086],{"type":27,"value":7087,"position":7088},"thickness_px",{"start":7089,"end":7090},{"line":7031,"column":7081,"offset":7082},{"line":7031,"column":6359,"offset":7091},14222,{"start":7093,"end":7094},{"line":7031,"column":7081,"offset":7082},{"line":7031,"column":6359,"offset":7091},{"type":27,"value":7096,"position":7097}," caps the rows on a coarse grid.",{"start":7098,"end":7099},{"line":7031,"column":6359,"offset":7091},{"line":7031,"column":44,"offset":7100},14254,{"start":7102,"end":7104},{"line":7031,"column":21,"offset":7103},14100,{"line":7031,"column":44,"offset":7100},{"type":27,"value":28},{"start":7107,"end":7108},{"line":6913,"column":21,"offset":6969},{"line":7031,"column":44,"offset":7100},{"type":27,"value":28},{"type":31,"tagName":314,"properties":7111,"children":7112,"position":7122},{},[7113],{"type":27,"value":7114,"position":7115},"Run it",{"start":7116,"end":7119},{"line":7117,"column":322,"offset":7118},143,14259,{"line":7117,"column":7120,"offset":7121},10,14265,{"start":7123,"end":7125},{"line":7117,"column":21,"offset":7124},14256,{"line":7117,"column":7120,"offset":7121},{"type":27,"value":28},{"type":31,"tagName":7128,"properties":7129,"children":7130,"position":7283},"ol",{},[7131,7132,7210,7211,7248,7249,7282],{"type":27,"value":28},{"type":31,"tagName":6903,"properties":7133,"children":7134,"position":7206},{},[7135,7143,7158,7165,7180,7186,7199],{"type":27,"value":7136,"position":7137},"In the editor's Explorer, press the ",{"start":7138,"end":7141},{"line":7139,"column":322,"offset":7140},145,14270,{"line":7139,"column":6936,"offset":7142},14306,{"type":31,"tagName":262,"properties":7144,"children":7145,"position":7153},{},[7146],{"type":27,"value":7147,"position":7148},"Templates",{"start":7149,"end":7151},{"line":7139,"column":6524,"offset":7150},14308,{"line":7139,"column":6534,"offset":7152},14317,{"start":7154,"end":7155},{"line":7139,"column":6936,"offset":7142},{"line":7139,"column":7156,"offset":7157},53,14319,{"type":27,"value":7159,"position":7160}," icon (\"Browse starter templates\") and pick ",{"start":7161,"end":7162},{"line":7139,"column":7156,"offset":7157},{"line":7139,"column":7163,"offset":7164},97,14363,{"type":31,"tagName":262,"properties":7166,"children":7167,"position":7175},{},[7168],{"type":27,"value":8,"position":7169},{"start":7170,"end":7173},{"line":7139,"column":7171,"offset":7172},99,14365,{"line":7139,"column":46,"offset":7174},14382,{"start":7176,"end":7177},{"line":7139,"column":7163,"offset":7164},{"line":7139,"column":7178,"offset":7179},118,14384,{"type":27,"value":7181,"position":7182}," under ",{"start":7183,"end":7184},{"line":7139,"column":7178,"offset":7179},{"line":7139,"column":6432,"offset":7185},14391,{"type":31,"tagName":262,"properties":7187,"children":7188,"position":7195},{},[7189],{"type":27,"value":289,"position":7190},{"start":7191,"end":7193},{"line":7139,"column":6500,"offset":7192},14393,{"line":7139,"column":6813,"offset":7194},14401,{"start":7196,"end":7197},{"line":7139,"column":6432,"offset":7185},{"line":7139,"column":6888,"offset":7198},14403,{"type":27,"value":7200,"position":7201},".",{"start":7202,"end":7203},{"line":7139,"column":6888,"offset":7198},{"line":7139,"column":7204,"offset":7205},138,14404,{"start":7207,"end":7209},{"line":7139,"column":21,"offset":7208},14267,{"line":7139,"column":7204,"offset":7205},{"type":27,"value":28},{"type":31,"tagName":6903,"properties":7212,"children":7213,"position":7244},{},[7214,7222,7238],{"type":27,"value":7215,"position":7216},"Press ",{"start":7217,"end":7220},{"line":7218,"column":322,"offset":7219},146,14408,{"line":7218,"column":7120,"offset":7221},14414,{"type":31,"tagName":262,"properties":7223,"children":7224,"position":7234},{},[7225],{"type":27,"value":7226,"position":7227},"Run",{"start":7228,"end":7231},{"line":7218,"column":7229,"offset":7230},12,14416,{"line":7218,"column":7232,"offset":7233},15,14419,{"start":7235,"end":7236},{"line":7218,"column":7120,"offset":7221},{"line":7218,"column":6708,"offset":7237},14421,{"type":27,"value":7239,"position":7240}," on a perpetual chart such as BTCUSDT on Binance Futures at 15m: a profile grows inside each of the last ten days and the open-interest change appears under the chart.",{"start":7241,"end":7242},{"line":7218,"column":6708,"offset":7237},{"line":7218,"column":164,"offset":7243},14588,{"start":7245,"end":7247},{"line":7218,"column":21,"offset":7246},14405,{"line":7218,"column":164,"offset":7243},{"type":27,"value":28},{"type":31,"tagName":6903,"properties":7250,"children":7251,"position":7278},{},[7252,7261,7272],{"type":27,"value":7253,"position":7254},"Hover a row for the open interest moved there; at the editor's Console prompt, type ",{"start":7255,"end":7258},{"line":7256,"column":322,"offset":7257},147,14592,{"line":7256,"column":7259,"offset":7260},88,14676,{"type":31,"tagName":81,"properties":7262,"children":7263,"position":7269},{},[7264],{"type":27,"value":6402,"position":7265},{"start":7266,"end":7267},{"line":7256,"column":7259,"offset":7260},{"line":7256,"column":7171,"offset":7268},14687,{"start":7270,"end":7271},{"line":7256,"column":7259,"offset":7260},{"line":7256,"column":7171,"offset":7268},{"type":27,"value":7273,"position":7274}," to read the newest bar's change.",{"start":7275,"end":7276},{"line":7256,"column":7171,"offset":7268},{"line":7256,"column":25,"offset":7277},14720,{"start":7279,"end":7281},{"line":7256,"column":21,"offset":7280},14589,{"line":7256,"column":25,"offset":7277},{"type":27,"value":28},{"start":7284,"end":7285},{"line":7139,"column":21,"offset":7208},{"line":7256,"column":25,"offset":7277},{"type":27,"value":28},{"type":31,"tagName":314,"properties":7288,"children":7289,"position":7297},{},[7290],{"type":27,"value":7291,"position":7292},"Concepts used",{"start":7293,"end":7295},{"line":124,"column":322,"offset":7294},14725,{"line":124,"column":6708,"offset":7296},14738,{"start":7298,"end":7300},{"line":124,"column":21,"offset":7299},14722,{"line":124,"column":6708,"offset":7296},{"type":27,"value":28},{"type":31,"tagName":6898,"properties":7303,"children":7304,"position":7469},{},[7305,7306,7373,7374,7439,7440,7468],{"type":27,"value":28},{"type":31,"tagName":6903,"properties":7307,"children":7308,"position":7369},{},[7309,7324,7330,7342,7349,7362],{"type":31,"tagName":102,"properties":7310,"children":7311,"position":7319},{"href":104},[7312],{"type":27,"value":107,"position":7313},{"start":7314,"end":7317},{"line":7315,"column":322,"offset":7316},151,14743,{"line":7315,"column":6342,"offset":7318},14755,{"start":7320,"end":7322},{"line":7315,"column":6360,"offset":7321},14742,{"line":7315,"column":6534,"offset":7323},14790,{"type":27,"value":7325,"position":7326}," for the ",{"start":7327,"end":7328},{"line":7315,"column":6534,"offset":7323},{"line":7315,"column":6955,"offset":7329},14799,{"type":31,"tagName":81,"properties":7331,"children":7332,"position":7339},{},[7333],{"type":27,"value":6731,"position":7334},{"start":7335,"end":7336},{"line":7315,"column":6955,"offset":7329},{"line":7315,"column":7337,"offset":7338},64,14803,{"start":7340,"end":7341},{"line":7315,"column":6955,"offset":7329},{"line":7315,"column":7337,"offset":7338},{"type":27,"value":7343,"position":7344}," feed and the ",{"start":7345,"end":7346},{"line":7315,"column":7337,"offset":7338},{"line":7315,"column":7347,"offset":7348},78,14817,{"type":31,"tagName":81,"properties":7350,"children":7351,"position":7359},{},[7352],{"type":27,"value":7353,"position":7354},"missing: \"nan\"",{"start":7355,"end":7356},{"line":7315,"column":7347,"offset":7348},{"line":7315,"column":7357,"offset":7358},94,14833,{"start":7360,"end":7361},{"line":7315,"column":7347,"offset":7348},{"line":7315,"column":7357,"offset":7358},{"type":27,"value":7363,"position":7364}," policy",{"start":7365,"end":7366},{"line":7315,"column":7357,"offset":7358},{"line":7315,"column":7367,"offset":7368},101,14840,{"start":7370,"end":7372},{"line":7315,"column":21,"offset":7371},14740,{"line":7315,"column":7367,"offset":7368},{"type":27,"value":28},{"type":31,"tagName":6903,"properties":7375,"children":7376,"position":7435},{},[7377,7393,7400,7411,7417,7428],{"type":31,"tagName":102,"properties":7378,"children":7379,"position":7387},{"href":168},[7380],{"type":27,"value":171,"position":7381},{"start":7382,"end":7385},{"line":7383,"column":322,"offset":7384},152,14844,{"line":7383,"column":325,"offset":7386},14862,{"start":7388,"end":7390},{"line":7383,"column":6360,"offset":7389},14843,{"line":7383,"column":7391,"offset":7392},63,14903,{"type":27,"value":7394,"position":7395}," for frames, ",{"start":7396,"end":7397},{"line":7383,"column":7391,"offset":7392},{"line":7383,"column":7398,"offset":7399},76,14916,{"type":31,"tagName":81,"properties":7401,"children":7402,"position":7408},{},[7403],{"type":27,"value":130,"position":7404},{"start":7405,"end":7406},{"line":7383,"column":7398,"offset":7399},{"line":7383,"column":7071,"offset":7407},14929,{"start":7409,"end":7410},{"line":7383,"column":7398,"offset":7399},{"line":7383,"column":7071,"offset":7407},{"type":27,"value":7412,"position":7413}," and the ",{"start":7414,"end":7415},{"line":7383,"column":7071,"offset":7407},{"line":7383,"column":7014,"offset":7416},14938,{"type":31,"tagName":81,"properties":7418,"children":7419,"position":7425},{},[7420],{"type":27,"value":150,"position":7421},{"start":7422,"end":7423},{"line":7383,"column":7014,"offset":7416},{"line":7383,"column":6735,"offset":7424},14952,{"start":7426,"end":7427},{"line":7383,"column":7014,"offset":7416},{"line":7383,"column":6735,"offset":7424},{"type":27,"value":7429,"position":7430}," frame shape",{"start":7431,"end":7432},{"line":7383,"column":6735,"offset":7424},{"line":7383,"column":7433,"offset":7434},124,14964,{"start":7436,"end":7438},{"line":7383,"column":21,"offset":7437},14841,{"line":7383,"column":7433,"offset":7434},{"type":27,"value":28},{"type":31,"tagName":6903,"properties":7441,"children":7442,"position":7464},{},[7443,7458],{"type":31,"tagName":102,"properties":7444,"children":7445,"position":7453},{"href":193},[7446],{"type":27,"value":196,"position":7447},{"start":7448,"end":7451},{"line":7449,"column":322,"offset":7450},153,14968,{"line":7449,"column":7229,"offset":7452},14976,{"start":7454,"end":7456},{"line":7449,"column":6360,"offset":7455},14967,{"line":7449,"column":6524,"offset":7457},15006,{"type":27,"value":7459,"position":7460}," for the histogram output and its colour index",{"start":7461,"end":7462},{"line":7449,"column":6524,"offset":7457},{"line":7449,"column":7259,"offset":7463},15052,{"start":7465,"end":7467},{"line":7449,"column":21,"offset":7466},14965,{"line":7449,"column":7259,"offset":7463},{"type":27,"value":28},{"start":7470,"end":7471},{"line":7315,"column":21,"offset":7371},{"line":7449,"column":7259,"offset":7463},{"quirksMode":7473},false,{"start":7475,"end":7476},{"line":21,"column":21,"offset":22},{"line":7477,"column":21,"offset":7478},154,15053,1791265154026]