#[non_exhaustive]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize)]
pub enum Industry {
#[serde(rename = "agricultural-inputs")]
AgriculturalInputs,
#[serde(rename = "aluminum")]
Aluminum,
#[serde(rename = "coal")]
Coal,
#[serde(rename = "copper")]
Copper,
#[serde(rename = "farm-products")]
FarmProducts,
#[serde(rename = "forest-products")]
ForestProducts,
#[serde(rename = "gold")]
Gold,
#[serde(rename = "lumber-wood-production")]
LumberAndWoodProduction,
#[serde(rename = "other-industrial-metals-mining")]
OtherIndustrialMetalsAndMining,
#[serde(rename = "other-precious-metals-mining")]
OtherPreciousMetalsAndMining,
#[serde(rename = "silver")]
Silver,
#[serde(rename = "steel")]
Steel,
#[serde(rename = "thermal-coal")]
ThermalCoal,
#[serde(rename = "uranium")]
Uranium,
#[serde(rename = "apparel-manufacturing")]
ApparelManufacturing,
#[serde(rename = "apparel-retail")]
ApparelRetail,
#[serde(rename = "auto-truck-dealerships")]
AutoAndTruckDealerships,
#[serde(rename = "auto-manufacturers")]
AutoManufacturers,
#[serde(rename = "auto-parts")]
AutoParts,
#[serde(rename = "beverages-brewers")]
BeveragesBrewers,
#[serde(rename = "beverages-non-alcoholic")]
BeveragesNonAlcoholic,
#[serde(rename = "beverages-wineries-distilleries")]
BeveragesWineriesAndDistilleries,
#[serde(rename = "confectioners")]
Confectioners,
#[serde(rename = "department-stores")]
DepartmentStores,
#[serde(rename = "discount-stores")]
DiscountStores,
#[serde(rename = "electronic-gaming-multimedia")]
ElectronicGamingAndMultimedia,
#[serde(rename = "food-distribution")]
FoodDistribution,
#[serde(rename = "footwear-accessories")]
FootwearAndAccessories,
#[serde(rename = "furnishings-fixtures-appliances")]
FurnishingsFixturesAndAppliances,
#[serde(rename = "gambling")]
Gambling,
#[serde(rename = "grocery-stores")]
GroceryStores,
#[serde(rename = "home-improvement-retail")]
HomeImprovementRetail,
#[serde(rename = "household-personal-products")]
HouseholdAndPersonalProducts,
#[serde(rename = "internet-retail")]
InternetRetail,
#[serde(rename = "leisure")]
Leisure,
#[serde(rename = "lodging")]
Lodging,
#[serde(rename = "luxury-goods")]
LuxuryGoods,
#[serde(rename = "packaged-foods")]
PackagedFoods,
#[serde(rename = "personal-services")]
PersonalServices,
#[serde(rename = "residential-construction")]
ResidentialConstruction,
#[serde(rename = "resorts-casinos")]
ResortsAndCasinos,
#[serde(rename = "restaurants")]
Restaurants,
#[serde(rename = "specialty-retail")]
SpecialtyRetail,
#[serde(rename = "textile-manufacturing")]
TextileManufacturing,
#[serde(rename = "tobacco")]
Tobacco,
#[serde(rename = "travel-services")]
TravelServices,
#[serde(rename = "oil-gas-drilling")]
OilAndGasDrilling,
#[serde(rename = "oil-gas-ep")]
OilAndGasEAndP,
#[serde(rename = "oil-gas-equipment-services")]
OilAndGasEquipmentAndServices,
#[serde(rename = "oil-gas-integrated")]
OilAndGasIntegrated,
#[serde(rename = "oil-gas-midstream")]
OilAndGasMidstream,
#[serde(rename = "oil-gas-refining-marketing")]
OilAndGasRefiningAndMarketing,
#[serde(rename = "solar")]
Solar,
#[serde(rename = "asset-management")]
AssetManagement,
#[serde(rename = "banks-diversified")]
BanksDiversified,
#[serde(rename = "banks-regional")]
BanksRegional,
#[serde(rename = "capital-markets")]
CapitalMarkets,
#[serde(rename = "credit-services")]
CreditServices,
#[serde(rename = "financial-data-stock-exchanges")]
FinancialDataAndStockExchanges,
#[serde(rename = "insurance-brokers")]
InsuranceBrokers,
#[serde(rename = "insurance-diversified")]
InsuranceDiversified,
#[serde(rename = "insurance-life")]
InsuranceLife,
#[serde(rename = "insurance-property-casualty")]
InsurancePropertyAndCasualty,
#[serde(rename = "insurance-reinsurance")]
InsuranceReinsurance,
#[serde(rename = "insurance-specialty")]
InsuranceSpecialty,
#[serde(rename = "mortgage-finance")]
MortgageFinance,
#[serde(rename = "shell-companies")]
ShellCompanies,
#[serde(rename = "biotechnology")]
Biotechnology,
#[serde(rename = "diagnostics-research")]
DiagnosticsAndResearch,
#[serde(rename = "drug-manufacturers-general")]
DrugManufacturersGeneral,
#[serde(rename = "drug-manufacturers-specialty-generic")]
DrugManufacturersSpecialtyAndGeneric,
#[serde(rename = "health-information-services")]
HealthInformationServices,
#[serde(rename = "healthcare-plans")]
HealthcarePlans,
#[serde(rename = "medical-care-facilities")]
MedicalCareFacilities,
#[serde(rename = "medical-devices")]
MedicalDevices,
#[serde(rename = "medical-distribution")]
MedicalDistribution,
#[serde(rename = "medical-instruments-supplies")]
MedicalInstrumentsAndSupplies,
#[serde(rename = "pharmaceutical-retailers")]
PharmaceuticalRetailers,
#[serde(rename = "aerospace-defense")]
AerospaceAndDefense,
#[serde(rename = "building-materials")]
BuildingMaterials,
#[serde(rename = "building-products-equipment")]
BuildingProductsAndEquipment,
#[serde(rename = "business-equipment-supplies")]
BusinessEquipmentAndSupplies,
#[serde(rename = "chemical-manufacturing")]
ChemicalManufacturing,
#[serde(rename = "chemicals")]
Chemicals,
#[serde(rename = "conglomerates")]
Conglomerates,
#[serde(rename = "consulting-services")]
ConsultingServices,
#[serde(rename = "electrical-equipment-parts")]
ElectricalEquipmentAndParts,
#[serde(rename = "engineering-construction")]
EngineeringAndConstruction,
#[serde(rename = "farm-heavy-construction-machinery")]
FarmAndHeavyConstructionMachinery,
#[serde(rename = "industrial-distribution")]
IndustrialDistribution,
#[serde(rename = "infrastructure-operations")]
InfrastructureOperations,
#[serde(rename = "integrated-freight-logistics")]
IntegratedFreightAndLogistics,
#[serde(rename = "manufacturing-diversified")]
ManufacturingDiversified,
#[serde(rename = "marine-ports-services")]
MarinePortsAndServices,
#[serde(rename = "marine-shipping")]
MarineShipping,
#[serde(rename = "metal-fabrication")]
MetalFabrication,
#[serde(rename = "paper-paper-products")]
PaperAndPaperProducts,
#[serde(rename = "pollution-treatment-controls")]
PollutionAndTreatmentControls,
#[serde(rename = "railroads")]
Railroads,
#[serde(rename = "rental-leasing-services")]
RentalAndLeasingServices,
#[serde(rename = "security-protection-services")]
SecurityAndProtectionServices,
#[serde(rename = "specialty-business-services")]
SpecialtyBusinessServices,
#[serde(rename = "specialty-chemicals")]
SpecialtyChemicals,
#[serde(rename = "specialty-industrial-machinery")]
SpecialtyIndustrialMachinery,
#[serde(rename = "staffing-employment-services")]
StaffingAndEmploymentServices,
#[serde(rename = "tools-accessories")]
ToolsAndAccessories,
#[serde(rename = "trucking")]
Trucking,
#[serde(rename = "waste-management")]
WasteManagement,
#[serde(rename = "real-estate-development")]
RealEstateDevelopment,
#[serde(rename = "real-estate-diversified")]
RealEstateDiversified,
#[serde(rename = "real-estate-services")]
RealEstateServices,
#[serde(rename = "reit-diversified")]
ReitDiversified,
#[serde(rename = "reit-healthcare-facilities")]
ReitHealthcareFacilities,
#[serde(rename = "reit-hotel-motel")]
ReitHotelAndMotel,
#[serde(rename = "reit-industrial")]
ReitIndustrial,
#[serde(rename = "reit-mortgage")]
ReitMortgage,
#[serde(rename = "reit-office")]
ReitOffice,
#[serde(rename = "reit-residential")]
ReitResidential,
#[serde(rename = "reit-retail")]
ReitRetail,
#[serde(rename = "reit-specialty")]
ReitSpecialty,
#[serde(rename = "communication-equipment")]
CommunicationEquipment,
#[serde(rename = "computer-hardware")]
ComputerHardware,
#[serde(rename = "consumer-electronics")]
ConsumerElectronics,
#[serde(rename = "data-analytics")]
DataAnalytics,
#[serde(rename = "electronic-components")]
ElectronicComponents,
#[serde(rename = "electronics-computer-distribution")]
ElectronicsAndComputerDistribution,
#[serde(rename = "hardware-software-distribution")]
HardwareAndSoftwareDistribution,
#[serde(rename = "information-technology-services")]
InformationTechnologyServices,
#[serde(rename = "internet-content-information")]
InternetContentAndInformation,
#[serde(rename = "scientific-technical-instruments")]
ScientificAndTechnicalInstruments,
#[serde(rename = "semiconductor-equipment-materials")]
SemiconductorEquipmentAndMaterials,
#[serde(rename = "semiconductors")]
Semiconductors,
#[serde(rename = "software-application")]
SoftwareApplication,
#[serde(rename = "software-infrastructure")]
SoftwareInfrastructure,
#[serde(rename = "broadcasting")]
Broadcasting,
#[serde(rename = "entertainment")]
Entertainment,
#[serde(rename = "publishing")]
Publishing,
#[serde(rename = "telecom-services")]
TelecomServices,
#[serde(rename = "utilities-diversified")]
UtilitiesDiversified,
#[serde(rename = "utilities-independent-power-producers")]
UtilitiesIndependentPowerProducers,
#[serde(rename = "utilities-regulated-electric")]
UtilitiesRegulatedElectric,
#[serde(rename = "utilities-regulated-gas")]
UtilitiesRegulatedGas,
#[serde(rename = "utilities-regulated-water")]
UtilitiesRegulatedWater,
#[serde(rename = "utilities-renewable")]
UtilitiesRenewable,
#[serde(rename = "closed-end-fund-debt")]
ClosedEndFundDebt,
#[serde(rename = "closed-end-fund-equity")]
ClosedEndFundEquity,
#[serde(rename = "closed-end-fund-foreign")]
ClosedEndFundForeign,
#[serde(rename = "exchange-traded-fund")]
ExchangeTradedFund,
}
impl Industry {
pub fn as_slug(self) -> &'static str {
match self {
Industry::AgriculturalInputs => "agricultural-inputs",
Industry::Aluminum => "aluminum",
Industry::Coal => "coal",
Industry::Copper => "copper",
Industry::FarmProducts => "farm-products",
Industry::ForestProducts => "forest-products",
Industry::Gold => "gold",
Industry::LumberAndWoodProduction => "lumber-wood-production",
Industry::OtherIndustrialMetalsAndMining => "other-industrial-metals-mining",
Industry::OtherPreciousMetalsAndMining => "other-precious-metals-mining",
Industry::Silver => "silver",
Industry::Steel => "steel",
Industry::ThermalCoal => "thermal-coal",
Industry::Uranium => "uranium",
Industry::ApparelManufacturing => "apparel-manufacturing",
Industry::ApparelRetail => "apparel-retail",
Industry::AutoAndTruckDealerships => "auto-truck-dealerships",
Industry::AutoManufacturers => "auto-manufacturers",
Industry::AutoParts => "auto-parts",
Industry::BeveragesBrewers => "beverages-brewers",
Industry::BeveragesNonAlcoholic => "beverages-non-alcoholic",
Industry::BeveragesWineriesAndDistilleries => "beverages-wineries-distilleries",
Industry::Confectioners => "confectioners",
Industry::DepartmentStores => "department-stores",
Industry::DiscountStores => "discount-stores",
Industry::ElectronicGamingAndMultimedia => "electronic-gaming-multimedia",
Industry::FoodDistribution => "food-distribution",
Industry::FootwearAndAccessories => "footwear-accessories",
Industry::FurnishingsFixturesAndAppliances => "furnishings-fixtures-appliances",
Industry::Gambling => "gambling",
Industry::GroceryStores => "grocery-stores",
Industry::HomeImprovementRetail => "home-improvement-retail",
Industry::HouseholdAndPersonalProducts => "household-personal-products",
Industry::InternetRetail => "internet-retail",
Industry::Leisure => "leisure",
Industry::Lodging => "lodging",
Industry::LuxuryGoods => "luxury-goods",
Industry::PackagedFoods => "packaged-foods",
Industry::PersonalServices => "personal-services",
Industry::ResidentialConstruction => "residential-construction",
Industry::ResortsAndCasinos => "resorts-casinos",
Industry::Restaurants => "restaurants",
Industry::SpecialtyRetail => "specialty-retail",
Industry::TextileManufacturing => "textile-manufacturing",
Industry::Tobacco => "tobacco",
Industry::TravelServices => "travel-services",
Industry::OilAndGasDrilling => "oil-gas-drilling",
Industry::OilAndGasEAndP => "oil-gas-ep",
Industry::OilAndGasEquipmentAndServices => "oil-gas-equipment-services",
Industry::OilAndGasIntegrated => "oil-gas-integrated",
Industry::OilAndGasMidstream => "oil-gas-midstream",
Industry::OilAndGasRefiningAndMarketing => "oil-gas-refining-marketing",
Industry::Solar => "solar",
Industry::AssetManagement => "asset-management",
Industry::BanksDiversified => "banks-diversified",
Industry::BanksRegional => "banks-regional",
Industry::CapitalMarkets => "capital-markets",
Industry::CreditServices => "credit-services",
Industry::FinancialDataAndStockExchanges => "financial-data-stock-exchanges",
Industry::InsuranceBrokers => "insurance-brokers",
Industry::InsuranceDiversified => "insurance-diversified",
Industry::InsuranceLife => "insurance-life",
Industry::InsurancePropertyAndCasualty => "insurance-property-casualty",
Industry::InsuranceReinsurance => "insurance-reinsurance",
Industry::InsuranceSpecialty => "insurance-specialty",
Industry::MortgageFinance => "mortgage-finance",
Industry::ShellCompanies => "shell-companies",
Industry::Biotechnology => "biotechnology",
Industry::DiagnosticsAndResearch => "diagnostics-research",
Industry::DrugManufacturersGeneral => "drug-manufacturers-general",
Industry::DrugManufacturersSpecialtyAndGeneric => {
"drug-manufacturers-specialty-generic"
}
Industry::HealthInformationServices => "health-information-services",
Industry::HealthcarePlans => "healthcare-plans",
Industry::MedicalCareFacilities => "medical-care-facilities",
Industry::MedicalDevices => "medical-devices",
Industry::MedicalDistribution => "medical-distribution",
Industry::MedicalInstrumentsAndSupplies => "medical-instruments-supplies",
Industry::PharmaceuticalRetailers => "pharmaceutical-retailers",
Industry::AerospaceAndDefense => "aerospace-defense",
Industry::BuildingMaterials => "building-materials",
Industry::BuildingProductsAndEquipment => "building-products-equipment",
Industry::BusinessEquipmentAndSupplies => "business-equipment-supplies",
Industry::ChemicalManufacturing => "chemical-manufacturing",
Industry::Chemicals => "chemicals",
Industry::Conglomerates => "conglomerates",
Industry::ConsultingServices => "consulting-services",
Industry::ElectricalEquipmentAndParts => "electrical-equipment-parts",
Industry::EngineeringAndConstruction => "engineering-construction",
Industry::FarmAndHeavyConstructionMachinery => "farm-heavy-construction-machinery",
Industry::IndustrialDistribution => "industrial-distribution",
Industry::InfrastructureOperations => "infrastructure-operations",
Industry::IntegratedFreightAndLogistics => "integrated-freight-logistics",
Industry::ManufacturingDiversified => "manufacturing-diversified",
Industry::MarinePortsAndServices => "marine-ports-services",
Industry::MarineShipping => "marine-shipping",
Industry::MetalFabrication => "metal-fabrication",
Industry::PaperAndPaperProducts => "paper-paper-products",
Industry::PollutionAndTreatmentControls => "pollution-treatment-controls",
Industry::Railroads => "railroads",
Industry::RentalAndLeasingServices => "rental-leasing-services",
Industry::SecurityAndProtectionServices => "security-protection-services",
Industry::SpecialtyBusinessServices => "specialty-business-services",
Industry::SpecialtyChemicals => "specialty-chemicals",
Industry::SpecialtyIndustrialMachinery => "specialty-industrial-machinery",
Industry::StaffingAndEmploymentServices => "staffing-employment-services",
Industry::ToolsAndAccessories => "tools-accessories",
Industry::Trucking => "trucking",
Industry::WasteManagement => "waste-management",
Industry::RealEstateDevelopment => "real-estate-development",
Industry::RealEstateDiversified => "real-estate-diversified",
Industry::RealEstateServices => "real-estate-services",
Industry::ReitDiversified => "reit-diversified",
Industry::ReitHealthcareFacilities => "reit-healthcare-facilities",
Industry::ReitHotelAndMotel => "reit-hotel-motel",
Industry::ReitIndustrial => "reit-industrial",
Industry::ReitMortgage => "reit-mortgage",
Industry::ReitOffice => "reit-office",
Industry::ReitResidential => "reit-residential",
Industry::ReitRetail => "reit-retail",
Industry::ReitSpecialty => "reit-specialty",
Industry::CommunicationEquipment => "communication-equipment",
Industry::ComputerHardware => "computer-hardware",
Industry::ConsumerElectronics => "consumer-electronics",
Industry::DataAnalytics => "data-analytics",
Industry::ElectronicComponents => "electronic-components",
Industry::ElectronicsAndComputerDistribution => "electronics-computer-distribution",
Industry::HardwareAndSoftwareDistribution => "hardware-software-distribution",
Industry::InformationTechnologyServices => "information-technology-services",
Industry::InternetContentAndInformation => "internet-content-information",
Industry::ScientificAndTechnicalInstruments => "scientific-technical-instruments",
Industry::SemiconductorEquipmentAndMaterials => "semiconductor-equipment-materials",
Industry::Semiconductors => "semiconductors",
Industry::SoftwareApplication => "software-application",
Industry::SoftwareInfrastructure => "software-infrastructure",
Industry::Broadcasting => "broadcasting",
Industry::Entertainment => "entertainment",
Industry::Publishing => "publishing",
Industry::TelecomServices => "telecom-services",
Industry::UtilitiesDiversified => "utilities-diversified",
Industry::UtilitiesIndependentPowerProducers => "utilities-independent-power-producers",
Industry::UtilitiesRegulatedElectric => "utilities-regulated-electric",
Industry::UtilitiesRegulatedGas => "utilities-regulated-gas",
Industry::UtilitiesRegulatedWater => "utilities-regulated-water",
Industry::UtilitiesRenewable => "utilities-renewable",
Industry::ClosedEndFundDebt => "closed-end-fund-debt",
Industry::ClosedEndFundEquity => "closed-end-fund-equity",
Industry::ClosedEndFundForeign => "closed-end-fund-foreign",
Industry::ExchangeTradedFund => "exchange-traded-fund",
}
}
pub fn screener_value(self) -> &'static str {
match self {
Industry::AgriculturalInputs => "Agricultural Inputs",
Industry::Aluminum => "Aluminum",
Industry::Coal => "Coal",
Industry::Copper => "Copper",
Industry::FarmProducts => "Farm Products",
Industry::ForestProducts => "Forest Products",
Industry::Gold => "Gold",
Industry::LumberAndWoodProduction => "Lumber & Wood Production",
Industry::OtherIndustrialMetalsAndMining => "Other Industrial Metals & Mining",
Industry::OtherPreciousMetalsAndMining => "Other Precious Metals & Mining",
Industry::Silver => "Silver",
Industry::Steel => "Steel",
Industry::ThermalCoal => "Thermal Coal",
Industry::Uranium => "Uranium",
Industry::ApparelManufacturing => "Apparel Manufacturing",
Industry::ApparelRetail => "Apparel Retail",
Industry::AutoAndTruckDealerships => "Auto & Truck Dealerships",
Industry::AutoManufacturers => "Auto Manufacturers",
Industry::AutoParts => "Auto Parts",
Industry::BeveragesBrewers => "Beverages - Brewers",
Industry::BeveragesNonAlcoholic => "Beverages - Non-Alcoholic",
Industry::BeveragesWineriesAndDistilleries => "Beverages - Wineries & Distilleries",
Industry::Confectioners => "Confectioners",
Industry::DepartmentStores => "Department Stores",
Industry::DiscountStores => "Discount Stores",
Industry::ElectronicGamingAndMultimedia => "Electronic Gaming & Multimedia",
Industry::FoodDistribution => "Food Distribution",
Industry::FootwearAndAccessories => "Footwear & Accessories",
Industry::FurnishingsFixturesAndAppliances => "Furnishings, Fixtures & Appliances",
Industry::Gambling => "Gambling",
Industry::GroceryStores => "Grocery Stores",
Industry::HomeImprovementRetail => "Home Improvement Retail",
Industry::HouseholdAndPersonalProducts => "Household & Personal Products",
Industry::InternetRetail => "Internet Retail",
Industry::Leisure => "Leisure",
Industry::Lodging => "Lodging",
Industry::LuxuryGoods => "Luxury Goods",
Industry::PackagedFoods => "Packaged Foods",
Industry::PersonalServices => "Personal Services",
Industry::ResidentialConstruction => "Residential Construction",
Industry::ResortsAndCasinos => "Resorts & Casinos",
Industry::Restaurants => "Restaurants",
Industry::SpecialtyRetail => "Specialty Retail",
Industry::TextileManufacturing => "Textile Manufacturing",
Industry::Tobacco => "Tobacco",
Industry::TravelServices => "Travel Services",
Industry::OilAndGasDrilling => "Oil & Gas Drilling",
Industry::OilAndGasEAndP => "Oil & Gas E&P",
Industry::OilAndGasEquipmentAndServices => "Oil & Gas Equipment & Services",
Industry::OilAndGasIntegrated => "Oil & Gas Integrated",
Industry::OilAndGasMidstream => "Oil & Gas Midstream",
Industry::OilAndGasRefiningAndMarketing => "Oil & Gas Refining & Marketing",
Industry::Solar => "Solar",
Industry::AssetManagement => "Asset Management",
Industry::BanksDiversified => "Banks - Diversified",
Industry::BanksRegional => "Banks - Regional",
Industry::CapitalMarkets => "Capital Markets",
Industry::CreditServices => "Credit Services",
Industry::FinancialDataAndStockExchanges => "Financial Data & Stock Exchanges",
Industry::InsuranceBrokers => "Insurance Brokers",
Industry::InsuranceDiversified => "Insurance - Diversified",
Industry::InsuranceLife => "Insurance - Life",
Industry::InsurancePropertyAndCasualty => "Insurance - Property & Casualty",
Industry::InsuranceReinsurance => "Insurance - Reinsurance",
Industry::InsuranceSpecialty => "Insurance - Specialty",
Industry::MortgageFinance => "Mortgage Finance",
Industry::ShellCompanies => "Shell Companies",
Industry::Biotechnology => "Biotechnology",
Industry::DiagnosticsAndResearch => "Diagnostics & Research",
Industry::DrugManufacturersGeneral => "Drug Manufacturers - General",
Industry::DrugManufacturersSpecialtyAndGeneric => {
"Drug Manufacturers - Specialty & Generic"
}
Industry::HealthInformationServices => "Health Information Services",
Industry::HealthcarePlans => "Healthcare Plans",
Industry::MedicalCareFacilities => "Medical Care Facilities",
Industry::MedicalDevices => "Medical Devices",
Industry::MedicalDistribution => "Medical Distribution",
Industry::MedicalInstrumentsAndSupplies => "Medical Instruments & Supplies",
Industry::PharmaceuticalRetailers => "Pharmaceutical Retailers",
Industry::AerospaceAndDefense => "Aerospace & Defense",
Industry::BuildingMaterials => "Building Materials",
Industry::BuildingProductsAndEquipment => "Building Products & Equipment",
Industry::BusinessEquipmentAndSupplies => "Business Equipment & Supplies",
Industry::ChemicalManufacturing => "Chemical Manufacturing",
Industry::Chemicals => "Chemicals",
Industry::Conglomerates => "Conglomerates",
Industry::ConsultingServices => "Consulting Services",
Industry::ElectricalEquipmentAndParts => "Electrical Equipment & Parts",
Industry::EngineeringAndConstruction => "Engineering & Construction",
Industry::FarmAndHeavyConstructionMachinery => "Farm & Heavy Construction Machinery",
Industry::IndustrialDistribution => "Industrial Distribution",
Industry::InfrastructureOperations => "Infrastructure Operations",
Industry::IntegratedFreightAndLogistics => "Integrated Freight & Logistics",
Industry::ManufacturingDiversified => "Manufacturing - Diversified",
Industry::MarinePortsAndServices => "Marine Ports & Services",
Industry::MarineShipping => "Marine Shipping",
Industry::MetalFabrication => "Metal Fabrication",
Industry::PaperAndPaperProducts => "Paper & Paper Products",
Industry::PollutionAndTreatmentControls => "Pollution & Treatment Controls",
Industry::Railroads => "Railroads",
Industry::RentalAndLeasingServices => "Rental & Leasing Services",
Industry::SecurityAndProtectionServices => "Security & Protection Services",
Industry::SpecialtyBusinessServices => "Specialty Business Services",
Industry::SpecialtyChemicals => "Specialty Chemicals",
Industry::SpecialtyIndustrialMachinery => "Specialty Industrial Machinery",
Industry::StaffingAndEmploymentServices => "Staffing & Employment Services",
Industry::ToolsAndAccessories => "Tools & Accessories",
Industry::Trucking => "Trucking",
Industry::WasteManagement => "Waste Management",
Industry::RealEstateDevelopment => "Real Estate - Development",
Industry::RealEstateDiversified => "Real Estate - Diversified",
Industry::RealEstateServices => "Real Estate Services",
Industry::ReitDiversified => "REIT - Diversified",
Industry::ReitHealthcareFacilities => "REIT - Healthcare Facilities",
Industry::ReitHotelAndMotel => "REIT - Hotel & Motel",
Industry::ReitIndustrial => "REIT - Industrial",
Industry::ReitMortgage => "REIT - Mortgage",
Industry::ReitOffice => "REIT - Office",
Industry::ReitResidential => "REIT - Residential",
Industry::ReitRetail => "REIT - Retail",
Industry::ReitSpecialty => "REIT - Specialty",
Industry::CommunicationEquipment => "Communication Equipment",
Industry::ComputerHardware => "Computer Hardware",
Industry::ConsumerElectronics => "Consumer Electronics",
Industry::DataAnalytics => "Data Analytics",
Industry::ElectronicComponents => "Electronic Components",
Industry::ElectronicsAndComputerDistribution => "Electronics & Computer Distribution",
Industry::HardwareAndSoftwareDistribution => "Hardware & Software Distribution",
Industry::InformationTechnologyServices => "Information Technology Services",
Industry::InternetContentAndInformation => "Internet Content & Information",
Industry::ScientificAndTechnicalInstruments => "Scientific & Technical Instruments",
Industry::SemiconductorEquipmentAndMaterials => "Semiconductor Equipment & Materials",
Industry::Semiconductors => "Semiconductors",
Industry::SoftwareApplication => "Software - Application",
Industry::SoftwareInfrastructure => "Software - Infrastructure",
Industry::Broadcasting => "Broadcasting",
Industry::Entertainment => "Entertainment",
Industry::Publishing => "Publishing",
Industry::TelecomServices => "Telecom Services",
Industry::UtilitiesDiversified => "Utilities - Diversified",
Industry::UtilitiesIndependentPowerProducers => {
"Utilities - Independent Power Producers"
}
Industry::UtilitiesRegulatedElectric => "Utilities - Regulated Electric",
Industry::UtilitiesRegulatedGas => "Utilities - Regulated Gas",
Industry::UtilitiesRegulatedWater => "Utilities - Regulated Water",
Industry::UtilitiesRenewable => "Utilities - Renewable",
Industry::ClosedEndFundDebt => "Closed-End Fund - Debt",
Industry::ClosedEndFundEquity => "Closed-End Fund - Equity",
Industry::ClosedEndFundForeign => "Closed-End Fund - Foreign",
Industry::ExchangeTradedFund => "Exchange Traded Fund",
}
}
}
impl std::str::FromStr for Industry {
type Err = ();
fn from_str(s: &str) -> Result<Self, Self::Err> {
match s {
"agricultural-inputs" => Ok(Industry::AgriculturalInputs),
"aluminum" => Ok(Industry::Aluminum),
"coal" => Ok(Industry::Coal),
"copper" => Ok(Industry::Copper),
"farm-products" => Ok(Industry::FarmProducts),
"forest-products" => Ok(Industry::ForestProducts),
"gold" => Ok(Industry::Gold),
"lumber-wood-production" => Ok(Industry::LumberAndWoodProduction),
"other-industrial-metals-mining" => Ok(Industry::OtherIndustrialMetalsAndMining),
"other-precious-metals-mining" => Ok(Industry::OtherPreciousMetalsAndMining),
"silver" => Ok(Industry::Silver),
"steel" => Ok(Industry::Steel),
"thermal-coal" => Ok(Industry::ThermalCoal),
"uranium" => Ok(Industry::Uranium),
"apparel-manufacturing" => Ok(Industry::ApparelManufacturing),
"apparel-retail" => Ok(Industry::ApparelRetail),
"auto-truck-dealerships" => Ok(Industry::AutoAndTruckDealerships),
"auto-manufacturers" => Ok(Industry::AutoManufacturers),
"auto-parts" => Ok(Industry::AutoParts),
"beverages-brewers" => Ok(Industry::BeveragesBrewers),
"beverages-non-alcoholic" => Ok(Industry::BeveragesNonAlcoholic),
"beverages-wineries-distilleries" => Ok(Industry::BeveragesWineriesAndDistilleries),
"confectioners" => Ok(Industry::Confectioners),
"department-stores" => Ok(Industry::DepartmentStores),
"discount-stores" => Ok(Industry::DiscountStores),
"electronic-gaming-multimedia" => Ok(Industry::ElectronicGamingAndMultimedia),
"food-distribution" => Ok(Industry::FoodDistribution),
"footwear-accessories" => Ok(Industry::FootwearAndAccessories),
"furnishings-fixtures-appliances" => Ok(Industry::FurnishingsFixturesAndAppliances),
"gambling" => Ok(Industry::Gambling),
"grocery-stores" => Ok(Industry::GroceryStores),
"home-improvement-retail" => Ok(Industry::HomeImprovementRetail),
"household-personal-products" => Ok(Industry::HouseholdAndPersonalProducts),
"internet-retail" => Ok(Industry::InternetRetail),
"leisure" => Ok(Industry::Leisure),
"lodging" => Ok(Industry::Lodging),
"luxury-goods" => Ok(Industry::LuxuryGoods),
"packaged-foods" => Ok(Industry::PackagedFoods),
"personal-services" => Ok(Industry::PersonalServices),
"residential-construction" => Ok(Industry::ResidentialConstruction),
"resorts-casinos" => Ok(Industry::ResortsAndCasinos),
"restaurants" => Ok(Industry::Restaurants),
"specialty-retail" => Ok(Industry::SpecialtyRetail),
"textile-manufacturing" => Ok(Industry::TextileManufacturing),
"tobacco" => Ok(Industry::Tobacco),
"travel-services" => Ok(Industry::TravelServices),
"oil-gas-drilling" => Ok(Industry::OilAndGasDrilling),
"oil-gas-ep" => Ok(Industry::OilAndGasEAndP),
"oil-gas-equipment-services" => Ok(Industry::OilAndGasEquipmentAndServices),
"oil-gas-integrated" => Ok(Industry::OilAndGasIntegrated),
"oil-gas-midstream" => Ok(Industry::OilAndGasMidstream),
"oil-gas-refining-marketing" => Ok(Industry::OilAndGasRefiningAndMarketing),
"solar" => Ok(Industry::Solar),
"asset-management" => Ok(Industry::AssetManagement),
"banks-diversified" => Ok(Industry::BanksDiversified),
"banks-regional" => Ok(Industry::BanksRegional),
"capital-markets" => Ok(Industry::CapitalMarkets),
"credit-services" => Ok(Industry::CreditServices),
"financial-data-stock-exchanges" => Ok(Industry::FinancialDataAndStockExchanges),
"insurance-brokers" => Ok(Industry::InsuranceBrokers),
"insurance-diversified" => Ok(Industry::InsuranceDiversified),
"insurance-life" => Ok(Industry::InsuranceLife),
"insurance-property-casualty" => Ok(Industry::InsurancePropertyAndCasualty),
"insurance-reinsurance" => Ok(Industry::InsuranceReinsurance),
"insurance-specialty" => Ok(Industry::InsuranceSpecialty),
"mortgage-finance" => Ok(Industry::MortgageFinance),
"shell-companies" => Ok(Industry::ShellCompanies),
"biotechnology" => Ok(Industry::Biotechnology),
"diagnostics-research" => Ok(Industry::DiagnosticsAndResearch),
"drug-manufacturers-general" => Ok(Industry::DrugManufacturersGeneral),
"drug-manufacturers-specialty-generic" => {
Ok(Industry::DrugManufacturersSpecialtyAndGeneric)
}
"health-information-services" => Ok(Industry::HealthInformationServices),
"healthcare-plans" => Ok(Industry::HealthcarePlans),
"medical-care-facilities" => Ok(Industry::MedicalCareFacilities),
"medical-devices" => Ok(Industry::MedicalDevices),
"medical-distribution" => Ok(Industry::MedicalDistribution),
"medical-instruments-supplies" => Ok(Industry::MedicalInstrumentsAndSupplies),
"pharmaceutical-retailers" => Ok(Industry::PharmaceuticalRetailers),
"aerospace-defense" => Ok(Industry::AerospaceAndDefense),
"building-materials" => Ok(Industry::BuildingMaterials),
"building-products-equipment" => Ok(Industry::BuildingProductsAndEquipment),
"business-equipment-supplies" => Ok(Industry::BusinessEquipmentAndSupplies),
"chemical-manufacturing" => Ok(Industry::ChemicalManufacturing),
"chemicals" => Ok(Industry::Chemicals),
"conglomerates" => Ok(Industry::Conglomerates),
"consulting-services" => Ok(Industry::ConsultingServices),
"electrical-equipment-parts" => Ok(Industry::ElectricalEquipmentAndParts),
"engineering-construction" => Ok(Industry::EngineeringAndConstruction),
"farm-heavy-construction-machinery" => Ok(Industry::FarmAndHeavyConstructionMachinery),
"industrial-distribution" => Ok(Industry::IndustrialDistribution),
"infrastructure-operations" => Ok(Industry::InfrastructureOperations),
"integrated-freight-logistics" => Ok(Industry::IntegratedFreightAndLogistics),
"manufacturing-diversified" => Ok(Industry::ManufacturingDiversified),
"marine-ports-services" => Ok(Industry::MarinePortsAndServices),
"marine-shipping" => Ok(Industry::MarineShipping),
"metal-fabrication" => Ok(Industry::MetalFabrication),
"paper-paper-products" => Ok(Industry::PaperAndPaperProducts),
"pollution-treatment-controls" => Ok(Industry::PollutionAndTreatmentControls),
"railroads" => Ok(Industry::Railroads),
"rental-leasing-services" => Ok(Industry::RentalAndLeasingServices),
"security-protection-services" => Ok(Industry::SecurityAndProtectionServices),
"specialty-business-services" => Ok(Industry::SpecialtyBusinessServices),
"specialty-chemicals" => Ok(Industry::SpecialtyChemicals),
"specialty-industrial-machinery" => Ok(Industry::SpecialtyIndustrialMachinery),
"staffing-employment-services" => Ok(Industry::StaffingAndEmploymentServices),
"tools-accessories" => Ok(Industry::ToolsAndAccessories),
"trucking" => Ok(Industry::Trucking),
"waste-management" => Ok(Industry::WasteManagement),
"real-estate-development" => Ok(Industry::RealEstateDevelopment),
"real-estate-diversified" => Ok(Industry::RealEstateDiversified),
"real-estate-services" => Ok(Industry::RealEstateServices),
"reit-diversified" => Ok(Industry::ReitDiversified),
"reit-healthcare-facilities" => Ok(Industry::ReitHealthcareFacilities),
"reit-hotel-motel" => Ok(Industry::ReitHotelAndMotel),
"reit-industrial" => Ok(Industry::ReitIndustrial),
"reit-mortgage" => Ok(Industry::ReitMortgage),
"reit-office" => Ok(Industry::ReitOffice),
"reit-residential" => Ok(Industry::ReitResidential),
"reit-retail" => Ok(Industry::ReitRetail),
"reit-specialty" => Ok(Industry::ReitSpecialty),
"communication-equipment" => Ok(Industry::CommunicationEquipment),
"computer-hardware" => Ok(Industry::ComputerHardware),
"consumer-electronics" => Ok(Industry::ConsumerElectronics),
"data-analytics" => Ok(Industry::DataAnalytics),
"electronic-components" => Ok(Industry::ElectronicComponents),
"electronics-computer-distribution" => Ok(Industry::ElectronicsAndComputerDistribution),
"hardware-software-distribution" => Ok(Industry::HardwareAndSoftwareDistribution),
"information-technology-services" => Ok(Industry::InformationTechnologyServices),
"internet-content-information" => Ok(Industry::InternetContentAndInformation),
"scientific-technical-instruments" => Ok(Industry::ScientificAndTechnicalInstruments),
"semiconductor-equipment-materials" => Ok(Industry::SemiconductorEquipmentAndMaterials),
"semiconductors" => Ok(Industry::Semiconductors),
"software-application" => Ok(Industry::SoftwareApplication),
"software-infrastructure" => Ok(Industry::SoftwareInfrastructure),
"broadcasting" => Ok(Industry::Broadcasting),
"entertainment" => Ok(Industry::Entertainment),
"publishing" => Ok(Industry::Publishing),
"telecom-services" => Ok(Industry::TelecomServices),
"utilities-diversified" => Ok(Industry::UtilitiesDiversified),
"utilities-independent-power-producers" => {
Ok(Industry::UtilitiesIndependentPowerProducers)
}
"utilities-regulated-electric" => Ok(Industry::UtilitiesRegulatedElectric),
"utilities-regulated-gas" => Ok(Industry::UtilitiesRegulatedGas),
"utilities-regulated-water" => Ok(Industry::UtilitiesRegulatedWater),
"utilities-renewable" => Ok(Industry::UtilitiesRenewable),
"closed-end-fund-debt" => Ok(Industry::ClosedEndFundDebt),
"closed-end-fund-equity" => Ok(Industry::ClosedEndFundEquity),
"closed-end-fund-foreign" => Ok(Industry::ClosedEndFundForeign),
"exchange-traded-fund" => Ok(Industry::ExchangeTradedFund),
_ => Err(()),
}
}
}
impl AsRef<str> for Industry {
fn as_ref(&self) -> &str {
self.as_slug()
}
}
impl From<Industry> for String {
fn from(v: Industry) -> Self {
v.screener_value().to_string()
}
}