pub fn encode_instrument_close(
message: &InstrumentClose,
) -> Result<EncodedPayload, EncodeError>Expand description
Encodes an [InstrumentClose] into canonical bytes with no sidecar indices.
Cache replay applies a captured contract expiration through the same settlement as the live execution engine, so a restore keeps settled binary-option positions closed.
ยงErrors
Returns an error if MessagePack rejects the payload.