Module instrument_registry

Source
Expand description

Registry for managing trading instruments and metadata Unified Instrument Registry for centralized instrument/order mapping

This module provides a centralized system for tracking relationships between order IDs, instrument IDs, and exchange-specific symbol formats across all venues. It eliminates ‘UNKNOWN’ placeholders by maintaining bidirectional mappings.

Structs§

CacheStats
Cache statistics for monitoring and debugging
DefaultInstrumentRegistry
Default implementation of instrument registry
OrderMetadata
Additional order metadata for enhanced tracking

Traits§

InstrumentRegistry
Trait for unified instrument registry operations

Functions§

create_shared_registry
Create a shared instrument registry instance
create_shared_registry_with_ttl
Create a shared instrument registry with custom TTL