Documentation ¶
Overview ¶
Package gics TODO: write docs
Index ¶
- Constants
- type Group
- type GroupSet
- func (set GroupSet) Add(i Group) bool
- func (set GroupSet) Cardinality() int
- func (set *GroupSet) Clear()
- func (set GroupSet) Clone() GroupSet
- func (set GroupSet) Contains(i Group) bool
- func (set GroupSet) ContainsAll(i ...Group) bool
- func (set GroupSet) Difference(other GroupSet) GroupSet
- func (set GroupSet) Equal(other GroupSet) bool
- func (set GroupSet) Intersect(other GroupSet) GroupSet
- func (set GroupSet) IsSubset(other GroupSet) bool
- func (set GroupSet) IsSuperset(other GroupSet) bool
- func (set GroupSet) Iter() <-chan Group
- func (set GroupSet) Remove(i Group)
- func (set GroupSet) SymmetricDifference(other GroupSet) GroupSet
- func (set GroupSet) ToSlice() []Group
- func (set GroupSet) Union(other GroupSet) GroupSet
- type Industry
- type IndustrySet
- func (set IndustrySet) Add(i Industry) bool
- func (set IndustrySet) Cardinality() int
- func (set *IndustrySet) Clear()
- func (set IndustrySet) Clone() IndustrySet
- func (set IndustrySet) Contains(i Industry) bool
- func (set IndustrySet) ContainsAll(i ...Industry) bool
- func (set IndustrySet) Difference(other IndustrySet) IndustrySet
- func (set IndustrySet) Equal(other IndustrySet) bool
- func (set IndustrySet) Intersect(other IndustrySet) IndustrySet
- func (set IndustrySet) IsSubset(other IndustrySet) bool
- func (set IndustrySet) IsSuperset(other IndustrySet) bool
- func (set IndustrySet) Iter() <-chan Industry
- func (set IndustrySet) Remove(i Industry)
- func (set IndustrySet) SymmetricDifference(other IndustrySet) IndustrySet
- func (set IndustrySet) ToSlice() []Industry
- func (set IndustrySet) Union(other IndustrySet) IndustrySet
- type Sector
- type SectorSet
- func (set SectorSet) Add(i Sector) bool
- func (set SectorSet) Cardinality() int
- func (set *SectorSet) Clear()
- func (set SectorSet) Clone() SectorSet
- func (set SectorSet) Contains(i Sector) bool
- func (set SectorSet) ContainsAll(i ...Sector) bool
- func (set SectorSet) Difference(other SectorSet) SectorSet
- func (set SectorSet) Equal(other SectorSet) bool
- func (set SectorSet) Intersect(other SectorSet) SectorSet
- func (set SectorSet) IsSubset(other SectorSet) bool
- func (set SectorSet) IsSuperset(other SectorSet) bool
- func (set SectorSet) Iter() <-chan Sector
- func (set SectorSet) Remove(i Sector)
- func (set SectorSet) SymmetricDifference(other SectorSet) SectorSet
- func (set SectorSet) ToSlice() []Sector
- func (set SectorSet) Union(other SectorSet) SectorSet
- type SubIndustry
- type SubIndustrySet
- func (set SubIndustrySet) Add(i SubIndustry) bool
- func (set SubIndustrySet) Cardinality() int
- func (set *SubIndustrySet) Clear()
- func (set SubIndustrySet) Clone() SubIndustrySet
- func (set SubIndustrySet) Contains(i SubIndustry) bool
- func (set SubIndustrySet) ContainsAll(i ...SubIndustry) bool
- func (set SubIndustrySet) Difference(other SubIndustrySet) SubIndustrySet
- func (set SubIndustrySet) Equal(other SubIndustrySet) bool
- func (set SubIndustrySet) Intersect(other SubIndustrySet) SubIndustrySet
- func (set SubIndustrySet) IsSubset(other SubIndustrySet) bool
- func (set SubIndustrySet) IsSuperset(other SubIndustrySet) bool
- func (set SubIndustrySet) Iter() <-chan SubIndustry
- func (set SubIndustrySet) Remove(i SubIndustry)
- func (set SubIndustrySet) SymmetricDifference(other SubIndustrySet) SubIndustrySet
- func (set SubIndustrySet) ToSlice() []SubIndustry
- func (set SubIndustrySet) Union(other SubIndustrySet) SubIndustrySet
Constants ¶
const ( // SectorEnergy represents the Energy industry sector. SectorEnergy = 10 // SectorMaterials represents the Materials industry sector. SectorMaterials = 15 // SectorIndustrials represents the Industrials industry sector. SectorIndustrials = 20 // SectorConsumerDiscretionary represents the Consumer Discretionary industry sector. SectorConsumerDiscretionary = 25 // SectorConsumerStaples represents the Consumer Staples industry sector. SectorConsumerStaples = 30 // SectorHealthCare represents the Health Care industry sector. SectorHealthCare = 35 // SectorFinancials represents the Financials industry sector. SectorFinancials = 40 // SectorInformationTechnology represents the Information Technology industry sector. SectorInformationTechnology = 45 // SectorCommunicationServices represents the Communication Services industry sector. SectorCommunicationServices = 50 // SectorUtilities represents the Utilities industry sector. SectorUtilities = 55 // SectorRealEstate represents the Real Estate industry sector. SectorRealEstate = 60 )
industry sectors
const ( // GroupEnergy represents the Energy industry group. GroupEnergy = 1010 // GroupMaterials represents the Materials industry group. GroupMaterials = 1510 // GroupCapitalGoods represents the Capital Goods industry group. GroupCapitalGoods = 2010 // GroupCommercialAndProfessionalServices represents the Commercial & Professional Services industry group. GroupCommercialAndProfessionalServices = 2020 // GroupTransportation represents the Transportation industry group. GroupTransportation = 2030 // GroupAutomobilesAndComponents represents the Automobiles & Components industry group. GroupAutomobilesAndComponents = 2510 // GroupConsumerDurablesAndApparel represents the Consumer Durables & Apparel industry group. GroupConsumerDurablesAndApparel = 2520 // GroupConsumerServices represents the Consumer Services industry group. GroupConsumerServices = 2530 // GroupRetailing represents the Retailing industry group. GroupRetailing = 2550 // GroupFoodAndStaplesRetailing represents the Food & Staples Retailing industry group. GroupFoodAndStaplesRetailing = 3010 // GroupFoodBeverageAndTobacco represents the Food, Beverage & Tobacco industry group. GroupFoodBeverageAndTobacco = 3020 // GroupHouseholdAndPersonalProducts represents the Household & Personal Products industry group. GroupHouseholdAndPersonalProducts = 3030 // GroupHealthCareEquipmentAndServices represents the Health Care Equipment & Services industry group. GroupHealthCareEquipmentAndServices = 3510 // GroupPharmaceuticalsBiotechnologyAndLifeSciences represents the Pharmaceuticals, Biotechnology & Life Sciences industry group. GroupPharmaceuticalsBiotechnologyAndLifeSciences = 3520 // GroupBanks represents the Banks industry group. GroupBanks = 4010 // GroupDiversifiedFinancials represents the Diversified Financials industry group. GroupDiversifiedFinancials = 4020 // GroupInsurance represents the Insurance industry group. GroupInsurance = 4030 // GroupSoftwareAndServices represents the Software & Services industry group. GroupSoftwareAndServices = 4510 // GroupTechnologyHardwareAndEquipment represents the Technology Hardware & Equipment industry group. GroupTechnologyHardwareAndEquipment = 4520 // GroupSemiconductorsAndSemiconductorEquipment represents the Semiconductors & Semiconductor Equipment industry group. GroupSemiconductorsAndSemiconductorEquipment = 4530 // GroupTelecommunicationServices represents the Telecommunication Services industry group. GroupTelecommunicationServices = 5010 // GroupMediaAndEntertainment represents the Media & Entertainment industry group. GroupMediaAndEntertainment = 5020 // GroupUtilities represents the Utilities industry group. GroupUtilities = 5510 // GroupRealEstate represents the Real Estate industry group. GroupRealEstate = 6010 )
industry groups
const ( // IndustryEnergyEquipmentAndServices represents the Energy Equipment & Services industry. IndustryEnergyEquipmentAndServices = 101010 // IndustryOilGasAndConsumableFuels represents the Oil, Gas & Consumable Fuels industry. IndustryOilGasAndConsumableFuels = 101020 // IndustryChemicals represents the Chemicals industry. IndustryChemicals = 151010 // IndustryConstructionMaterials represents the Construction Materials industry. IndustryConstructionMaterials = 151020 // IndustryContainersAndPackaging represents the Containers & Packaging industry. IndustryContainersAndPackaging = 151030 // IndustryMetalsAndMining represents the Metals & Mining industry. IndustryMetalsAndMining = 151040 // IndustryPaperAndForestProducts represents the Paper & Forest Products industry. IndustryPaperAndForestProducts = 151050 // IndustryAerospaceAndDefense represents the Aerospace & Defense industry. IndustryAerospaceAndDefense = 201010 // IndustryBuildingProducts represents the Building Products industry. IndustryBuildingProducts = 201020 // IndustryConstructionAndEngineering represents the Construction & Engineering industry. IndustryConstructionAndEngineering = 201030 // IndustryElectricalEquipment represents the Electrical Equipment industry. IndustryElectricalEquipment = 201040 // IndustryIndustrialConglomerates represents the Industrial Conglomerates industry. IndustryIndustrialConglomerates = 201050 // IndustryMachinery represents the Machinery industry. IndustryMachinery = 201060 // IndustryTradingCompaniesAndDistributors represents the Trading Companies & Distributors industry. IndustryTradingCompaniesAndDistributors = 201070 // IndustryCommercialServicesAndSupplies represents the Commercial Services & Supplies industry. IndustryCommercialServicesAndSupplies = 202010 // IndustryProfessionalServices represents the Professional Services industry. IndustryProfessionalServices = 202020 // IndustryAirFreightAndLogistics represents the Air Freight & Logistics industry. IndustryAirFreightAndLogistics = 203010 // IndustryAirlines represents the Airlines industry. IndustryAirlines = 203020 // IndustryMarine represents the Marine industry. IndustryMarine = 203030 // IndustryRoadAndRail represents the Road & Rail industry. IndustryRoadAndRail = 203040 // IndustryTransportationInfrastructure represents the Transportation Infrastructure industry. IndustryTransportationInfrastructure = 203050 // IndustryAutoComponents represents the Auto Components industry. IndustryAutoComponents = 251010 // IndustryAutomobiles represents the Automobiles industry. IndustryAutomobiles = 251020 // IndustryHouseholdDurables represents the Household Durables industry. IndustryHouseholdDurables = 252010 // IndustryLeisureProducts represents the Leisure Products industry. IndustryLeisureProducts = 252020 // IndustryTextilesApparelAndLuxuryGoods represents the Textiles, Apparel & Luxury Goods industry. IndustryTextilesApparelAndLuxuryGoods = 252030 // IndustryHotelsRestaurantsAndLeisure represents the Hotels, Restaurants & Leisure industry. IndustryHotelsRestaurantsAndLeisure = 253010 // IndustryDiversifiedConsumerServices represents the Diversified Consumer Services industry. IndustryDiversifiedConsumerServices = 253020 // IndustryDistributors represents the Distributors industry. IndustryDistributors = 255010 // IndustryInternetAndDirectMarketingRetail represents the Internet & Direct Marketing Retail industry. IndustryInternetAndDirectMarketingRetail = 255020 // IndustryMultilineRetail represents the Multiline Retail industry. IndustryMultilineRetail = 255030 // IndustrySpecialtyRetail represents the Specialty Retail industry. IndustrySpecialtyRetail = 255040 // IndustryFoodAndStaplesRetailing represents the Food & Staples Retailing industry. IndustryFoodAndStaplesRetailing = 301010 // IndustryBeverages represents the Beverages industry. IndustryBeverages = 302010 // IndustryFoodProducts represents the Food Products industry. IndustryFoodProducts = 302020 // IndustryTobacco represents the Tobacco industry. IndustryTobacco = 302030 // IndustryHouseholdProducts represents the Household Products industry. IndustryHouseholdProducts = 303010 // IndustryPersonalProducts represents the Personal Products industry. IndustryPersonalProducts = 303020 // IndustryHealthCareEquipmentAndSupplies represents the Health Care Equipment & Supplies industry. IndustryHealthCareEquipmentAndSupplies = 351010 // IndustryHealthCareProvidersAndServices represents the Health Care Providers & Services industry. IndustryHealthCareProvidersAndServices = 351020 // IndustryHealthCareTechnology represents the Health Care Technology industry. IndustryHealthCareTechnology = 351030 // IndustryBiotechnology represents the Biotechnology industry. IndustryBiotechnology = 352010 // IndustryPharmaceuticals represents the Pharmaceuticals industry. IndustryPharmaceuticals = 352020 // IndustryLifeSciencesToolsAndServices represents the Life Sciences Tools & Services industry. IndustryLifeSciencesToolsAndServices = 352030 // IndustryBanks represents the Banks industry. IndustryBanks = 401010 // IndustryThriftsAndMortgageFinance represents the Thrifts & Mortgage Finance industry. IndustryThriftsAndMortgageFinance = 401020 // IndustryDiversifiedFinancialServices represents the Diversified Financial Services industry. IndustryDiversifiedFinancialServices = 402010 // IndustryConsumerFinance represents the Consumer Finance industry. IndustryConsumerFinance = 402020 // IndustryCapitalMarkets represents the Capital Markets industry. IndustryCapitalMarkets = 402030 // IndustryMortgageRealEstateInvestmentTrustsREITs represents the Mortgage Real Estate Investment Trusts (REITs) industry. IndustryMortgageRealEstateInvestmentTrustsREITs = 402040 // IndustryInsurance represents the Insurance industry. IndustryInsurance = 403010 // IndustryITServices represents the IT Services industry. IndustryITServices = 451020 // IndustrySoftware represents the Software industry. IndustrySoftware = 451030 // IndustryCommunicationsEquipment represents the Communications Equipment industry. IndustryCommunicationsEquipment = 452010 // IndustryTechnologyHardwareStorageAndPeripherals represents the Technology Hardware, Storage & Peripherals industry. IndustryTechnologyHardwareStorageAndPeripherals = 452020 // IndustryElectronicEquipmentInstrumentsAndComponents represents the Electronic Equipment, Instruments & Components industry. IndustryElectronicEquipmentInstrumentsAndComponents = 452030 // IndustrySemiconductorsAndSemiconductorEquipment represents the Semiconductors & Semiconductor Equipment industry. IndustrySemiconductorsAndSemiconductorEquipment = 453010 // IndustryDiversifiedTelecommunicationServices represents the Diversified Telecommunication Services industry. IndustryDiversifiedTelecommunicationServices = 501010 // IndustryWirelessTelecommunicationServices represents the Wireless Telecommunication Services industry. IndustryWirelessTelecommunicationServices = 501020 // IndustryMedia represents the Media industry. IndustryMedia = 502010 // IndustryEntertainment represents the Entertainment industry. IndustryEntertainment = 502020 // IndustryInteractiveMediaAndServices represents the Interactive Media & Services industry. IndustryInteractiveMediaAndServices = 502030 // IndustryElectricUtilities represents the Electric Utilities industry. IndustryElectricUtilities = 551010 // IndustryGasUtilities represents the Gas Utilities industry. IndustryGasUtilities = 551020 // IndustryMultiUtilities represents the Multi-Utilities industry. IndustryMultiUtilities = 551030 // IndustryWaterUtilities represents the Water Utilities industry. IndustryWaterUtilities = 551040 // IndustryIndependentPowerandRenewableElectricityProducers represents the Independent Power and Renewable Electricity Producers industry. IndustryIndependentPowerandRenewableElectricityProducers = 551050 // IndustryEquityRealEstateInvestmentTrustsREITs represents the Equity Real Estate Investment Trusts (REITs) industry. IndustryEquityRealEstateInvestmentTrustsREITs = 601010 // IndustryRealEstateManagementAndDevelopment represents the Real Estate Management & Development industry. IndustryRealEstateManagementAndDevelopment = 601020 )
industries
const ( // SubIndustryOilAndGasDrilling represents the Oil & Gas Drilling sub-industry. SubIndustryOilAndGasDrilling = 10101010 // SubIndustryOilAndGasEquipmentAndServices represents the Oil & Gas Equipment & Services sub-industry. SubIndustryOilAndGasEquipmentAndServices = 10101020 // SubIndustryIntegratedOilAndGas represents the Integrated Oil & Gas sub-industry. SubIndustryIntegratedOilAndGas = 10102010 // SubIndustryOilAndGasExplorationAndProduction represents the Oil & Gas Exploration & Production sub-industry. SubIndustryOilAndGasExplorationAndProduction = 10102020 // SubIndustryOilAndGasRefiningAndMarketing represents the Oil & Gas Refining & Marketing sub-industry. SubIndustryOilAndGasRefiningAndMarketing = 10102030 // SubIndustryOilAndGasStorageAndTransportation represents the Oil & Gas Storage & Transportation sub-industry. SubIndustryOilAndGasStorageAndTransportation = 10102040 // SubIndustryCoalAndConsumableFuels represents the Coal & Consumable Fuels sub-industry. SubIndustryCoalAndConsumableFuels = 10102050 // SubIndustryCommodityChemicals represents the Commodity Chemicals sub-industry. SubIndustryCommodityChemicals = 15101010 // SubIndustryDiversifiedChemicals represents the Diversified Chemicals sub-industry. SubIndustryDiversifiedChemicals = 15101020 // SubIndustryFertilizersAndAgriculturalChemicals represents the Fertilizers & Agricultural Chemicals sub-industry. SubIndustryFertilizersAndAgriculturalChemicals = 15101030 // SubIndustryIndustrialGases represents the Industrial Gases sub-industry. SubIndustryIndustrialGases = 15101040 // SubIndustrySpecialtyChemicals represents the Specialty Chemicals sub-industry. SubIndustrySpecialtyChemicals = 15101050 // SubIndustryConstructionMaterials represents the Construction Materials sub-industry. SubIndustryConstructionMaterials = 15102010 // SubIndustryMetalAndGlassContainers represents the Metal & Glass Containers sub-industry. SubIndustryMetalAndGlassContainers = 15103010 // SubIndustryPaperPackaging represents the Paper Packaging sub-industry. SubIndustryPaperPackaging = 15103020 // SubIndustryAluminum represents the Aluminum sub-industry. SubIndustryAluminum = 15104010 // SubIndustryDiversifiedMetalsAndMining represents the Diversified Metals & Mining sub-industry. SubIndustryDiversifiedMetalsAndMining = 15104020 // SubIndustryCopper represents the Copper sub-industry. SubIndustryCopper = 15104025 // SubIndustryGold represents the Gold sub-industry. SubIndustryGold = 15104030 // SubIndustryPreciousMetalsAndMinerals represents the Precious Metals & Minerals sub-industry. SubIndustryPreciousMetalsAndMinerals = 15104040 // SubIndustrySilver represents the Silver sub-industry. SubIndustrySilver = 15104045 // SubIndustrySteel represents the Steel sub-industry. SubIndustrySteel = 15104050 // SubIndustryForestProducts represents the Forest Products sub-industry. SubIndustryForestProducts = 15105010 // SubIndustryPaperProducts represents the Paper Products sub-industry. SubIndustryPaperProducts = 15105020 // SubIndustryAerospaceAndDefense represents the Aerospace & Defense sub-industry. SubIndustryAerospaceAndDefense = 20101010 // SubIndustryBuildingProducts represents the Building Products sub-industry. SubIndustryBuildingProducts = 20102010 // SubIndustryConstructionAndEngineering represents the Construction & Engineering sub-industry. SubIndustryConstructionAndEngineering = 20103010 // SubIndustryElectricalComponentsAndEquipment represents the Electrical Components & Equipment sub-industry. SubIndustryElectricalComponentsAndEquipment = 20104010 // SubIndustryHeavyElectricalEquipment represents the Heavy Electrical Equipment sub-industry. SubIndustryHeavyElectricalEquipment = 20104020 // SubIndustryIndustrialConglomerates represents the Industrial Conglomerates sub-industry. SubIndustryIndustrialConglomerates = 20105010 // SubIndustryConstructionMachineryAndHeavyTrucks represents the Construction Machinery & Heavy Trucks sub-industry. SubIndustryConstructionMachineryAndHeavyTrucks = 20106010 // SubIndustryAgriculturalAndFarmMachinery represents the Agricultural & Farm Machinery sub-industry. SubIndustryAgriculturalAndFarmMachinery = 20106015 // SubIndustryIndustrialMachinery represents the Industrial Machinery sub-industry. SubIndustryIndustrialMachinery = 20106020 // SubIndustryTradingCompaniesAndDistributors represents the Trading Companies & Distributors sub-industry. SubIndustryTradingCompaniesAndDistributors = 20107010 // SubIndustryCommercialPrinting represents the Commercial Printing sub-industry. SubIndustryCommercialPrinting = 20201010 // SubIndustryEnvironmentalAndFacilitiesServices represents the Environmental & Facilities Services sub-industry. SubIndustryEnvironmentalAndFacilitiesServices = 20201050 // SubIndustryOfficeServicesAndSupplies represents the Office Services & Supplies sub-industry. SubIndustryOfficeServicesAndSupplies = 20201060 // SubIndustryDiversifiedSupportServices represents the Diversified Support Services sub-industry. SubIndustryDiversifiedSupportServices = 20201070 // SubIndustrySecurityAndAlarmServices represents the Security & Alarm Services sub-industry. SubIndustrySecurityAndAlarmServices = 20201080 // SubIndustryHumanResourceAndEmploymentServices represents the Human Resource & Employment Services sub-industry. SubIndustryHumanResourceAndEmploymentServices = 20202010 // SubIndustryResearchAndConsultingServices represents the Research & Consulting Services sub-industry. SubIndustryResearchAndConsultingServices = 20202020 // SubIndustryAirFreightAndLogistics represents the Air Freight & Logistics sub-industry. SubIndustryAirFreightAndLogistics = 20301010 // SubIndustryAirlines represents the Airlines sub-industry. SubIndustryAirlines = 20302010 // SubIndustryMarine represents the Marine sub-industry. SubIndustryMarine = 20303010 // SubIndustryRailroads represents the Railroads sub-industry. SubIndustryRailroads = 20304010 // SubIndustryTrucking represents the Trucking sub-industry. SubIndustryTrucking = 20304020 // SubIndustryAirportServices represents the Airport Services sub-industry. SubIndustryAirportServices = 20305010 // SubIndustryHighwaysAndRailtracks represents the Highways & Railtracks sub-industry. SubIndustryHighwaysAndRailtracks = 20305020 // SubIndustryMarinePortsAndServices represents the Marine Ports & Services sub-industry. SubIndustryMarinePortsAndServices = 20305030 // SubIndustryAutoPartsAndEquipment represents the Auto Parts & Equipment sub-industry. SubIndustryAutoPartsAndEquipment = 25101010 // SubIndustryTiresAndRubber represents the Tires & Rubber sub-industry. SubIndustryTiresAndRubber = 25101020 // SubIndustryAutomobileManufacturers represents the Automobile Manufacturers sub-industry. SubIndustryAutomobileManufacturers = 25102010 // SubIndustryMotorcycleManufacturers represents the Motorcycle Manufacturers sub-industry. SubIndustryMotorcycleManufacturers = 25102020 // SubIndustryConsumerElectronics represents the Consumer Electronics sub-industry. SubIndustryConsumerElectronics = 25201010 // SubIndustryHomeFurnishings represents the Home Furnishings sub-industry. SubIndustryHomeFurnishings = 25201020 // SubIndustryHomebuilding represents the Homebuilding sub-industry. SubIndustryHomebuilding = 25201030 // SubIndustryHouseholdAppliances represents the Household Appliances sub-industry. SubIndustryHouseholdAppliances = 25201040 // SubIndustryHousewaresAndSpecialties represents the Housewares & Specialties sub-industry. SubIndustryHousewaresAndSpecialties = 25201050 // SubIndustryLeisureProducts represents the Leisure Products sub-industry. SubIndustryLeisureProducts = 25202010 // SubIndustryApparelAccessoriesAndLuxuryGoods represents the Apparel, Accessories & Luxury Goods sub-industry. SubIndustryApparelAccessoriesAndLuxuryGoods = 25203010 // SubIndustryFootwear represents the Footwear sub-industry. SubIndustryFootwear = 25203020 // SubIndustryTextiles represents the Textiles sub-industry. SubIndustryTextiles = 25203030 // SubIndustryCasinosAndGaming represents the Casinos & Gaming sub-industry. SubIndustryCasinosAndGaming = 25301010 // SubIndustryHotelsResortsAndCruiseLines represents the Hotels, Resorts & Cruise Lines sub-industry. SubIndustryHotelsResortsAndCruiseLines = 25301020 // SubIndustryLeisureFacilities represents the Leisure Facilities sub-industry. SubIndustryLeisureFacilities = 25301030 // SubIndustryRestaurants represents the Restaurants sub-industry. SubIndustryRestaurants = 25301040 // SubIndustryEducationServices represents the Education Services sub-industry. SubIndustryEducationServices = 25302010 // SubIndustrySpecializedConsumerServices represents the Specialized Consumer Services sub-industry. SubIndustrySpecializedConsumerServices = 25302020 // SubIndustryDistributors represents the Distributors sub-industry. SubIndustryDistributors = 25501010 // SubIndustryInternetAndDirectMarketingRetail represents the Internet & Direct Marketing Retail sub-industry. SubIndustryInternetAndDirectMarketingRetail = 25502020 // SubIndustryDepartmentStores represents the Department Stores sub-industry. SubIndustryDepartmentStores = 25503010 // SubIndustryGeneralMerchandiseStores represents the General Merchandise Stores sub-industry. SubIndustryGeneralMerchandiseStores = 25503020 // SubIndustryApparelRetail represents the Apparel Retail sub-industry. SubIndustryApparelRetail = 25504010 // SubIndustryComputerAndElectronicsRetail represents the Computer &Electronics Retail sub-industry. SubIndustryComputerAndElectronicsRetail = 25504020 // SubIndustryHomeImprovementRetail represents the Home Improvement Retail sub-industry. SubIndustryHomeImprovementRetail = 25504030 // SubIndustrySpecialtyStores represents the Specialty Stores sub-industry. SubIndustrySpecialtyStores = 25504040 // SubIndustryAutomotiveRetail represents the Automotive Retail sub-industry. SubIndustryAutomotiveRetail = 25504050 // SubIndustryHomefurnishingRetail represents the Homefurnishing Retail sub-industry. SubIndustryHomefurnishingRetail = 25504060 // SubIndustryDrugRetail represents the Drug Retail sub-industry. SubIndustryDrugRetail = 30101010 // SubIndustryFoodDistributors represents the Food Distributors sub-industry. SubIndustryFoodDistributors = 30101020 // SubIndustryFoodRetail represents the Food Retail sub-industry. SubIndustryFoodRetail = 30101030 // SubIndustryHypermarketsAndSuperCenters represents the Hypermarkets & Super Centers sub-industry. SubIndustryHypermarketsAndSuperCenters = 30101040 // SubIndustryBrewers represents the Brewers sub-industry. SubIndustryBrewers = 30201010 // SubIndustryDistillersAndVintners represents the Distillers & Vintners sub-industry. SubIndustryDistillersAndVintners = 30201020 // SubIndustrySoftDrinks represents the Soft Drinks sub-industry. SubIndustrySoftDrinks = 30201030 // SubIndustryAgriculturalProducts represents the Agricultural Products sub-industry. SubIndustryAgriculturalProducts = 30202010 // SubIndustryPackagedFoodsAndMeats represents the Packaged Foods & Meats sub-industry. SubIndustryPackagedFoodsAndMeats = 30202030 // SubIndustryTobacco represents the Tobacco sub-industry. SubIndustryTobacco = 30203010 // SubIndustryHouseholdProducts represents the Household Products sub-industry. SubIndustryHouseholdProducts = 30301010 // SubIndustryPersonalProducts represents the Personal Products sub-industry. SubIndustryPersonalProducts = 30302010 // SubIndustryHealthCareEquipment represents the Health Care Equipment sub-industry. SubIndustryHealthCareEquipment = 35101010 // SubIndustryHealthCareSupplies represents the Health Care Supplies sub-industry. SubIndustryHealthCareSupplies = 35101020 // SubIndustryHealthCareDistributors represents the Health Care Distributors sub-industry. SubIndustryHealthCareDistributors = 35102010 // SubIndustryHealthCareServices represents the Health Care Services sub-industry. SubIndustryHealthCareServices = 35102015 // SubIndustryHealthCareFacilities represents the Health Care Facilities sub-industry. SubIndustryHealthCareFacilities = 35102020 // SubIndustryManagedHealthCare represents the Managed Health Care sub-industry. SubIndustryManagedHealthCare = 35102030 // SubIndustryHealthCareTechnology represents the Health Care Technology sub-industry. SubIndustryHealthCareTechnology = 35103010 // SubIndustryBiotechnology represents the Biotechnology sub-industry. SubIndustryBiotechnology = 35201010 // SubIndustryPharmaceuticals represents the Pharmaceuticals sub-industry. SubIndustryPharmaceuticals = 35202010 // SubIndustryLifeSciencesToolsAndServices represents the Life Sciences Tools & Services sub-industry. SubIndustryLifeSciencesToolsAndServices = 35203010 // SubIndustryDiversifiedBanks represents the Diversified Banks sub-industry. SubIndustryDiversifiedBanks = 40101010 // SubIndustryRegionalBanks represents the Regional Banks sub-industry. SubIndustryRegionalBanks = 40101015 // SubIndustryThriftsAndMortgageFinance represents the Thrifts & Mortgage Finance sub-industry. SubIndustryThriftsAndMortgageFinance = 40102010 // SubIndustryOtherDiversifiedFinancialServices represents the Other Diversified Financial Services sub-industry. SubIndustryOtherDiversifiedFinancialServices = 40201020 // SubIndustryMultiSectorHoldings represents the Multi-Sector Holdings sub-industry. SubIndustryMultiSectorHoldings = 40201030 // SubIndustrySpecializedFinance represents the Specialized Finance sub-industry. SubIndustrySpecializedFinance = 40201040 // SubIndustryConsumerFinance represents the Consumer Finance sub-industry. SubIndustryConsumerFinance = 40202010 // SubIndustryAssetManagementAndCustodyBanks represents the Asset Management & Custody Banks sub-industry. SubIndustryAssetManagementAndCustodyBanks = 40203010 // SubIndustryInvestmentBankingAndBrokerage represents the Investment Banking & Brokerage sub-industry. SubIndustryInvestmentBankingAndBrokerage = 40203020 // SubIndustryDiversifiedCapitalMarkets represents the Diversified Capital Markets sub-industry. SubIndustryDiversifiedCapitalMarkets = 40203030 // SubIndustryFinancialExchangesAndData represents the Financial Exchanges & Data sub-industry. SubIndustryFinancialExchangesAndData = 40203040 // SubIndustryMortgageREITs represents the Mortgage REITs sub-industry. SubIndustryMortgageREITs = 40204010 // SubIndustryInsuranceBrokers represents the Insurance Brokers sub-industry. SubIndustryInsuranceBrokers = 40301010 // SubIndustryLifeAndHealthInsurance represents the Life & Health Insurance sub-industry. SubIndustryLifeAndHealthInsurance = 40301020 // SubIndustryMultilineInsurance represents the Multi-line Insurance sub-industry. SubIndustryMultilineInsurance = 40301030 // SubIndustryPropertyAndCasualtyInsurance represents the Property & Casualty Insurance sub-industry. SubIndustryPropertyAndCasualtyInsurance = 40301040 // SubIndustryReinsurance represents the Reinsurance sub-industry. SubIndustryReinsurance = 40301050 // SubIndustryITConsultingAndOtherServices represents the IT Consulting & Other Services sub-industry. SubIndustryITConsultingAndOtherServices = 45102010 // SubIndustryDataProcessingAndOutsourcedServices represents the Data Processing & Outsourced Services sub-industry. SubIndustryDataProcessingAndOutsourcedServices = 45102020 // SubIndustryInternetServicesAndInfrastructure represents the Internet Services & Infrastructure sub-industry. SubIndustryInternetServicesAndInfrastructure = 45102030 // SubIndustryApplicationSoftware represents the Application Software sub-industry. SubIndustryApplicationSoftware = 45103010 // SubIndustrySystemsSoftware represents the Systems Software sub-industry. SubIndustrySystemsSoftware = 45103020 // SubIndustryCommunicationsEquipment represents the Communications Equipment sub-industry. SubIndustryCommunicationsEquipment = 45201020 // SubIndustryTechnologyHardwareStorageAndPeripherals represents the Technology Hardware, Storage & Peripherals sub-industry. SubIndustryTechnologyHardwareStorageAndPeripherals = 45202030 // SubIndustryElectronicEquipmentAndInstruments represents the Electronic Equipment & Instruments sub-industry. SubIndustryElectronicEquipmentAndInstruments = 45203010 // SubIndustryElectronicComponents represents the Electronic Components sub-industry. SubIndustryElectronicComponents = 45203015 // SubIndustryElectronicManufacturingServices represents the Electronic Manufacturing Services sub-industry. SubIndustryElectronicManufacturingServices = 45203020 // SubIndustryTechnologyDistributors represents the Technology Distributors sub-industry. SubIndustryTechnologyDistributors = 45203030 // SubIndustrySemiconductorEquipment represents the Semiconductor Equipment sub-industry. SubIndustrySemiconductorEquipment = 45301010 // SubIndustrySemiconductors represents the Semiconductors sub-industry. SubIndustrySemiconductors = 45301020 // SubIndustryAlternativeCarriers represents the Alternative Carriers sub-industry. SubIndustryAlternativeCarriers = 50101010 // SubIndustryIntegratedTelecommunicationServices represents the Integrated Telecommunication Services sub-industry. SubIndustryIntegratedTelecommunicationServices = 50101020 // SubIndustryWirelessTelecommunicationServices represents the Wireless Telecommunication Services sub-industry. SubIndustryWirelessTelecommunicationServices = 50102010 // SubIndustryAdvertising represents the Advertising sub-industry. SubIndustryAdvertising = 50201010 // SubIndustryBroadcasting represents the Broadcasting sub-industry. SubIndustryBroadcasting = 50201020 // SubIndustryCableAndSatellite represents the Cable &Satellite sub-industry. SubIndustryCableAndSatellite = 50201030 // SubIndustryPublishing represents the Publishing sub-industry. SubIndustryPublishing = 50201040 // SubIndustryMoviesAndEntertainment represents the Movies & Entertainment sub-industry. SubIndustryMoviesAndEntertainment = 50202010 // SubIndustryInteractiveHomeEntertainment represents the Interactive Home Entertainment sub-industry. SubIndustryInteractiveHomeEntertainment = 50202020 // SubIndustryInteractiveMediaAndServices represents the Interactive Media & Services sub-industry. SubIndustryInteractiveMediaAndServices = 50203010 // SubIndustryElectricUtilities represents the Electric Utilities sub-industry. SubIndustryElectricUtilities = 55101010 // SubIndustryGasUtilities represents the Gas Utilities sub-industry. SubIndustryGasUtilities = 55102010 // SubIndustryMultiUtilities represents the Multi-Utilities sub-industry. SubIndustryMultiUtilities = 55103010 // SubIndustryWaterUtilities represents the Water Utilities sub-industry. SubIndustryWaterUtilities = 55104010 // SubIndustryIndependentPowerProducersAndEnergyTraders represents the Independent Power Producers & Energy Traders sub-industry. SubIndustryIndependentPowerProducersAndEnergyTraders = 55105010 // SubIndustryRenewableElectricity represents the Renewable Electricity sub-industry. SubIndustryRenewableElectricity = 55105020 // SubIndustryDiversifiedREITs represents the Diversified REITs sub-industry. SubIndustryDiversifiedREITs = 60101010 // SubIndustryIndustrialREITs represents the Industrial REITs sub-industry. SubIndustryIndustrialREITs = 60101020 // SubIndustryHotelAndResortREITs represents the Hotel & Resort REITs sub-industry. SubIndustryHotelAndResortREITs = 60101030 // SubIndustryOfficeREITs represents the Office REITs sub-industry. SubIndustryOfficeREITs = 60101040 // SubIndustryHealthCareREITs represents the Health Care REITs sub-industry. SubIndustryHealthCareREITs = 60101050 // SubIndustryResidentialREITs represents the Residential REITs sub-industry. SubIndustryResidentialREITs = 60101060 // SubIndustryRetailREITs represents the Retail REITs sub-industry. SubIndustryRetailREITs = 60101070 // SubIndustrySpecializedREITs represents the Specialized REITs sub-industry. SubIndustrySpecializedREITs = 60101080 // SubIndustryDiversifiedRealEstateActivities represents the Diversified Real Estate Activities sub-industry. SubIndustryDiversifiedRealEstateActivities = 60102010 // SubIndustryRealEstateOperatingCompanies represents the Real Estate Operating Companies sub-industry. SubIndustryRealEstateOperatingCompanies = 60102020 // SubIndustryRealEstateDevelopment represents the Real Estate Development sub-industry. SubIndustryRealEstateDevelopment = 60102030 // SubIndustryRealEstateServices represents the Real Estate Services sub-industry. SubIndustryRealEstateServices = 60102040 )
sub-industries
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group uint16
Group represents an industry group.
func ParseGroup ¶
ParseGroup returns the industry `Group` corresponding to a string. Returns an invalid `Group` if no such `Group` exists.
func (Group) Industries ¶
func (g Group) Industries() IndustrySet
Industries returns all `Industry`s belonging to this `Group`.
func (Group) SubIndustries ¶
func (g Group) SubIndustries() SubIndustrySet
SubIndustries returns all `SubIndustry`s belonging to this `Group`.
type GroupSet ¶
type GroupSet map[Group]struct{}
GroupSet is the primary type that represents a set
func NewGroupSet ¶
NewGroupSet creates and returns a reference to an empty set.
func (GroupSet) Cardinality ¶
Cardinality returns how many items are currently in the set.
func (*GroupSet) Clear ¶
func (set *GroupSet) Clear()
Clear clears the entire set to be the empty set.
func (GroupSet) ContainsAll ¶
ContainsAll determines if the given items are all in the set
func (GroupSet) Difference ¶
Difference returns a new set with items in the current set but not in the other set
func (GroupSet) Equal ¶
Equal determines if two sets are equal to each other. If they both are the same size and have the same items they are considered equal. Order of items is not relevent for sets to be equal.
func (GroupSet) IsSuperset ¶
IsSuperset determines if every item of this set is in the other set.
func (GroupSet) SymmetricDifference ¶
SymmetricDifference returns a new set with items in the current set or the other set but not in both.
type Industry ¶
type Industry uint32
Industry represents an industry.
func ParseIndustry ¶
ParseIndustry returns the `Industry` corresponding to a string. Returns an invalid `Industry` if no such `Industry` exists.
func (Industry) SubIndustries ¶
func (i Industry) SubIndustries() SubIndustrySet
SubIndustries returns all `SubIndustry`s belonging to this `Industry`.
type IndustrySet ¶
type IndustrySet map[Industry]struct{}
IndustrySet is the primary type that represents a set
func Industries ¶
func Industries() IndustrySet
Industries returns a `IndustrySet` containing all `Industry`s.
func NewIndustrySet ¶
func NewIndustrySet(a ...Industry) IndustrySet
NewIndustrySet creates and returns a reference to an empty set.
func (IndustrySet) Add ¶
func (set IndustrySet) Add(i Industry) bool
Add adds an item to the current set if it doesn't already exist in the set.
func (IndustrySet) Cardinality ¶
func (set IndustrySet) Cardinality() int
Cardinality returns how many items are currently in the set.
func (*IndustrySet) Clear ¶
func (set *IndustrySet) Clear()
Clear clears the entire set to be the empty set.
func (IndustrySet) Clone ¶
func (set IndustrySet) Clone() IndustrySet
Clone returns a clone of the set. Does NOT clone the underlying elements.
func (IndustrySet) Contains ¶
func (set IndustrySet) Contains(i Industry) bool
Contains determines if a given item is already in the set.
func (IndustrySet) ContainsAll ¶
func (set IndustrySet) ContainsAll(i ...Industry) bool
ContainsAll determines if the given items are all in the set
func (IndustrySet) Difference ¶
func (set IndustrySet) Difference(other IndustrySet) IndustrySet
Difference returns a new set with items in the current set but not in the other set
func (IndustrySet) Equal ¶
func (set IndustrySet) Equal(other IndustrySet) bool
Equal determines if two sets are equal to each other. If they both are the same size and have the same items they are considered equal. Order of items is not relevent for sets to be equal.
func (IndustrySet) Intersect ¶
func (set IndustrySet) Intersect(other IndustrySet) IndustrySet
Intersect returns a new set with items that exist only in both sets.
func (IndustrySet) IsSubset ¶
func (set IndustrySet) IsSubset(other IndustrySet) bool
IsSubset determines if every item in the other set is in this set.
func (IndustrySet) IsSuperset ¶
func (set IndustrySet) IsSuperset(other IndustrySet) bool
IsSuperset determines if every item of this set is in the other set.
func (IndustrySet) Iter ¶
func (set IndustrySet) Iter() <-chan Industry
Iter returns a channel of type Industry that you can range over.
func (IndustrySet) Remove ¶
func (set IndustrySet) Remove(i Industry)
Remove allows the removal of a single item in the set.
func (IndustrySet) SymmetricDifference ¶
func (set IndustrySet) SymmetricDifference(other IndustrySet) IndustrySet
SymmetricDifference returns a new set with items in the current set or the other set but not in both.
func (IndustrySet) ToSlice ¶
func (set IndustrySet) ToSlice() []Industry
ToSlice returns the elements of the current set as a slice
func (IndustrySet) Union ¶
func (set IndustrySet) Union(other IndustrySet) IndustrySet
Union returns a new set with all items in both sets.
type Sector ¶
type Sector byte
Sector represents an industry sector.
func ParseSector ¶
ParseSector returns the `industry Sector` corresponding to a string. Returns an invalid `Sector` if no such `Sector` exists.
func (Sector) Industries ¶
func (s Sector) Industries() IndustrySet
Industries returns all `Industry`s belonging to this `Sector`.
func (Sector) SubIndustries ¶
func (s Sector) SubIndustries() SubIndustrySet
SubIndustries returns all `SubIndustry`s belonging to this `Sector`.
type SectorSet ¶
type SectorSet map[Sector]struct{}
SectorSet is the primary type that represents a set
func NewSectorSet ¶
NewSectorSet creates and returns a reference to an empty set.
func (SectorSet) Cardinality ¶
Cardinality returns how many items are currently in the set.
func (*SectorSet) Clear ¶
func (set *SectorSet) Clear()
Clear clears the entire set to be the empty set.
func (SectorSet) ContainsAll ¶
ContainsAll determines if the given items are all in the set
func (SectorSet) Difference ¶
Difference returns a new set with items in the current set but not in the other set
func (SectorSet) Equal ¶
Equal determines if two sets are equal to each other. If they both are the same size and have the same items they are considered equal. Order of items is not relevent for sets to be equal.
func (SectorSet) IsSuperset ¶
IsSuperset determines if every item of this set is in the other set.
func (SectorSet) SymmetricDifference ¶
SymmetricDifference returns a new set with items in the current set or the other set but not in both.
type SubIndustry ¶
type SubIndustry uint32
SubIndustry represents a sub-industry.
func ParseSubIndustry ¶
func ParseSubIndustry(s string) SubIndustry
ParseSubIndustry returns the `SubIndustry` corresponding to a string. Returns an invalid `SubIndustry` if no such `SubIndustry` exists.
func (SubIndustry) Group ¶
func (si SubIndustry) Group() Group
Group returns the `Group` this `SubIndustry` belongs to.
func (SubIndustry) Industry ¶
func (si SubIndustry) Industry() Industry
Industry returns the `Industry` this `SubIndustry` belongs to.
func (SubIndustry) Sector ¶
func (si SubIndustry) Sector() Sector
Sector returns the `Sector` this `SubIndustry` belongs to.
func (SubIndustry) Valid ¶
func (si SubIndustry) Valid() bool
Valid validates the `SubIndustry` value.
type SubIndustrySet ¶
type SubIndustrySet map[SubIndustry]struct{}
SubIndustrySet is the primary type that represents a set
func NewSubIndustrySet ¶
func NewSubIndustrySet(a ...SubIndustry) SubIndustrySet
NewSubIndustrySet creates and returns a reference to an empty set.
func SubIndustries ¶
func SubIndustries() SubIndustrySet
SubIndustries returns a `SubIndustrySet` containing all `SubIndustry`s.
func (SubIndustrySet) Add ¶
func (set SubIndustrySet) Add(i SubIndustry) bool
Add adds an item to the current set if it doesn't already exist in the set.
func (SubIndustrySet) Cardinality ¶
func (set SubIndustrySet) Cardinality() int
Cardinality returns how many items are currently in the set.
func (*SubIndustrySet) Clear ¶
func (set *SubIndustrySet) Clear()
Clear clears the entire set to be the empty set.
func (SubIndustrySet) Clone ¶
func (set SubIndustrySet) Clone() SubIndustrySet
Clone returns a clone of the set. Does NOT clone the underlying elements.
func (SubIndustrySet) Contains ¶
func (set SubIndustrySet) Contains(i SubIndustry) bool
Contains determines if a given item is already in the set.
func (SubIndustrySet) ContainsAll ¶
func (set SubIndustrySet) ContainsAll(i ...SubIndustry) bool
ContainsAll determines if the given items are all in the set
func (SubIndustrySet) Difference ¶
func (set SubIndustrySet) Difference(other SubIndustrySet) SubIndustrySet
Difference returns a new set with items in the current set but not in the other set
func (SubIndustrySet) Equal ¶
func (set SubIndustrySet) Equal(other SubIndustrySet) bool
Equal determines if two sets are equal to each other. If they both are the same size and have the same items they are considered equal. Order of items is not relevent for sets to be equal.
func (SubIndustrySet) Intersect ¶
func (set SubIndustrySet) Intersect(other SubIndustrySet) SubIndustrySet
Intersect returns a new set with items that exist only in both sets.
func (SubIndustrySet) IsSubset ¶
func (set SubIndustrySet) IsSubset(other SubIndustrySet) bool
IsSubset determines if every item in the other set is in this set.
func (SubIndustrySet) IsSuperset ¶
func (set SubIndustrySet) IsSuperset(other SubIndustrySet) bool
IsSuperset determines if every item of this set is in the other set.
func (SubIndustrySet) Iter ¶
func (set SubIndustrySet) Iter() <-chan SubIndustry
Iter returns a channel of type SubIndustry that you can range over.
func (SubIndustrySet) Remove ¶
func (set SubIndustrySet) Remove(i SubIndustry)
Remove allows the removal of a single item in the set.
func (SubIndustrySet) SymmetricDifference ¶
func (set SubIndustrySet) SymmetricDifference(other SubIndustrySet) SubIndustrySet
SymmetricDifference returns a new set with items in the current set or the other set but not in both.
func (SubIndustrySet) ToSlice ¶
func (set SubIndustrySet) ToSlice() []SubIndustry
ToSlice returns the elements of the current set as a slice
func (SubIndustrySet) Union ¶
func (set SubIndustrySet) Union(other SubIndustrySet) SubIndustrySet
Union returns a new set with all items in both sets.