Expand description
Order flow visualizations for the price pane.
Use the footprint renderer with executed volume at price, LiquidityHeatmap
with depth history, or HeatmapStrip with per-bar delta and volume. The chart
also exposes volume bubble configuration through VolumeBubblesConfig.
Structs§
- Footprint
Config - Footprint appearance. Supply colours from the host’s theme. Serializable, so a host can keep it with its chart settings; fields missing from older documents take their defaults.
- Heatmap
Cell - A single cell in the heatmap strip
- Heatmap
Strip - Heatmap strip visualization
- Heatmap
Strip Config - Configuration for the heatmap strip
- Liquidity
Heatmap - A liquidity heatmap backed by bounded texture tiles. Retain it between frames.
- Liquidity
Heatmap Config - Brightness and resting-size range of the liquidity heatmap. Defaults retain logarithmic shading against each column’s largest size, at 75% opacity. Does not change the sampled depth, best bid/ask lines or live book profile. Serializable for host chart settings.
- Order
Book View - How the live book is shown by the heatmap’s profile and by a depth ladder: which individual orders count, what a bar measures, and which orders are highlighted. Its tiers also mark the heatmap’s cells. The defaults show the aggregate book as the feed sends it. Serializable, so a host can keep it with its chart settings; fields missing from older documents take their defaults.
- Trade
Profile Settings - Display settings of the chart’s execution-based session profiles. Defaults retain the stacked session histogram, with optional annotations hidden.
- Volume
Bubbles Config - Configuration for volume bubbles overlay. Serializable, so a host can keep it with its chart settings; fields missing from older documents take their defaults.
Enums§
- Book
Profile - What the length of a bar of the book profile shows.
- Bubble
Color - What the colour of a bubble shows.
- Bubble
Grouping - Which trades share a bubble. Each group is one bubble, whatever the chart’s bar interval,
except for
Automatic. - Bubble
Scaling Mode - How to scale bubble sizes
- Footprint
Color - What determines a footprint cell’s colour.
- Footprint
Mode - Numbers shown in a footprint column.
Functions§
- pullback_
range - The rows of a bar between its close and the extreme it reached beyond the close: from the
close up to the highest traded row when the bar closed at or above its open, and from the
lowest traded row up to the close when it closed below. Returns inclusive level keys of
flow, orNonewhen the bar has no executions or closed on its extreme row. The range follows the bar as it develops, and it only selects rows: their executed volume is never changed. - render_
book_ profile - Draws the profile of
queue’s orders, or ofbookwhen the feed sends aggregate depth only, as bars growing left from the right edge ofmapping.rect, longest 60 points,tickhigh at each price, centred on it. Bids usecolors[0]and askscolors[1], unless the largest order at the price reaches a tier of the view, drawn inOrderBookView::tier_colorwith the painter’s active theme. Fails, drawing nothing, when the view needs individual orders and the feed has none, so that the host can say the filtering is unavailable. A key identifies the measure, quantity unit and maximum across all supplied levels, including offscreen ones, after filtering. Hovering a row anywhere in the 60-point strip shows its exact price, side and measured resting size, without abbreviating quantities. - render_
footprint - Draws visible footprint bars, bounded by the visible bar range and clipped to
mapping.rect. - render_
footprint_ statistics - Draws a compact per-bar statistics table under the footprint at the same x coordinates.
Rows show total, bid, ask, delta, minimum and maximum intrabar delta, cumulative delta,
delta percentage, and ask/bid ratio (undefined for zero volume or bid). Bars before
Footprint::complete_fromget no column and no share of the cumulative delta. Shared labels occupy the left margin. Numeric columns stay aligned with their bars and use unabbreviated volume values when they fit, then compact units. Percentages have one decimal and ask/bid ratios two decimals. A column cut by the margin or plot edge is omitted as a whole. When the complete table cannot fit at a readable size, a zoom-in or resize notice replaces it; values remain inFootprintBar. A view without complete executions reports that statistics are unavailable. - render_
footprint_ studies - Paints footprint study levels and zones. Compute
studiesonly after executions change. Stacks, naked POCs and unfinished levels extend to their first revisit, their expiry or the last displayed bar, in full colour while unvisited and dimmed once revisited or expired; local annotations stay anchored to their originating bar. Delta percentage and ratio markers are triangles outside the bar: buy markers above it, sell markers below, the delta marker nearest and the ratio marker beyond it. Captions avoid every footprint and its marker rows; details are available on hover when a caption has no room. Overview marks shrink with bar spacing and zones become faint centre lines. Prices use the aggregation’s row step. - render_
trade_ profiles - Draws bid/ask stacks, total volume or signed delta profiles, their POC, value area,
developing POC and volume nodes.
stepis the footprint’s grouped price step andtickis its instrument tick size before grouping. Bands extend half a tick below their first tick and above their last tick. Histograms of partly visible sessions stay at the left edge of the viewport. Profile ranges and data remain host-owned; editcrate::studies::TradeProfileRangesin response to a session menu’s merge/split actions and recalculate after trades change. A profile that is notcompleteis labelled “Partial executions”.