Changelog
Notable changes per release of Unifin Charts.
What changed per release, newest first. One version covers every package: Versions.
Unreleased
- The Pro desk chart controls moved into a strip above the plot: the readouts stay visible, the strip and the canvas never overlap, and the dock keeps its role gradients in both themes (Pro desk).
- The fixed-income readings go live and full width: one figure per row with hover readouts, and the eight yield-map formats answer the pointer through the exact geometry of their painters (Fixed income kit).
- The options desk and kit panels follow the 200 ms tween: the volatility slider ramps the smile and the
now curve, a strike click re-pins the payoff, and
?frozen=1keeps the frames still for captures (Options kit). - Four kits gain gradient fills: the swap ladder and PV ribbon, the underwater band and the benchmark underlay, the allocation ramps with the light edge, the payoff zones and OI bars, and the IV underlays. The heat maps and the correlation terrain take a single diagonal frame sheen - never per cell; a canvas without a gradient API keeps the flat fills.
- The benchmark fan 3D joins the bonds kit (
./fan3d): curves recede in depth with gradient skirts and halo markers. The IV surface labels its strikes, expiries and vol ticks, and the correlation terrain carries the frame sheen (Fixed income kit). - The yield-curve dynamics walks up to ten pinned dates with a 750 ms step and a fading trace; the solution stays within its budget (10.91 of 11 KB).
- Budgets after the wave: swaps 2.63 of 10, portfolio 4.79 of 8 KB, the fan3d subpath 1.77 of 3, the options formats 2.43 of 3 KB, and one host payload at 192.95 of 196 KB (Versions).
26.10.18
- A study is a definition of host code: register it in the runtime registry and it appears in the indicator dialog next to the catalogue, with its editable number, boolean and select inputs. Broken definitions and unknown parameters are refused with the name, the kind and the declared range - nothing is executed from data (Research studies).
- The strategy language turns an idea into data: inputs,
entryandexitrules built from the alert conditions (and/orgroups), ariskblock, errors with line and column, stable round-trip, declared rule limits and no code path at all (Strategies and backtest). - The backtest engine walks the rules over historical bars with commission and slippage on every trade,
leverage and a margin gate, the stop checked before the target inside a bar, and reports trades, win
rate, P&L, profit factor, drawdown, Sharpe and the equity curve. History arrives through a paged source
with named failures;
BacktestPanelreads the result and computes nothing. - The template gallery ships four study presets (RSI zones, EMA cloud, volatility bands, MA fan) and three strategy presets (EMA cross, range breakout, mean reversion) as data; picking a card fills its parameter form and saving hands the host the resolved parameters.
- The research layer ships as
@unifin/chart-core/strategy; the root entry stays at 146.97 KB gzip of 148 and one host payload at 172.63 of 174,chart-react/progrew to 76.65 of 500. - The bonds kit reads a curve history in four premium formats: the hero snapshot with the labelled curves, the dated fan with the fade of age, the 10Y-2Y spread strip with its inversion zone and the IG/HY credit panel with the stress runs (Fixed income kit).
- Eight yield-map formats ride the same page: the topo map with level isolines, the ridgeline echo, the shape compass, the surface with fog and year chips, the inversion river, the nominal split, the country globe and the tenor pulse - each one a pure model plus a painter over the host scales.
- The yield constellation floats glowing issues over the benchmark curve with rich/cheap auras, a
hover card and the gradient sea; it ships in the
@unifin/chart-kit-bonds/formatssubpath. The kit root stays at 18.89 KB gzip of 21 and the subpath at 3.34 of 4. - Four analytics figures turn 3D on the kit pages: the IV surface with strikes over expiries, the
correlation terrain of an asset matrix, the PV/DV01 bond waterfall under rate shocks and the order
book cube of level history. Each one is a live section with drag rotation, angle presets, reset,
wheel zoom and a
prefers-reduced-motionstill frame (Options kit, Portfolio kit, Fixed income kit, Order book). - The 3D engine ships as
@unifin/chart-core/scene3d: an own WebGL2 mesh renderer with a Canvas2D fallback grid, an orthographic camera, painter's-algorithm 2D painters and hard limits (4096 quads, 1024 bars, 400 fallback cells). The subpath stays at 7.16 KB gzip of 12 and the core root at 147.26 of 148. - The options and portfolio 3D formats live in the
formatssubpaths of their kits (1.95 and 2.17 of 3 KB each); the kit roots sit at 3.88 and 3.98, the bonds kit at 20.15 of 21, and one host payload at 190.99 of 192 KB.
26.10.17
- Two series types join the Series types catalogue:
splinewith atension, andlollipopwith abaselineand aradius. Point-and-figure charts derive the box size and the reversal count from the data unless the options set them. - Session levels and an automatic Fibonacci over detected swings draw on the chart, and a comparison overlay ranks several instruments in one table next to the series.
- The pointer snaps to the nearest price and time (
resolveSnap). Follow mode keeps the last bar in place while a live feed grows, and resumes at the same offset after you scroll away (resolveFollow,resumeFollow). - The price scale picks its mode (
chooseScaleMode), aligns the ticks (tickAlignedTicks) and compresses session gaps on request (sessionGaps,timeCompression) without moving the timestamps. - Arrow keys,
Home,EndandPageUp/PageDownmove the visible window (resolveNavDirection); the keyboard help lists the same combinations. - The visible window carries its own volume profile, and the studies set adds a time and price heat map, flow anomalies, session history, divergence search and a relative-strength pane.
- Drawing layers hide a whole group without losing the objects, a note attaches to a bar, pane shares resize by dragging with a full-screen view, and the header fields are configurable.
- Orders move on the chart: dragging a stop or a take profit snaps the price (
snapOrderPrice), a position is sized from the accepted risk (sizeFromRisk,RISK_MIN_PERCENT..RISK_MAX_PERCENT) and the result is previewed before the order goes out (previewOrderPnl). dataQualityscores a stream and reports duplicate and out-of-order bars;readCacheSnapshotreads the offline cache, and a version 1 cache migrates to version 2 on the first read (CACHE_SCHEMA_VERSION).- Price precision follows the instrument (
adaptivePriceDigits,formatAdaptive), a replay scenario restores a window together with its drawings, alert groups collapse into one feed with pane badges, the time slider scrubs a session, and the audit overlay lists every action with its outcome. - Volume effects paint from theme tokens: an isometric heat map, a candle parallax and a depth profile
(
buildIsometricGrid,parallaxShape,depthProfileRows) on the Pro effects page. - A phrase becomes a chart description (
parseAssistantRequest): the call returns catalogue calls, a confidence and the words it did not understand. No code from the phrase runs. - Workspace models ship as
@unifin/chart-core/workspaceand the React binding as@unifin/chart-react/workspace(chart-react reference): fifteen hooks read the host state and return a value or the next pane layout, the state itself stays with the host. - Ceilings: core 143.6 KB gzip of 146, one host payload 169.2 of 172, the workspace binding 0.89 of 8.
26.10.16
- Table columns draw figures in the cell (
figureonColumnSpec); one canvas pool serves the visible rows only. A figure with nothing to draw keeps the number. - Five column kinds:
bp,money,tenor,rating,boolean. A column can besigned, carry aninlineBar, show statuspillsandflasha changed cell - the flash stops underprefers-reduced-motion. - A numeric header shows the column distribution (
histogram) with the median and the brushed range;Shiftdragging brushes it, sorting keeps three keys,loadingProgressdraws the load strip. createTableChartLinkmakes the pointer row, the focused row and the chart cursor one reference; the linked row carriesaria-current, a cursor group shares the row time.- Twenty-five figures ship in the core, including the volatility surface, the payoff, signed greeks, the futures curve, the correlation heat, the scenario cone, the depot balance, the cash-flow ladder, the limit bar and the agreement scatter.
- Reconciliation:
reconcile(absolute tolerance, an unreadable pair counts as broken),reasonWaterfall,asOfVersion/asOfGap(a book as of a date) andreconciliationToText. - A saved view keeps the arrangement of a board (
serializeTableView,parseTableView,applyTableViewColumns); a foreign payload restores nothing. - The swaps kit
@unifin/chart-kit-swaps: schedule, forward rates, present value, par rate, and the day-count calendar in the core. - Ceilings after the bundle diet: core 131.5 KB gzip of 140, Standard 11.78 of 12, Pro 51.29 of 52, one host payload 155.8 of 160.
- The swaps kit
@unifin/chart-kit-swapsjoins the bonds, portfolio and options kits: schedule of both legs, forward rates from a curve, present value and par rate, the cumulative PV curve and painters for the ladder of flows and the net arrows. Day-count conventions and month rolling live in the core, so the bond and the swap kit accrue the same way for the same dates. - Entry budgets moved by a documented contract step and the set ceiling now measures one host payload instead of summing alternative entries; the bundle diet is a blocking item of the wave acceptance. The diet held through both waves of the release: core 131.51 KB gzip of 140, the root entry 11.84 of 14, light and standard 11.78 of 12 each, Pro 51.29 of 52 and one host payload 155.80 of 160.
26.10.15
- Table cells can carry a figure: fourteen mini figures (
sparkline,deltaBar,inlineBar,microBars,heatStrip,miniStack,scaleMark,qualityStrip,timelineStrip,miniDistribution,miniGauge,miniWaterfall,miniLadder,statusFunnel) ship in the core with a catalogue and one dispatcher, and the Table kit page shows them live in both palettes together with the linking pattern: a row drives the chart next to it, hover, keyboard and click included. - iOS applications have their own page next to Android: the same offline page and the same four-call
bridge run inside a
WKWebView. It covers the Swift host, the bootstrap script that turns the page events into aWKScriptMessageHandlermessage, the device checklist and the limits. - The professional edition is written as Pro everywhere on this site; the entry point name
(
@unifin/chart-react/pro) and the package layout are unchanged. - Parameter guides on the Live effects page float above the panel on hover or keyboard focus instead of opening inside it, so reading an explanation no longer moves the controls.
- A streaming update no longer drops the pointer readout. The chart binding is kept while the object
options describe the same configuration, so inline literals such as
polish={{ leftFade: true }}orreadout={{ mode: 'line' }}stop rebuilding it - the crosshair, its price tag and the hover card now live through every tick of a live feed, and only a real change to an option rebuilds the chart. Function options (timeTickFormatter,priceTickFormatter, callbacks) are compared by reference: wrap them inuseCallbackto keep the binding stable. - Entry ceilings moved by a contract step: root 51 KB gzip, Pro 49 KB, a full set 304 KB.
- The newest series types keep their frames in the shared type catalogue and in a per-type directory with a manifest that names the capture script, so the images behind the Series types page can be reproduced on demand.
- Every figure and series type carries a measurement log next to the line-wide log, so a performance question about one type can be answered without re-running the whole benchmark.
26.10.14
- The scenario cone can now be computed in a worker.
monteCarloJob(spec)returns the same simulation as flat buffers,monteCarloJobTransferables(job)lists them for apostMessagethat moves the data instead of copying it, andconeFromJob(job)rebuilds the point form the painter consumes. Both shapes run through one simulator and agree bit for bit, so a worker result can be checked on the main thread - there is no second implementation to drift. - Measured on the 252 x 1000 reference size: the simulation costs 50.76 ms p50 / 53.12 ms p99 inside the worker, the message plus rebuild 0.0375 ms p50 / 0.3270 ms p99 on the main thread for a 10 KB payload, and the in-frame painter stays at 0.0226 ms p50 / 0.7837 ms p99.
26.10.13
- The delta channel reaches the chart binding:
deltasanddeltaSmatravel fromUnifinChartdown to the series painter, so thedeltaCandlestype renders through a real chart (scales, crosshair, keyboard surface) andDeltaCandlesPanelis a thin wrapper overUnifinChartagain. - Four risk panels for terminals:
CorrelationPanel,RiskDecompositionPanel,ScenarioConePanelandAttributionPanel. The last one is a table on the sharedDataTable, so sorting and screen reader support come from the control kit instead of a second table implementation. - The risk figures themselves moved into the core (
render/risk), where the other figure painters live, because the React binding depends on the core only; the portfolio kit re-exports them, so existing host code keeps working. - Repainting the same order book landscape no longer rebuilds its heatmap grid: the adapter caches the adaptation per source grid.
26.10.12
- Four portfolio risk figures, all built from painters the library already had: the correlogram
(
correlationGridover the shared heatmap with the diverging tone), the risk decomposition (riskContributions- the Euler decomposition of the variance, shares that add up to one), the scenario cone (monteCarloCone, a seeded simulation with nested confidence bands) and the attribution table (attributionRows, the same bridge arithmetic the waterfall draws). - The scenario cone is deterministic: the same spec and seed always produce the same cone, and the simulation is a host-side model - it costs tens of milliseconds on a 252 x 1000 reference size (54-120 ms across runs) and never runs inside a frame, where the painter stays under a millisecond.
- A correlogram forces its diagonal to one, clamps out-of-range values and leaves a non-finite cell untinted; a hedged asset shows a negative risk contribution below the zero line.
- New section on the Analytics kits page with all four figures in both themes.
26.10.11
- Five professional terminal panels, all thin bindings over pure core arithmetic:
LiquidityRibbonPanel(the drift of the bid/ask balance as one diverging ribbon),DeltaCandlesPanel(a candle type whose body reads the per-bar delta),PaceOfTapePanel(the tape folded into aligned windows and tinted by acceleration),AuctionHeatmapPanel(a TPO landscape with the POC line and the value-area borders) andEfficientFrontierPanel(the concave upper hull of candidate portfolios on the risk/return plane). - The series catalogue grows to twenty-three types with
deltaCandles;deltaToneis a pure function, and a host without a footprint feed still gets plain candles. tapeWindows,auctionGrid,liquidityRibbonGridandfrontierCurvestay in the core, so the figures are testable without a canvas; the panels share one canvas host for measurement, DPR and the image label.- Entry budgets moved by a documented contract step: the root entry is capped at 50 KB gzip and the Pro entry at 48 KB, both measured in the size-budget log.
26.10.10
- Analytic figures:
waterfall(a start-to-total bridge with per-step deltas),bullet(qualitative bands, a solid actual marker and a dashed target),boxPlot(type-7 quantiles, whiskers inside 1.5 IQR and outliers) andfanChart(confidence bands widest first, around a median line). They are pure painters - the data stays yours. - The heatmap painters are now one family (
render/heatmap): a single cell painter, one tone resolver and the adapters that map an order book, a screener or a monthly returns grid onto it. Tones come from the theme and the look pack, so no colour literal ever enters a grid. - The order book
heatmapvariant is rendered by that family, so a liquidity landscape is laid out top down with the highest price above. The render cost of the variant dropped from a p50 of 1.45 ms to 0.22 ms on a 200-level book. - New portal page Analytic figures with all five figures in both themes.
- Frames of a live demo scene can be captured reproducibly: the scene supports a
?frozen=1marker that stops the demo ticker before its first tick.
26.10.9
- Four new series types, all additive:
hlcBars(a high-low stem with a single closing tick, for index series that publish only high, low and close),columns(an open-to-close body without wicks) andrangeCandles, which gives range bars their own equal-height column renderer instead of borrowing the candle look. heikinAshiGlowrenders the smoothed Heikin-Ashi candle with a gradient body and a soft halo outline; the smoothing itself stays a data transformation.- The series catalogue grows from eighteen to twenty-two types: the series-types page, live catalogue and switcher on the portal now cover all of them.
26.10.8
- Order book chart (Pro): five canvas variants of a live two-sided book - a cumulative depth area, a
per-level depth histogram, the classic price ladder with depth shading and a spread band, a price x time
liquidity heatmap and an imbalance pressure board. The core exposes
buildOrderbookViewandpaintOrderbookChart;@unifin/chart-react/proadds theOrderbookChartcomponent with DPR, resize handling and an accessible image label. - Every variant reads the look pack and the active theme: bid and ask take the bar palette, the reading
font comes from the four-font set, and fills fall back to flat
withAlphacolours on a canvas without gradients. - New portal page Order book chart with all five variants, the aggregation step, the book depth and a streaming book; a card on the home page marks it as a Pro feature.
26.10.7
- Eighteen series types: the new
hlcGlowpaints a lit corridor between the high and the low, a soft glow under the close line and a stroke that fades into history; on a canvas without gradients it degrades to the flat HLC area fill. - A last-price tag is a one-line option (
priceTag), the twin of the volume tag, and the hover card now stays on screen for two seconds after the pointer leaves (tooltipHold, adjustable or switched off). - Element attributes
price-tagandtooltip-holdfollow those two options. - Portal data: every series-type frame and the professional UX frame are captured on a liquid US equity (AAPL); the A-B ruler is off on the gallery scenes and stays on where the chart chrome is documented.
26.10.6
- Look pack: one
lookoption groups the presentation choices - a gradient or aurora backdrop, named bar palettes (classic, neon, sunset, ice, mono) with gradient bodies, a dimmed volume band with its own tone and opacity, tapered indicator strokes,plain/chip/cardsreadout skins and a font stack. - Element attributes follow the look (
backdrop,bars-style,volume-tone,volume-alpha,indicator-gradient,readout-skin,font);spark-stylepicks one of the ten burst styles. - The
barsscene now paints real OHLC bars instead of a second candles scene. - Portal: the Live effects page drives the whole look pack, the spark style picker and a replay row
(
replayPlay,replayStep,replayPause,replayExit); the Features page gains a look pack section with a live example; the portal scenes move to liquid US equities and drop the value strip above the chart. - Portal branding: the UNIFIN wordmark in the sidebar header and on the title page, and its gradient
(
#2700FEto#CC06FB) paints the library name, the accent and the refreshed docs menu - pill rows, a brand rail on the active page and one radius for the search field.
26.10.5
- Chart chrome as options: the ticker watermark (centre or bottom-left, plus a white-label mark), the legend heading with a collapsible row, the hover card next to a bar, the corporate-event lane with detail cards, price and alert lines with lock tags, the volume tag, the pinned A-B measure ruler, the history fade and the dotted grid with period dividers.
- Quote header: a compact instrument strip (bid, ask, spread, last price, change) drawn with the kit tokens, so a white-label shell repaints it without touching the markup.
- Embedding:
panByPixelsandpanByBarsare public on the React result, on the binding and on the custom element; the canvas keeps touch gestures (touch-action: none, pointer capture andpointercancel), andAlt+Lcollapses the legend row without a pointer. - Performance: the locale formatters are cached, so a full frame over one million bars with every new layer costs 0.40 ms at the median (frame budget 4 ms).
26.10.4
- Reading order of the chart: legend swatches, split OHLC fields, a compact indicator label, the price axis side as a host option (left or right, right by default), an optional volume pane and a neutral palette next to the dark one.
26.10.3
- Analytics kits: the non-time X axis and the analytic series family in the core, plus three domain kits - fixed income (yield curve, ladder, coupon timeline), portfolio (benchmark curve, underwater, allocation, monthly heatmap) and options (Black-Scholes, payoff, volatility smile and surface, open interest).
- Four new series types: volume candles, line with markers, HLC area and high-low.
- Portal: the Analytics kits page and the Live effects page with a live demo chart; the series reference and the live explorer cover all seventeen types, the kit packages appear in the versions table, and the Indicators page attaches every study of the 128-study catalogue to a live chart with ready-to-use code.
26.10.2
- Visual refresh of the professional surface: one type and metric scale, 103 own icons, unified panel headers, dialogs and toolbars v2, four palettes with a full contrast pass, and reduced-motion-aware micro-transitions.
- Chart layers: optional volume columns and an OHLCV legend, plus empty, loading and error states that adapt to any pane size.
- Event streams: more than fifty typed events across the viewport, crosshair, drawings, history, alerts, replay, order lines, paper trading, indicators and data gaps.
- History adjustments: split and dividend corrections (
adjustBars) and a calendar event lane that places dividends, splits and reports onto the bar axis. - Formula studio: validate and preview custom formulas with position-aware feedback before saving them (Pro).
- Paper strategies: rule-based strategies over replay with a session report and a simulation disclaimer (Pro).
- Template catalogue: ten starter workspaces with revisions, JSON import and export, and compact share codes (Pro).
- Pane primitive plugins: register your own canvas geometry above or below the series.
- Kazakh locale across the core and the kit; catalogues and panels speak Russian, English and Kazakh.
- Core subpath imports (
@unifin/chart-core/data,/render,/drawings,/trading,/studies,/orderflow) for layer-by-layer bundling. - Editions and budgets: Standard 8 KB, complete root 42 KB, Pro 40 KB, core 140 KB gzip.
- Drawing layer motion, pinned tooltips, selection synchronization over LINK, replay ticks and book heatmaps, session DST transitions, short share links and a legacy datafeed adapter.
26.10.1
- Interactive charts out of the box: value readout strip, crosshair and bar-click events, kinetic scroll, price-scale drag and marquee zoom.
- Order lines: pending orders as draggable lines on the chart with a version journal
(
setOrderLine,order:*events); stop and take lines share the same drag maths. - UI kit for the Pro surface: toolbar, buttons, inputs, selects, dialogs, menus and tooltips on one control language; every panel control moved onto the kit.
- Motion and TV-parity controls: motion policy with reduced-motion refusal, zoom easing and timeframe crossfade, symbol/indicator/settings dialogs, DOM ladder, sessions and timezone panel.
- Design tokens: dark, light, orange and system palettes; the theme also reads
--ud-info,--ud-density,--ud-radiusand--ud-font/--ud-sans; guards enforce the token canon. - Editions:
@unifin/chart-react/standardentry point and real size budgets (core 135 KB, root 30 KB, light 7 KB, standard 12 KB, pro 28 KB gzip). - Documentation portal rebuilt for external developers; Android WebView bridge example shipped.
26.10.0
- Documentation portal rebuilt for external developers: English only, series catalogue, product comparison, AI-assisted development page, API overview and versioned pages.
- Interactive series catalogue example covering all 13 chart types with theme and language switches.
- Editions documented as shipped: Standard (
light), Pro (pro) and the complete root entry point.
26.6.0
- Professional workspace layouts: multi-chart grid, synchronized panels, command palette.
- Market replay with recording serialization, ticks and book snapshots.
- Order flow: footprint clusters, ladder and tape, cumulative delta, book heatmap.
- Alerts: group editor, condition defaults, message templates, retry policy.
- Trading UI: paper broker, session report, risk ruler, draggable stops.
- Accessibility pass: focus order, contrast, screen-reader names on the custom element.
- Performance: decimation and tile ranges for very large histories, worker rendering, experimental WASM acceleration for the heaviest studies.
24.0.1
- First public preview: rendering core, time and price scales, eight series types, data layer, indicator engine, drawing engine, four presentation profiles.
See also
- Versions - the version every page is verified against.
- Features - what the current release contains.
- Getting started - install and first chart.
