Expand description
MIC — Market Identifier Code (ISO 10383).
A MIC names a market — an exchange, a multilateral trading facility, or another trading venue — rather than a security. It is exactly 4 characters with no internal segmentation:
X N A S
│ └─┴─┘
│ │
│ └─── market suffix [1..4] three characters [A-Z0-9]
└─────── leading letter [0] one upper-case letter [A-Z]- The leading character is always an upper-case ASCII letter.
- The remaining three characters are each an upper-case letter or a digit.
- A MIC carries no check digit: there is nothing to recompute. The four characters are either well-formed or they are not.
ISO 10383 also distinguishes an operating MIC, which identifies a market operator, from a segment MIC, which names a sub-market and references its operating MIC.
Structural validity is necessary but not sufficient: ZZZZ is well-formed
yet identifies no real market. True validity is membership in the published
ISO 10383 registry. With the default mic-registry feature enabled this
crate embeds a snapshot of that registry; Mic::lookup,
Mic::is_registered, and Mic::parse_registered consult it, and the
MicEntry / MicStatus types are re-exported here.
Mic::parse enforces the structural rules; Mic::parse_registered
additionally requires that the code be present in the embedded registry.
§References
- ISO 10383, Securities and related financial instruments — Codes for exchanges and market identification (MIC).
Re-exports§
Structs§
- Mic
- A validated Market Identifier Code (ISO 10383).