Skip to main content

parse_currency_label

Function parse_currency_label 

Source
pub fn parse_currency_label(value: &str) -> Result<i32, String>
Expand description

Parse a user-facing currency code into Trd_Common.Currency.

This lives in core because REST/CLI/MCP and typed trade facades all need the same loud-reject contract for textual currency input.