Print map
The print map answers one question for a market: if the next verified print landed here, what would the vault be made to do? Read it as a price ladder centred on the last print. Each band carries the selling and buying that would execute against the vault if the print landed in it: resting user triggers (entry, stop, take-profit) and the forced closes the liquidation sweep would perform, together.
Get it over REST with GET /v1/markets/:id/print-map, or subscribe to the printmap channel on the WebSocket with a marketId. Both carry the same payload from the same builder.
What a band says
loQ8andhiQ8bound the band on the market's tick grid, lower edge included, upper edge excluded. A band isbandBpsoflastMidQ8wide, and the ladder reacheswindowBpseither side of it. Nothing outside is served.sellStepsandbuyStepsare the selling and buying that would execute if the print landed in this band, in steps ofgrid, a share of the market'sopenInterestContracts. They are floored: a flow under one step is served as zero, and a band with no step on either side is not listed.skewAfterQ9is the vault skew once every band from the print out to this one has fired. A print that gaps fires everything it passes, so the figure is cumulative. It is quantized to the same grid as every public skew.
Selling sits below the print (long stops, long forced closes) and buying above it (short stops, short forced closes). Take-profits sit on the profit side and entry-triggers on the side they arm from, so a band can carry both.
windowSellSteps and windowBuySteps total the window. They are floored from the unrounded sums, not added up from the bands, so they can be larger than the bands' steps added together.
Where the map stops counting
The map never serves more closes of a side than the public skew allows that side to hold. When the closes it serves on one side of the print reach that limit, capReached names the band where it happened, with its band place and its edges; otherwise it is null. Beyond the marked band the map stops counting closes, because public figures allow no more, and the true flow there is at least what is shown. The mark says where counting stopped, not how much was left out, and the band it names need not appear in bands. Draw it wherever you draw the ladder: a shortened number without its mark reads as the whole truth.
What it never says
The map is built to reveal no more about the vault's per-side exposure than the public skewQ9 already does. Every magnitude is a share of open interest on the public skew grid, user triggers and forced closes are merged, and the cumulative skew runs forward from the public skew rather than from the vault's exact book. No band names an order, an account, or a size in contracts. A band placed by fewer accounts than floors.minAccounts folds its flow into the band nearer the print, so a cluster never looks farther away than it is.
What the map does reveal is where flow clusters. That is what it is for.
Empty, stale, unavailable
- An empty
bandsarray means nothing in the window reaches one step. Say so in words; never draw bars for it. tsMsis when the engine built the map. Apply the market'soracleStalenessMsto it the way you do to every live figure. The map is rebuilt only when a new verified print or a changed book arrives, so when prints stop,tsMsages and the ladder should look dead.- Before the market's first verified print the endpoint answers
503with the codeunavailable.