Skip to main content

Module convert

Module convert 

Expand description

SDK → core OrderIntent conversion.

The SDK sdk::OrderIntent is self-contained (carries venue_id and instrument_id), while the journal’s platform_core::events::OrderIntent relies on the EngineEvent envelope for venue_id/instrument_id. This module converts between the two representations.

Structs§

ConvertedIntent
Result of converting an SDK intent to core form, with the extracted envelope fields.

Enums§

ConvertError
Errors from SDK→core intent conversion.

Functions§

convert_sdk_intent
Convert an SDK OrderIntent into the journal’s core representation, extracting venue_id and instrument_id for the envelope.