1#[non_exhaustive]
5#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
6pub enum Industry {
7 #[serde(rename = "agricultural-inputs")]
10 AgriculturalInputs,
11 #[serde(rename = "aluminum")]
13 Aluminum,
14 #[serde(rename = "coal")]
16 Coal,
17 #[serde(rename = "copper")]
19 Copper,
20 #[serde(rename = "farm-products")]
22 FarmProducts,
23 #[serde(rename = "forest-products")]
25 ForestProducts,
26 #[serde(rename = "gold")]
28 Gold,
29 #[serde(rename = "lumber-wood-production")]
31 LumberAndWoodProduction,
32 #[serde(rename = "other-industrial-metals-mining")]
34 OtherIndustrialMetalsAndMining,
35 #[serde(rename = "other-precious-metals-mining")]
37 OtherPreciousMetalsAndMining,
38 #[serde(rename = "silver")]
40 Silver,
41 #[serde(rename = "steel")]
43 Steel,
44 #[serde(rename = "thermal-coal")]
46 ThermalCoal,
47 #[serde(rename = "uranium")]
49 Uranium,
50 #[serde(rename = "apparel-manufacturing")]
53 ApparelManufacturing,
54 #[serde(rename = "apparel-retail")]
56 ApparelRetail,
57 #[serde(rename = "auto-truck-dealerships")]
59 AutoAndTruckDealerships,
60 #[serde(rename = "auto-manufacturers")]
62 AutoManufacturers,
63 #[serde(rename = "auto-parts")]
65 AutoParts,
66 #[serde(rename = "beverages-brewers")]
68 BeveragesBrewers,
69 #[serde(rename = "beverages-non-alcoholic")]
71 BeveragesNonAlcoholic,
72 #[serde(rename = "beverages-wineries-distilleries")]
74 BeveragesWineriesAndDistilleries,
75 #[serde(rename = "confectioners")]
77 Confectioners,
78 #[serde(rename = "department-stores")]
80 DepartmentStores,
81 #[serde(rename = "discount-stores")]
83 DiscountStores,
84 #[serde(rename = "electronic-gaming-multimedia")]
86 ElectronicGamingAndMultimedia,
87 #[serde(rename = "food-distribution")]
89 FoodDistribution,
90 #[serde(rename = "footwear-accessories")]
92 FootwearAndAccessories,
93 #[serde(rename = "furnishings-fixtures-appliances")]
95 FurnishingsFixturesAndAppliances,
96 #[serde(rename = "gambling")]
98 Gambling,
99 #[serde(rename = "grocery-stores")]
101 GroceryStores,
102 #[serde(rename = "home-improvement-retail")]
104 HomeImprovementRetail,
105 #[serde(rename = "household-personal-products")]
107 HouseholdAndPersonalProducts,
108 #[serde(rename = "internet-retail")]
110 InternetRetail,
111 #[serde(rename = "leisure")]
113 Leisure,
114 #[serde(rename = "lodging")]
116 Lodging,
117 #[serde(rename = "luxury-goods")]
119 LuxuryGoods,
120 #[serde(rename = "packaged-foods")]
122 PackagedFoods,
123 #[serde(rename = "personal-services")]
125 PersonalServices,
126 #[serde(rename = "residential-construction")]
128 ResidentialConstruction,
129 #[serde(rename = "resorts-casinos")]
131 ResortsAndCasinos,
132 #[serde(rename = "restaurants")]
134 Restaurants,
135 #[serde(rename = "specialty-retail")]
137 SpecialtyRetail,
138 #[serde(rename = "textile-manufacturing")]
140 TextileManufacturing,
141 #[serde(rename = "tobacco")]
143 Tobacco,
144 #[serde(rename = "travel-services")]
146 TravelServices,
147 #[serde(rename = "oil-gas-drilling")]
150 OilAndGasDrilling,
151 #[serde(rename = "oil-gas-ep")]
153 OilAndGasEAndP,
154 #[serde(rename = "oil-gas-equipment-services")]
156 OilAndGasEquipmentAndServices,
157 #[serde(rename = "oil-gas-integrated")]
159 OilAndGasIntegrated,
160 #[serde(rename = "oil-gas-midstream")]
162 OilAndGasMidstream,
163 #[serde(rename = "oil-gas-refining-marketing")]
165 OilAndGasRefiningAndMarketing,
166 #[serde(rename = "solar")]
168 Solar,
169 #[serde(rename = "asset-management")]
172 AssetManagement,
173 #[serde(rename = "banks-diversified")]
175 BanksDiversified,
176 #[serde(rename = "banks-regional")]
178 BanksRegional,
179 #[serde(rename = "capital-markets")]
181 CapitalMarkets,
182 #[serde(rename = "credit-services")]
184 CreditServices,
185 #[serde(rename = "financial-data-stock-exchanges")]
187 FinancialDataAndStockExchanges,
188 #[serde(rename = "insurance-brokers")]
190 InsuranceBrokers,
191 #[serde(rename = "insurance-diversified")]
193 InsuranceDiversified,
194 #[serde(rename = "insurance-life")]
196 InsuranceLife,
197 #[serde(rename = "insurance-property-casualty")]
199 InsurancePropertyAndCasualty,
200 #[serde(rename = "insurance-reinsurance")]
202 InsuranceReinsurance,
203 #[serde(rename = "insurance-specialty")]
205 InsuranceSpecialty,
206 #[serde(rename = "mortgage-finance")]
208 MortgageFinance,
209 #[serde(rename = "shell-companies")]
211 ShellCompanies,
212 #[serde(rename = "biotechnology")]
215 Biotechnology,
216 #[serde(rename = "diagnostics-research")]
218 DiagnosticsAndResearch,
219 #[serde(rename = "drug-manufacturers-general")]
221 DrugManufacturersGeneral,
222 #[serde(rename = "drug-manufacturers-specialty-generic")]
224 DrugManufacturersSpecialtyAndGeneric,
225 #[serde(rename = "health-information-services")]
227 HealthInformationServices,
228 #[serde(rename = "healthcare-plans")]
230 HealthcarePlans,
231 #[serde(rename = "medical-care-facilities")]
233 MedicalCareFacilities,
234 #[serde(rename = "medical-devices")]
236 MedicalDevices,
237 #[serde(rename = "medical-distribution")]
239 MedicalDistribution,
240 #[serde(rename = "medical-instruments-supplies")]
242 MedicalInstrumentsAndSupplies,
243 #[serde(rename = "pharmaceutical-retailers")]
245 PharmaceuticalRetailers,
246 #[serde(rename = "aerospace-defense")]
249 AerospaceAndDefense,
250 #[serde(rename = "building-materials")]
252 BuildingMaterials,
253 #[serde(rename = "building-products-equipment")]
255 BuildingProductsAndEquipment,
256 #[serde(rename = "business-equipment-supplies")]
258 BusinessEquipmentAndSupplies,
259 #[serde(rename = "chemical-manufacturing")]
261 ChemicalManufacturing,
262 #[serde(rename = "chemicals")]
264 Chemicals,
265 #[serde(rename = "conglomerates")]
267 Conglomerates,
268 #[serde(rename = "consulting-services")]
270 ConsultingServices,
271 #[serde(rename = "electrical-equipment-parts")]
273 ElectricalEquipmentAndParts,
274 #[serde(rename = "engineering-construction")]
276 EngineeringAndConstruction,
277 #[serde(rename = "farm-heavy-construction-machinery")]
279 FarmAndHeavyConstructionMachinery,
280 #[serde(rename = "industrial-distribution")]
282 IndustrialDistribution,
283 #[serde(rename = "infrastructure-operations")]
285 InfrastructureOperations,
286 #[serde(rename = "integrated-freight-logistics")]
288 IntegratedFreightAndLogistics,
289 #[serde(rename = "manufacturing-diversified")]
291 ManufacturingDiversified,
292 #[serde(rename = "marine-ports-services")]
294 MarinePortsAndServices,
295 #[serde(rename = "marine-shipping")]
297 MarineShipping,
298 #[serde(rename = "metal-fabrication")]
300 MetalFabrication,
301 #[serde(rename = "paper-paper-products")]
303 PaperAndPaperProducts,
304 #[serde(rename = "pollution-treatment-controls")]
306 PollutionAndTreatmentControls,
307 #[serde(rename = "railroads")]
309 Railroads,
310 #[serde(rename = "rental-leasing-services")]
312 RentalAndLeasingServices,
313 #[serde(rename = "security-protection-services")]
315 SecurityAndProtectionServices,
316 #[serde(rename = "specialty-business-services")]
318 SpecialtyBusinessServices,
319 #[serde(rename = "specialty-chemicals")]
321 SpecialtyChemicals,
322 #[serde(rename = "specialty-industrial-machinery")]
324 SpecialtyIndustrialMachinery,
325 #[serde(rename = "staffing-employment-services")]
327 StaffingAndEmploymentServices,
328 #[serde(rename = "tools-accessories")]
330 ToolsAndAccessories,
331 #[serde(rename = "trucking")]
333 Trucking,
334 #[serde(rename = "waste-management")]
336 WasteManagement,
337 #[serde(rename = "real-estate-development")]
340 RealEstateDevelopment,
341 #[serde(rename = "real-estate-diversified")]
343 RealEstateDiversified,
344 #[serde(rename = "real-estate-services")]
346 RealEstateServices,
347 #[serde(rename = "reit-diversified")]
349 ReitDiversified,
350 #[serde(rename = "reit-healthcare-facilities")]
352 ReitHealthcareFacilities,
353 #[serde(rename = "reit-hotel-motel")]
355 ReitHotelAndMotel,
356 #[serde(rename = "reit-industrial")]
358 ReitIndustrial,
359 #[serde(rename = "reit-mortgage")]
361 ReitMortgage,
362 #[serde(rename = "reit-office")]
364 ReitOffice,
365 #[serde(rename = "reit-residential")]
367 ReitResidential,
368 #[serde(rename = "reit-retail")]
370 ReitRetail,
371 #[serde(rename = "reit-specialty")]
373 ReitSpecialty,
374 #[serde(rename = "communication-equipment")]
377 CommunicationEquipment,
378 #[serde(rename = "computer-hardware")]
380 ComputerHardware,
381 #[serde(rename = "consumer-electronics")]
383 ConsumerElectronics,
384 #[serde(rename = "data-analytics")]
386 DataAnalytics,
387 #[serde(rename = "electronic-components")]
389 ElectronicComponents,
390 #[serde(rename = "electronics-computer-distribution")]
392 ElectronicsAndComputerDistribution,
393 #[serde(rename = "hardware-software-distribution")]
395 HardwareAndSoftwareDistribution,
396 #[serde(rename = "information-technology-services")]
398 InformationTechnologyServices,
399 #[serde(rename = "internet-content-information")]
401 InternetContentAndInformation,
402 #[serde(rename = "scientific-technical-instruments")]
404 ScientificAndTechnicalInstruments,
405 #[serde(rename = "semiconductor-equipment-materials")]
407 SemiconductorEquipmentAndMaterials,
408 #[serde(rename = "semiconductors")]
410 Semiconductors,
411 #[serde(rename = "software-application")]
413 SoftwareApplication,
414 #[serde(rename = "software-infrastructure")]
416 SoftwareInfrastructure,
417 #[serde(rename = "broadcasting")]
420 Broadcasting,
421 #[serde(rename = "entertainment")]
423 Entertainment,
424 #[serde(rename = "publishing")]
426 Publishing,
427 #[serde(rename = "telecom-services")]
429 TelecomServices,
430 #[serde(rename = "utilities-diversified")]
433 UtilitiesDiversified,
434 #[serde(rename = "utilities-independent-power-producers")]
436 UtilitiesIndependentPowerProducers,
437 #[serde(rename = "utilities-regulated-electric")]
439 UtilitiesRegulatedElectric,
440 #[serde(rename = "utilities-regulated-gas")]
442 UtilitiesRegulatedGas,
443 #[serde(rename = "utilities-regulated-water")]
445 UtilitiesRegulatedWater,
446 #[serde(rename = "utilities-renewable")]
448 UtilitiesRenewable,
449 #[serde(rename = "closed-end-fund-debt")]
452 ClosedEndFundDebt,
453 #[serde(rename = "closed-end-fund-equity")]
455 ClosedEndFundEquity,
456 #[serde(rename = "closed-end-fund-foreign")]
458 ClosedEndFundForeign,
459 #[serde(rename = "exchange-traded-fund")]
461 ExchangeTradedFund,
462}
463
464impl Industry {
465 pub fn as_slug(self) -> &'static str {
475 match self {
476 Industry::AgriculturalInputs => "agricultural-inputs",
477 Industry::Aluminum => "aluminum",
478 Industry::Coal => "coal",
479 Industry::Copper => "copper",
480 Industry::FarmProducts => "farm-products",
481 Industry::ForestProducts => "forest-products",
482 Industry::Gold => "gold",
483 Industry::LumberAndWoodProduction => "lumber-wood-production",
484 Industry::OtherIndustrialMetalsAndMining => "other-industrial-metals-mining",
485 Industry::OtherPreciousMetalsAndMining => "other-precious-metals-mining",
486 Industry::Silver => "silver",
487 Industry::Steel => "steel",
488 Industry::ThermalCoal => "thermal-coal",
489 Industry::Uranium => "uranium",
490 Industry::ApparelManufacturing => "apparel-manufacturing",
491 Industry::ApparelRetail => "apparel-retail",
492 Industry::AutoAndTruckDealerships => "auto-truck-dealerships",
493 Industry::AutoManufacturers => "auto-manufacturers",
494 Industry::AutoParts => "auto-parts",
495 Industry::BeveragesBrewers => "beverages-brewers",
496 Industry::BeveragesNonAlcoholic => "beverages-non-alcoholic",
497 Industry::BeveragesWineriesAndDistilleries => "beverages-wineries-distilleries",
498 Industry::Confectioners => "confectioners",
499 Industry::DepartmentStores => "department-stores",
500 Industry::DiscountStores => "discount-stores",
501 Industry::ElectronicGamingAndMultimedia => "electronic-gaming-multimedia",
502 Industry::FoodDistribution => "food-distribution",
503 Industry::FootwearAndAccessories => "footwear-accessories",
504 Industry::FurnishingsFixturesAndAppliances => "furnishings-fixtures-appliances",
505 Industry::Gambling => "gambling",
506 Industry::GroceryStores => "grocery-stores",
507 Industry::HomeImprovementRetail => "home-improvement-retail",
508 Industry::HouseholdAndPersonalProducts => "household-personal-products",
509 Industry::InternetRetail => "internet-retail",
510 Industry::Leisure => "leisure",
511 Industry::Lodging => "lodging",
512 Industry::LuxuryGoods => "luxury-goods",
513 Industry::PackagedFoods => "packaged-foods",
514 Industry::PersonalServices => "personal-services",
515 Industry::ResidentialConstruction => "residential-construction",
516 Industry::ResortsAndCasinos => "resorts-casinos",
517 Industry::Restaurants => "restaurants",
518 Industry::SpecialtyRetail => "specialty-retail",
519 Industry::TextileManufacturing => "textile-manufacturing",
520 Industry::Tobacco => "tobacco",
521 Industry::TravelServices => "travel-services",
522 Industry::OilAndGasDrilling => "oil-gas-drilling",
523 Industry::OilAndGasEAndP => "oil-gas-ep",
524 Industry::OilAndGasEquipmentAndServices => "oil-gas-equipment-services",
525 Industry::OilAndGasIntegrated => "oil-gas-integrated",
526 Industry::OilAndGasMidstream => "oil-gas-midstream",
527 Industry::OilAndGasRefiningAndMarketing => "oil-gas-refining-marketing",
528 Industry::Solar => "solar",
529 Industry::AssetManagement => "asset-management",
530 Industry::BanksDiversified => "banks-diversified",
531 Industry::BanksRegional => "banks-regional",
532 Industry::CapitalMarkets => "capital-markets",
533 Industry::CreditServices => "credit-services",
534 Industry::FinancialDataAndStockExchanges => "financial-data-stock-exchanges",
535 Industry::InsuranceBrokers => "insurance-brokers",
536 Industry::InsuranceDiversified => "insurance-diversified",
537 Industry::InsuranceLife => "insurance-life",
538 Industry::InsurancePropertyAndCasualty => "insurance-property-casualty",
539 Industry::InsuranceReinsurance => "insurance-reinsurance",
540 Industry::InsuranceSpecialty => "insurance-specialty",
541 Industry::MortgageFinance => "mortgage-finance",
542 Industry::ShellCompanies => "shell-companies",
543 Industry::Biotechnology => "biotechnology",
544 Industry::DiagnosticsAndResearch => "diagnostics-research",
545 Industry::DrugManufacturersGeneral => "drug-manufacturers-general",
546 Industry::DrugManufacturersSpecialtyAndGeneric => {
547 "drug-manufacturers-specialty-generic"
548 }
549 Industry::HealthInformationServices => "health-information-services",
550 Industry::HealthcarePlans => "healthcare-plans",
551 Industry::MedicalCareFacilities => "medical-care-facilities",
552 Industry::MedicalDevices => "medical-devices",
553 Industry::MedicalDistribution => "medical-distribution",
554 Industry::MedicalInstrumentsAndSupplies => "medical-instruments-supplies",
555 Industry::PharmaceuticalRetailers => "pharmaceutical-retailers",
556 Industry::AerospaceAndDefense => "aerospace-defense",
557 Industry::BuildingMaterials => "building-materials",
558 Industry::BuildingProductsAndEquipment => "building-products-equipment",
559 Industry::BusinessEquipmentAndSupplies => "business-equipment-supplies",
560 Industry::ChemicalManufacturing => "chemical-manufacturing",
561 Industry::Chemicals => "chemicals",
562 Industry::Conglomerates => "conglomerates",
563 Industry::ConsultingServices => "consulting-services",
564 Industry::ElectricalEquipmentAndParts => "electrical-equipment-parts",
565 Industry::EngineeringAndConstruction => "engineering-construction",
566 Industry::FarmAndHeavyConstructionMachinery => "farm-heavy-construction-machinery",
567 Industry::IndustrialDistribution => "industrial-distribution",
568 Industry::InfrastructureOperations => "infrastructure-operations",
569 Industry::IntegratedFreightAndLogistics => "integrated-freight-logistics",
570 Industry::ManufacturingDiversified => "manufacturing-diversified",
571 Industry::MarinePortsAndServices => "marine-ports-services",
572 Industry::MarineShipping => "marine-shipping",
573 Industry::MetalFabrication => "metal-fabrication",
574 Industry::PaperAndPaperProducts => "paper-paper-products",
575 Industry::PollutionAndTreatmentControls => "pollution-treatment-controls",
576 Industry::Railroads => "railroads",
577 Industry::RentalAndLeasingServices => "rental-leasing-services",
578 Industry::SecurityAndProtectionServices => "security-protection-services",
579 Industry::SpecialtyBusinessServices => "specialty-business-services",
580 Industry::SpecialtyChemicals => "specialty-chemicals",
581 Industry::SpecialtyIndustrialMachinery => "specialty-industrial-machinery",
582 Industry::StaffingAndEmploymentServices => "staffing-employment-services",
583 Industry::ToolsAndAccessories => "tools-accessories",
584 Industry::Trucking => "trucking",
585 Industry::WasteManagement => "waste-management",
586 Industry::RealEstateDevelopment => "real-estate-development",
587 Industry::RealEstateDiversified => "real-estate-diversified",
588 Industry::RealEstateServices => "real-estate-services",
589 Industry::ReitDiversified => "reit-diversified",
590 Industry::ReitHealthcareFacilities => "reit-healthcare-facilities",
591 Industry::ReitHotelAndMotel => "reit-hotel-motel",
592 Industry::ReitIndustrial => "reit-industrial",
593 Industry::ReitMortgage => "reit-mortgage",
594 Industry::ReitOffice => "reit-office",
595 Industry::ReitResidential => "reit-residential",
596 Industry::ReitRetail => "reit-retail",
597 Industry::ReitSpecialty => "reit-specialty",
598 Industry::CommunicationEquipment => "communication-equipment",
599 Industry::ComputerHardware => "computer-hardware",
600 Industry::ConsumerElectronics => "consumer-electronics",
601 Industry::DataAnalytics => "data-analytics",
602 Industry::ElectronicComponents => "electronic-components",
603 Industry::ElectronicsAndComputerDistribution => "electronics-computer-distribution",
604 Industry::HardwareAndSoftwareDistribution => "hardware-software-distribution",
605 Industry::InformationTechnologyServices => "information-technology-services",
606 Industry::InternetContentAndInformation => "internet-content-information",
607 Industry::ScientificAndTechnicalInstruments => "scientific-technical-instruments",
608 Industry::SemiconductorEquipmentAndMaterials => "semiconductor-equipment-materials",
609 Industry::Semiconductors => "semiconductors",
610 Industry::SoftwareApplication => "software-application",
611 Industry::SoftwareInfrastructure => "software-infrastructure",
612 Industry::Broadcasting => "broadcasting",
613 Industry::Entertainment => "entertainment",
614 Industry::Publishing => "publishing",
615 Industry::TelecomServices => "telecom-services",
616 Industry::UtilitiesDiversified => "utilities-diversified",
617 Industry::UtilitiesIndependentPowerProducers => "utilities-independent-power-producers",
618 Industry::UtilitiesRegulatedElectric => "utilities-regulated-electric",
619 Industry::UtilitiesRegulatedGas => "utilities-regulated-gas",
620 Industry::UtilitiesRegulatedWater => "utilities-regulated-water",
621 Industry::UtilitiesRenewable => "utilities-renewable",
622 Industry::ClosedEndFundDebt => "closed-end-fund-debt",
623 Industry::ClosedEndFundEquity => "closed-end-fund-equity",
624 Industry::ClosedEndFundForeign => "closed-end-fund-foreign",
625 Industry::ExchangeTradedFund => "exchange-traded-fund",
626 }
627 }
628
629 pub fn screener_value(self) -> &'static str {
639 match self {
640 Industry::AgriculturalInputs => "Agricultural Inputs",
641 Industry::Aluminum => "Aluminum",
642 Industry::Coal => "Coal",
643 Industry::Copper => "Copper",
644 Industry::FarmProducts => "Farm Products",
645 Industry::ForestProducts => "Forest Products",
646 Industry::Gold => "Gold",
647 Industry::LumberAndWoodProduction => "Lumber & Wood Production",
648 Industry::OtherIndustrialMetalsAndMining => "Other Industrial Metals & Mining",
649 Industry::OtherPreciousMetalsAndMining => "Other Precious Metals & Mining",
650 Industry::Silver => "Silver",
651 Industry::Steel => "Steel",
652 Industry::ThermalCoal => "Thermal Coal",
653 Industry::Uranium => "Uranium",
654 Industry::ApparelManufacturing => "Apparel Manufacturing",
655 Industry::ApparelRetail => "Apparel Retail",
656 Industry::AutoAndTruckDealerships => "Auto & Truck Dealerships",
657 Industry::AutoManufacturers => "Auto Manufacturers",
658 Industry::AutoParts => "Auto Parts",
659 Industry::BeveragesBrewers => "Beverages - Brewers",
660 Industry::BeveragesNonAlcoholic => "Beverages - Non-Alcoholic",
661 Industry::BeveragesWineriesAndDistilleries => "Beverages - Wineries & Distilleries",
662 Industry::Confectioners => "Confectioners",
663 Industry::DepartmentStores => "Department Stores",
664 Industry::DiscountStores => "Discount Stores",
665 Industry::ElectronicGamingAndMultimedia => "Electronic Gaming & Multimedia",
666 Industry::FoodDistribution => "Food Distribution",
667 Industry::FootwearAndAccessories => "Footwear & Accessories",
668 Industry::FurnishingsFixturesAndAppliances => "Furnishings, Fixtures & Appliances",
669 Industry::Gambling => "Gambling",
670 Industry::GroceryStores => "Grocery Stores",
671 Industry::HomeImprovementRetail => "Home Improvement Retail",
672 Industry::HouseholdAndPersonalProducts => "Household & Personal Products",
673 Industry::InternetRetail => "Internet Retail",
674 Industry::Leisure => "Leisure",
675 Industry::Lodging => "Lodging",
676 Industry::LuxuryGoods => "Luxury Goods",
677 Industry::PackagedFoods => "Packaged Foods",
678 Industry::PersonalServices => "Personal Services",
679 Industry::ResidentialConstruction => "Residential Construction",
680 Industry::ResortsAndCasinos => "Resorts & Casinos",
681 Industry::Restaurants => "Restaurants",
682 Industry::SpecialtyRetail => "Specialty Retail",
683 Industry::TextileManufacturing => "Textile Manufacturing",
684 Industry::Tobacco => "Tobacco",
685 Industry::TravelServices => "Travel Services",
686 Industry::OilAndGasDrilling => "Oil & Gas Drilling",
687 Industry::OilAndGasEAndP => "Oil & Gas E&P",
688 Industry::OilAndGasEquipmentAndServices => "Oil & Gas Equipment & Services",
689 Industry::OilAndGasIntegrated => "Oil & Gas Integrated",
690 Industry::OilAndGasMidstream => "Oil & Gas Midstream",
691 Industry::OilAndGasRefiningAndMarketing => "Oil & Gas Refining & Marketing",
692 Industry::Solar => "Solar",
693 Industry::AssetManagement => "Asset Management",
694 Industry::BanksDiversified => "Banks - Diversified",
695 Industry::BanksRegional => "Banks - Regional",
696 Industry::CapitalMarkets => "Capital Markets",
697 Industry::CreditServices => "Credit Services",
698 Industry::FinancialDataAndStockExchanges => "Financial Data & Stock Exchanges",
699 Industry::InsuranceBrokers => "Insurance Brokers",
700 Industry::InsuranceDiversified => "Insurance - Diversified",
701 Industry::InsuranceLife => "Insurance - Life",
702 Industry::InsurancePropertyAndCasualty => "Insurance - Property & Casualty",
703 Industry::InsuranceReinsurance => "Insurance - Reinsurance",
704 Industry::InsuranceSpecialty => "Insurance - Specialty",
705 Industry::MortgageFinance => "Mortgage Finance",
706 Industry::ShellCompanies => "Shell Companies",
707 Industry::Biotechnology => "Biotechnology",
708 Industry::DiagnosticsAndResearch => "Diagnostics & Research",
709 Industry::DrugManufacturersGeneral => "Drug Manufacturers - General",
710 Industry::DrugManufacturersSpecialtyAndGeneric => {
711 "Drug Manufacturers - Specialty & Generic"
712 }
713 Industry::HealthInformationServices => "Health Information Services",
714 Industry::HealthcarePlans => "Healthcare Plans",
715 Industry::MedicalCareFacilities => "Medical Care Facilities",
716 Industry::MedicalDevices => "Medical Devices",
717 Industry::MedicalDistribution => "Medical Distribution",
718 Industry::MedicalInstrumentsAndSupplies => "Medical Instruments & Supplies",
719 Industry::PharmaceuticalRetailers => "Pharmaceutical Retailers",
720 Industry::AerospaceAndDefense => "Aerospace & Defense",
721 Industry::BuildingMaterials => "Building Materials",
722 Industry::BuildingProductsAndEquipment => "Building Products & Equipment",
723 Industry::BusinessEquipmentAndSupplies => "Business Equipment & Supplies",
724 Industry::ChemicalManufacturing => "Chemical Manufacturing",
725 Industry::Chemicals => "Chemicals",
726 Industry::Conglomerates => "Conglomerates",
727 Industry::ConsultingServices => "Consulting Services",
728 Industry::ElectricalEquipmentAndParts => "Electrical Equipment & Parts",
729 Industry::EngineeringAndConstruction => "Engineering & Construction",
730 Industry::FarmAndHeavyConstructionMachinery => "Farm & Heavy Construction Machinery",
731 Industry::IndustrialDistribution => "Industrial Distribution",
732 Industry::InfrastructureOperations => "Infrastructure Operations",
733 Industry::IntegratedFreightAndLogistics => "Integrated Freight & Logistics",
734 Industry::ManufacturingDiversified => "Manufacturing - Diversified",
735 Industry::MarinePortsAndServices => "Marine Ports & Services",
736 Industry::MarineShipping => "Marine Shipping",
737 Industry::MetalFabrication => "Metal Fabrication",
738 Industry::PaperAndPaperProducts => "Paper & Paper Products",
739 Industry::PollutionAndTreatmentControls => "Pollution & Treatment Controls",
740 Industry::Railroads => "Railroads",
741 Industry::RentalAndLeasingServices => "Rental & Leasing Services",
742 Industry::SecurityAndProtectionServices => "Security & Protection Services",
743 Industry::SpecialtyBusinessServices => "Specialty Business Services",
744 Industry::SpecialtyChemicals => "Specialty Chemicals",
745 Industry::SpecialtyIndustrialMachinery => "Specialty Industrial Machinery",
746 Industry::StaffingAndEmploymentServices => "Staffing & Employment Services",
747 Industry::ToolsAndAccessories => "Tools & Accessories",
748 Industry::Trucking => "Trucking",
749 Industry::WasteManagement => "Waste Management",
750 Industry::RealEstateDevelopment => "Real Estate - Development",
751 Industry::RealEstateDiversified => "Real Estate - Diversified",
752 Industry::RealEstateServices => "Real Estate Services",
753 Industry::ReitDiversified => "REIT - Diversified",
754 Industry::ReitHealthcareFacilities => "REIT - Healthcare Facilities",
755 Industry::ReitHotelAndMotel => "REIT - Hotel & Motel",
756 Industry::ReitIndustrial => "REIT - Industrial",
757 Industry::ReitMortgage => "REIT - Mortgage",
758 Industry::ReitOffice => "REIT - Office",
759 Industry::ReitResidential => "REIT - Residential",
760 Industry::ReitRetail => "REIT - Retail",
761 Industry::ReitSpecialty => "REIT - Specialty",
762 Industry::CommunicationEquipment => "Communication Equipment",
763 Industry::ComputerHardware => "Computer Hardware",
764 Industry::ConsumerElectronics => "Consumer Electronics",
765 Industry::DataAnalytics => "Data Analytics",
766 Industry::ElectronicComponents => "Electronic Components",
767 Industry::ElectronicsAndComputerDistribution => "Electronics & Computer Distribution",
768 Industry::HardwareAndSoftwareDistribution => "Hardware & Software Distribution",
769 Industry::InformationTechnologyServices => "Information Technology Services",
770 Industry::InternetContentAndInformation => "Internet Content & Information",
771 Industry::ScientificAndTechnicalInstruments => "Scientific & Technical Instruments",
772 Industry::SemiconductorEquipmentAndMaterials => "Semiconductor Equipment & Materials",
773 Industry::Semiconductors => "Semiconductors",
774 Industry::SoftwareApplication => "Software - Application",
775 Industry::SoftwareInfrastructure => "Software - Infrastructure",
776 Industry::Broadcasting => "Broadcasting",
777 Industry::Entertainment => "Entertainment",
778 Industry::Publishing => "Publishing",
779 Industry::TelecomServices => "Telecom Services",
780 Industry::UtilitiesDiversified => "Utilities - Diversified",
781 Industry::UtilitiesIndependentPowerProducers => {
782 "Utilities - Independent Power Producers"
783 }
784 Industry::UtilitiesRegulatedElectric => "Utilities - Regulated Electric",
785 Industry::UtilitiesRegulatedGas => "Utilities - Regulated Gas",
786 Industry::UtilitiesRegulatedWater => "Utilities - Regulated Water",
787 Industry::UtilitiesRenewable => "Utilities - Renewable",
788 Industry::ClosedEndFundDebt => "Closed-End Fund - Debt",
789 Industry::ClosedEndFundEquity => "Closed-End Fund - Equity",
790 Industry::ClosedEndFundForeign => "Closed-End Fund - Foreign",
791 Industry::ExchangeTradedFund => "Exchange Traded Fund",
792 }
793 }
794}
795
796impl std::str::FromStr for Industry {
797 type Err = ();
798
799 fn from_str(s: &str) -> Result<Self, Self::Err> {
801 match s {
802 "agricultural-inputs" => Ok(Industry::AgriculturalInputs),
803 "aluminum" => Ok(Industry::Aluminum),
804 "coal" => Ok(Industry::Coal),
805 "copper" => Ok(Industry::Copper),
806 "farm-products" => Ok(Industry::FarmProducts),
807 "forest-products" => Ok(Industry::ForestProducts),
808 "gold" => Ok(Industry::Gold),
809 "lumber-wood-production" => Ok(Industry::LumberAndWoodProduction),
810 "other-industrial-metals-mining" => Ok(Industry::OtherIndustrialMetalsAndMining),
811 "other-precious-metals-mining" => Ok(Industry::OtherPreciousMetalsAndMining),
812 "silver" => Ok(Industry::Silver),
813 "steel" => Ok(Industry::Steel),
814 "thermal-coal" => Ok(Industry::ThermalCoal),
815 "uranium" => Ok(Industry::Uranium),
816 "apparel-manufacturing" => Ok(Industry::ApparelManufacturing),
817 "apparel-retail" => Ok(Industry::ApparelRetail),
818 "auto-truck-dealerships" => Ok(Industry::AutoAndTruckDealerships),
819 "auto-manufacturers" => Ok(Industry::AutoManufacturers),
820 "auto-parts" => Ok(Industry::AutoParts),
821 "beverages-brewers" => Ok(Industry::BeveragesBrewers),
822 "beverages-non-alcoholic" => Ok(Industry::BeveragesNonAlcoholic),
823 "beverages-wineries-distilleries" => Ok(Industry::BeveragesWineriesAndDistilleries),
824 "confectioners" => Ok(Industry::Confectioners),
825 "department-stores" => Ok(Industry::DepartmentStores),
826 "discount-stores" => Ok(Industry::DiscountStores),
827 "electronic-gaming-multimedia" => Ok(Industry::ElectronicGamingAndMultimedia),
828 "food-distribution" => Ok(Industry::FoodDistribution),
829 "footwear-accessories" => Ok(Industry::FootwearAndAccessories),
830 "furnishings-fixtures-appliances" => Ok(Industry::FurnishingsFixturesAndAppliances),
831 "gambling" => Ok(Industry::Gambling),
832 "grocery-stores" => Ok(Industry::GroceryStores),
833 "home-improvement-retail" => Ok(Industry::HomeImprovementRetail),
834 "household-personal-products" => Ok(Industry::HouseholdAndPersonalProducts),
835 "internet-retail" => Ok(Industry::InternetRetail),
836 "leisure" => Ok(Industry::Leisure),
837 "lodging" => Ok(Industry::Lodging),
838 "luxury-goods" => Ok(Industry::LuxuryGoods),
839 "packaged-foods" => Ok(Industry::PackagedFoods),
840 "personal-services" => Ok(Industry::PersonalServices),
841 "residential-construction" => Ok(Industry::ResidentialConstruction),
842 "resorts-casinos" => Ok(Industry::ResortsAndCasinos),
843 "restaurants" => Ok(Industry::Restaurants),
844 "specialty-retail" => Ok(Industry::SpecialtyRetail),
845 "textile-manufacturing" => Ok(Industry::TextileManufacturing),
846 "tobacco" => Ok(Industry::Tobacco),
847 "travel-services" => Ok(Industry::TravelServices),
848 "oil-gas-drilling" => Ok(Industry::OilAndGasDrilling),
849 "oil-gas-ep" => Ok(Industry::OilAndGasEAndP),
850 "oil-gas-equipment-services" => Ok(Industry::OilAndGasEquipmentAndServices),
851 "oil-gas-integrated" => Ok(Industry::OilAndGasIntegrated),
852 "oil-gas-midstream" => Ok(Industry::OilAndGasMidstream),
853 "oil-gas-refining-marketing" => Ok(Industry::OilAndGasRefiningAndMarketing),
854 "solar" => Ok(Industry::Solar),
855 "asset-management" => Ok(Industry::AssetManagement),
856 "banks-diversified" => Ok(Industry::BanksDiversified),
857 "banks-regional" => Ok(Industry::BanksRegional),
858 "capital-markets" => Ok(Industry::CapitalMarkets),
859 "credit-services" => Ok(Industry::CreditServices),
860 "financial-data-stock-exchanges" => Ok(Industry::FinancialDataAndStockExchanges),
861 "insurance-brokers" => Ok(Industry::InsuranceBrokers),
862 "insurance-diversified" => Ok(Industry::InsuranceDiversified),
863 "insurance-life" => Ok(Industry::InsuranceLife),
864 "insurance-property-casualty" => Ok(Industry::InsurancePropertyAndCasualty),
865 "insurance-reinsurance" => Ok(Industry::InsuranceReinsurance),
866 "insurance-specialty" => Ok(Industry::InsuranceSpecialty),
867 "mortgage-finance" => Ok(Industry::MortgageFinance),
868 "shell-companies" => Ok(Industry::ShellCompanies),
869 "biotechnology" => Ok(Industry::Biotechnology),
870 "diagnostics-research" => Ok(Industry::DiagnosticsAndResearch),
871 "drug-manufacturers-general" => Ok(Industry::DrugManufacturersGeneral),
872 "drug-manufacturers-specialty-generic" => {
873 Ok(Industry::DrugManufacturersSpecialtyAndGeneric)
874 }
875 "health-information-services" => Ok(Industry::HealthInformationServices),
876 "healthcare-plans" => Ok(Industry::HealthcarePlans),
877 "medical-care-facilities" => Ok(Industry::MedicalCareFacilities),
878 "medical-devices" => Ok(Industry::MedicalDevices),
879 "medical-distribution" => Ok(Industry::MedicalDistribution),
880 "medical-instruments-supplies" => Ok(Industry::MedicalInstrumentsAndSupplies),
881 "pharmaceutical-retailers" => Ok(Industry::PharmaceuticalRetailers),
882 "aerospace-defense" => Ok(Industry::AerospaceAndDefense),
883 "building-materials" => Ok(Industry::BuildingMaterials),
884 "building-products-equipment" => Ok(Industry::BuildingProductsAndEquipment),
885 "business-equipment-supplies" => Ok(Industry::BusinessEquipmentAndSupplies),
886 "chemical-manufacturing" => Ok(Industry::ChemicalManufacturing),
887 "chemicals" => Ok(Industry::Chemicals),
888 "conglomerates" => Ok(Industry::Conglomerates),
889 "consulting-services" => Ok(Industry::ConsultingServices),
890 "electrical-equipment-parts" => Ok(Industry::ElectricalEquipmentAndParts),
891 "engineering-construction" => Ok(Industry::EngineeringAndConstruction),
892 "farm-heavy-construction-machinery" => Ok(Industry::FarmAndHeavyConstructionMachinery),
893 "industrial-distribution" => Ok(Industry::IndustrialDistribution),
894 "infrastructure-operations" => Ok(Industry::InfrastructureOperations),
895 "integrated-freight-logistics" => Ok(Industry::IntegratedFreightAndLogistics),
896 "manufacturing-diversified" => Ok(Industry::ManufacturingDiversified),
897 "marine-ports-services" => Ok(Industry::MarinePortsAndServices),
898 "marine-shipping" => Ok(Industry::MarineShipping),
899 "metal-fabrication" => Ok(Industry::MetalFabrication),
900 "paper-paper-products" => Ok(Industry::PaperAndPaperProducts),
901 "pollution-treatment-controls" => Ok(Industry::PollutionAndTreatmentControls),
902 "railroads" => Ok(Industry::Railroads),
903 "rental-leasing-services" => Ok(Industry::RentalAndLeasingServices),
904 "security-protection-services" => Ok(Industry::SecurityAndProtectionServices),
905 "specialty-business-services" => Ok(Industry::SpecialtyBusinessServices),
906 "specialty-chemicals" => Ok(Industry::SpecialtyChemicals),
907 "specialty-industrial-machinery" => Ok(Industry::SpecialtyIndustrialMachinery),
908 "staffing-employment-services" => Ok(Industry::StaffingAndEmploymentServices),
909 "tools-accessories" => Ok(Industry::ToolsAndAccessories),
910 "trucking" => Ok(Industry::Trucking),
911 "waste-management" => Ok(Industry::WasteManagement),
912 "real-estate-development" => Ok(Industry::RealEstateDevelopment),
913 "real-estate-diversified" => Ok(Industry::RealEstateDiversified),
914 "real-estate-services" => Ok(Industry::RealEstateServices),
915 "reit-diversified" => Ok(Industry::ReitDiversified),
916 "reit-healthcare-facilities" => Ok(Industry::ReitHealthcareFacilities),
917 "reit-hotel-motel" => Ok(Industry::ReitHotelAndMotel),
918 "reit-industrial" => Ok(Industry::ReitIndustrial),
919 "reit-mortgage" => Ok(Industry::ReitMortgage),
920 "reit-office" => Ok(Industry::ReitOffice),
921 "reit-residential" => Ok(Industry::ReitResidential),
922 "reit-retail" => Ok(Industry::ReitRetail),
923 "reit-specialty" => Ok(Industry::ReitSpecialty),
924 "communication-equipment" => Ok(Industry::CommunicationEquipment),
925 "computer-hardware" => Ok(Industry::ComputerHardware),
926 "consumer-electronics" => Ok(Industry::ConsumerElectronics),
927 "data-analytics" => Ok(Industry::DataAnalytics),
928 "electronic-components" => Ok(Industry::ElectronicComponents),
929 "electronics-computer-distribution" => Ok(Industry::ElectronicsAndComputerDistribution),
930 "hardware-software-distribution" => Ok(Industry::HardwareAndSoftwareDistribution),
931 "information-technology-services" => Ok(Industry::InformationTechnologyServices),
932 "internet-content-information" => Ok(Industry::InternetContentAndInformation),
933 "scientific-technical-instruments" => Ok(Industry::ScientificAndTechnicalInstruments),
934 "semiconductor-equipment-materials" => Ok(Industry::SemiconductorEquipmentAndMaterials),
935 "semiconductors" => Ok(Industry::Semiconductors),
936 "software-application" => Ok(Industry::SoftwareApplication),
937 "software-infrastructure" => Ok(Industry::SoftwareInfrastructure),
938 "broadcasting" => Ok(Industry::Broadcasting),
939 "entertainment" => Ok(Industry::Entertainment),
940 "publishing" => Ok(Industry::Publishing),
941 "telecom-services" => Ok(Industry::TelecomServices),
942 "utilities-diversified" => Ok(Industry::UtilitiesDiversified),
943 "utilities-independent-power-producers" => {
944 Ok(Industry::UtilitiesIndependentPowerProducers)
945 }
946 "utilities-regulated-electric" => Ok(Industry::UtilitiesRegulatedElectric),
947 "utilities-regulated-gas" => Ok(Industry::UtilitiesRegulatedGas),
948 "utilities-regulated-water" => Ok(Industry::UtilitiesRegulatedWater),
949 "utilities-renewable" => Ok(Industry::UtilitiesRenewable),
950 "closed-end-fund-debt" => Ok(Industry::ClosedEndFundDebt),
951 "closed-end-fund-equity" => Ok(Industry::ClosedEndFundEquity),
952 "closed-end-fund-foreign" => Ok(Industry::ClosedEndFundForeign),
953 "exchange-traded-fund" => Ok(Industry::ExchangeTradedFund),
954 _ => Err(()),
955 }
956 }
957}
958
959impl AsRef<str> for Industry {
960 fn as_ref(&self) -> &str {
962 self.as_slug()
963 }
964}
965
966impl From<Industry> for String {
967 fn from(v: Industry) -> Self {
969 v.screener_value().to_string()
970 }
971}