Skip to content

RefPriceBand

Bounds on the relay's mid, which is unsigned data: a mid outside [min, max] (USDM per NIGHT) or that moved more than maxMoveBps since the last one taken is refused, and quoting stops until a sane one arrives.

optional min?: Mid


optional max?: Mid


optional maxMoveBps?: number

Largest move between two mids taken (default 500 bps).


optional confirmPolls?: number

A larger move is taken once the new mid has held (within maxMoveBps of itself) for this many polls in a row (default 15, 30 s at the default poll): a real market move resumes quoting, a single bad value does not. min/max still bound it.