pub fn parse_instrument(
market: &Market,
event: &Event,
ts_init: UnixNanos,
) -> Result<BinaryOption>Expand description
Maps an admitted ordinary market to the canonical YES-priced instrument.
The retained market and event metadata restore grid and shard context on restart.
ยงErrors
Returns an error if economics are unsupported, identity or shard is inconsistent, or metadata is invalid.