Crate fin_data

This is an implementation of the ClassificationScheme trait (from the finmodel crate) for the UK _Standard industrial classification of economic activities (UK SIC), the US Standard Industrial Classification (US SIC) codes as well as the North American Industry Classification System (NAICS). It also provides an implementation of the MarketRegistry trait for Market Identifier Code (MIC) data provided by ISO.

Modules

Example

rust fn print_mic_code(code: String) { let registry: ISORegistry = ISORegistry::new(); match registry.get(code.to_string()) { None => println!("No value found for code {}", code), Some(m) => println!("{}: {} ({})", code, m.description, m.country_code), } }