pub fn parse_instrument_close(
market: &Market,
event: &Event,
ts_init: UnixNanos,
) -> Result<Option<InstrumentClose>>Expand description
Returns authoritative final YES payout evidence for an admitted ordinary binary market.
Returns None for non-finalized markets, including determined, disputed, and amended states.
This is market evidence, not a credited account amount. Account consumers must reconcile all
fills through the settlement timestamp before applying it and reconcile actual cash separately.
ยงErrors
Returns an error if a finalized definition has unsupported economics, invalid identity,
missing final evidence, an invalid settlement timestamp, or a payout outside [0, 1]
or beyond six decimal places.