Skip to main content

PriceTarget is the level this market is judged against, published BEFORE it settles.

The sibling of PriceSettlement and deliberately not the same thing. PriceSettlement is what happened and exists only once a market is decided; this is the question, and it is known the moment the market is listed. A strike ladder needs it: every rung shares one underlying price chart and differs only in where its line sits, so without this the front end has a chart and no idea what to draw on it.

nil for anything not judged against a fixed level — an up/down window's reference is its own opening price, which is PriceSettlement's business.

cap_strike
number
Example:

77500

comparator
string

How the close is compared to it: gte, gt, lte or lt. Published because "above $77,000" and "at or above $77,000" are different markets on a tie, and the chart's own label should not have to guess which one this is.

Example:

"gte"

floor_strike
number

Band form, half-open [floor, cap): inclusive floor, exclusive cap. That convention is not a detail — it is what lets a set of bands cover the price line exactly once, with no gap for a close to fall through and no overlap where two legs both pay.

Either bound is absent on a wing: a bottom band has only a cap, a top band only a floor. Pointers rather than plain floats so "no floor" and "a floor of zero" stay distinguishable on the wire.

Example:

75000

threshold
number

Threshold form. The level the close is compared against, in the market's quote currency. Zero and absent are indistinguishable in Go, so a chart must branch on Comparator being set rather than on Threshold being non-zero — a strike genuinely at 0 is nonsense, but a FLOOR at 0 is not.

Example:

77000