Explore more topics
Market-data lake

lake.stock_industry_classifications dataset schema

Column types and research semantics for NexusTrade’s lake.stock_industry_classifications dataset. Read the supported schema before submitting a bounded SQL query.

Query name
lake.stock_industry_classifications
Storage partition
snapshot
Columns
283
Jump to a section

Columns and types

VARCHAR

  • ticker
  • symbol
  • name
  • description

BOOLEAN

  • technology
  • financialServices
  • healthcare
  • energy

DOUBLE

  • technologyScore
  • financialServicesScore
  • healthcareScore
  • energyScore

Showing 12 of 283 recorded rows. The complete table is below.

Current logical schema for lake.stock_industry_classifications

Inspect the complete lake.stock_industry_classifications schema

Scroll sideways to compare all columns. Select a heading to sort.

tickerVARCHAR
symbolVARCHAR
nameVARCHAR
descriptionVARCHAR
technologyBOOLEAN
technologyScoreDOUBLE
financialServicesBOOLEAN
financialServicesScoreDOUBLE
healthcareBOOLEAN
healthcareScoreDOUBLE
energyBOOLEAN
energyScoreDOUBLE
consumerGoodsBOOLEAN
consumerGoodsScoreDOUBLE
entertainmentAndMediaBOOLEAN
entertainmentAndMediaScoreDOUBLE
manufacturingBOOLEAN
manufacturingScoreDOUBLE
transportationBOOLEAN
transportationScoreDOUBLE
realEstateBOOLEAN
realEstateScoreDOUBLE
utilitiesBOOLEAN
utilitiesScoreDOUBLE
agricultureBOOLEAN
agricultureScoreDOUBLE
educationBOOLEAN
educationScoreDOUBLE
retailBOOLEAN
retailScoreDOUBLE
artificialIntelligenceBOOLEAN
artificialIntelligenceScoreDOUBLE
aiInfrastructureBOOLEAN
aiInfrastructureScoreDOUBLE
analyticsBOOLEAN
analyticsScoreDOUBLE
cloudComputingBOOLEAN
cloudComputingScoreDOUBLE
dataCenterBOOLEAN
dataCenterScoreDOUBLE
databaseBOOLEAN
databaseScoreDOUBLE
cybersecurityBOOLEAN
cybersecurityScoreDOUBLE
developerToolsBOOLEAN
developerToolsScoreDOUBLE
softwareBOOLEAN
softwareScoreDOUBLE
saasBOOLEAN
saasScoreDOUBLE
enterpriseSoftwareBOOLEAN
enterpriseSoftwareScoreDOUBLE
customerExperienceSoftwareBOOLEAN
customerExperienceSoftwareScoreDOUBLE
productivityToolsBOOLEAN
productivityToolsScoreDOUBLE
collaborationSoftwareBOOLEAN
collaborationSoftwareScoreDOUBLE
digitalSignatureAndAuthenticationBOOLEAN
digitalSignatureAndAuthenticationScoreDOUBLE
hardwareBOOLEAN
hardwareScoreDOUBLE
consumerElectronicsBOOLEAN
consumerElectronicsScoreDOUBLE
networkingBOOLEAN
networkingScoreDOUBLE
semiconductorBOOLEAN
semiconductorScoreDOUBLE
chipDesignBOOLEAN
chipDesignScoreDOUBLE
chipManufacturingBOOLEAN
chipManufacturingScoreDOUBLE
semiconductorEquipmentBOOLEAN
semiconductorEquipmentScoreDOUBLE
gpuAndAcceleratorsBOOLEAN
gpuAndAcceleratorsScoreDOUBLE
memoryAndStorageBOOLEAN
memoryAndStorageScoreDOUBLE
quantumComputingBOOLEAN
quantumComputingScoreDOUBLE
roboticsBOOLEAN
roboticsScoreDOUBLE
industrialAutomationBOOLEAN
industrialAutomationScoreDOUBLE
iotBOOLEAN
iotScoreDOUBLE
smartDevicesBOOLEAN
smartDevicesScoreDOUBLE
wearableBOOLEAN
wearableScoreDOUBLE
3dPrintingBOOLEAN
3dPrintingScoreDOUBLE
augmentedRealityBOOLEAN
augmentedRealityScoreDOUBLE
virtualRealityBOOLEAN
virtualRealityScoreDOUBLE
spaceBOOLEAN
spaceScoreDOUBLE
satellitesBOOLEAN
satellitesScoreDOUBLE
aerospaceBOOLEAN
aerospaceScoreDOUBLE
defenseBOOLEAN
defenseScoreDOUBLE
dronesBOOLEAN
dronesScoreDOUBLE
financialInfrastructureBOOLEAN
financialInfrastructureScoreDOUBLE
capitalMarketsTechnologyBOOLEAN
capitalMarketsTechnologyScoreDOUBLE
bankingBOOLEAN
bankingScoreDOUBLE
assetManagementBOOLEAN
assetManagementScoreDOUBLE
brokerageBOOLEAN
brokerageScoreDOUBLE
paymentsBOOLEAN
paymentsScoreDOUBLE
fintechBOOLEAN
fintechScoreDOUBLE
insuranceBOOLEAN
insuranceScoreDOUBLE
autoInsuranceBOOLEAN
autoInsuranceScoreDOUBLE
homeInsuranceBOOLEAN
homeInsuranceScoreDOUBLE
lifeInsuranceBOOLEAN
lifeInsuranceScoreDOUBLE
healthInsuranceBOOLEAN
healthInsuranceScoreDOUBLE
blockchainBOOLEAN
blockchainScoreDOUBLE
cryptocurrencyBOOLEAN
cryptocurrencyScoreDOUBLE
biotechnologyBOOLEAN
biotechnologyScoreDOUBLE
pharmaceuticalsBOOLEAN
pharmaceuticalsScoreDOUBLE
medicalDevicesBOOLEAN
medicalDevicesScoreDOUBLE
digitalHealthBOOLEAN
digitalHealthScoreDOUBLE
lifeSciencesSoftwareBOOLEAN
lifeSciencesSoftwareScoreDOUBLE
bioinformaticsBOOLEAN
bioinformaticsScoreDOUBLE
computationalBiologyBOOLEAN
computationalBiologyScoreDOUBLE
computationalDrugDiscoveryBOOLEAN
computationalDrugDiscoveryScoreDOUBLE
oncologyBOOLEAN
oncologyScoreDOUBLE
immunotherapyBOOLEAN
immunotherapyScoreDOUBLE
vaccinesBOOLEAN
vaccinesScoreDOUBLE
veterinaryBOOLEAN
veterinaryScoreDOUBLE
oilBOOLEAN
oilScoreDOUBLE
gasBOOLEAN
gasScoreDOUBLE
oilfieldServicesBOOLEAN
oilfieldServicesScoreDOUBLE
cleanEnergyBOOLEAN
cleanEnergyScoreDOUBLE
renewableEnergyBOOLEAN
renewableEnergyScoreDOUBLE
solarEnergyBOOLEAN
solarEnergyScoreDOUBLE
windEnergyBOOLEAN
windEnergyScoreDOUBLE
nuclearEnergyBOOLEAN
nuclearEnergyScoreDOUBLE
hydrogenBOOLEAN
hydrogenScoreDOUBLE
batteryTechnologyBOOLEAN
batteryTechnologyScoreDOUBLE
miningAndNaturalResourcesBOOLEAN
miningAndNaturalResourcesScoreDOUBLE
goldBOOLEAN
goldScoreDOUBLE
silverBOOLEAN
silverScoreDOUBLE
chemicalsBOOLEAN
chemicalsScoreDOUBLE
advancedMaterialsBOOLEAN
advancedMaterialsScoreDOUBLE
waterInfrastructureBOOLEAN
waterInfrastructureScoreDOUBLE
wasteManagementAndRecyclingBOOLEAN
wasteManagementAndRecyclingScoreDOUBLE
forestryBOOLEAN
forestryScoreDOUBLE
constructionBOOLEAN
constructionScoreDOUBLE
buildingMaterialsBOOLEAN
buildingMaterialsScoreDOUBLE
electricalAndGridInfrastructureBOOLEAN
electricalAndGridInfrastructureScoreDOUBLE
logisticsAndSupplyChainBOOLEAN
logisticsAndSupplyChainScoreDOUBLE
airlineBOOLEAN
airlineScoreDOUBLE
maritimeBOOLEAN
maritimeScoreDOUBLE
railroadsBOOLEAN
railroadsScoreDOUBLE
automotiveBOOLEAN
automotiveScoreDOUBLE
electricVehicleBOOLEAN
electricVehicleScoreDOUBLE
autonomousTransportationBOOLEAN
autonomousTransportationScoreDOUBLE
recreationalVehicleBOOLEAN
recreationalVehicleScoreDOUBLE
cruiseBOOLEAN
cruiseScoreDOUBLE
rideShareBOOLEAN
rideShareScoreDOUBLE
printingBOOLEAN
printingScoreDOUBLE
packagingBOOLEAN
packagingScoreDOUBLE
householdProductsBOOLEAN
householdProductsScoreDOUBLE
ecommerceBOOLEAN
ecommerceScoreDOUBLE
digitalMarketplaceBOOLEAN
digitalMarketplaceScoreDOUBLE
fashionAndApparelBOOLEAN
fashionAndApparelScoreDOUBLE
luxuryGoodsBOOLEAN
luxuryGoodsScoreDOUBLE
jewelryBOOLEAN
jewelryScoreDOUBLE
foodAndBeverageBOOLEAN
foodAndBeverageScoreDOUBLE
foodDeliveryBOOLEAN
foodDeliveryScoreDOUBLE
nutritionBOOLEAN
nutritionScoreDOUBLE
petCareBOOLEAN
petCareScoreDOUBLE
outdoorAndRecreationalEquipmentBOOLEAN
outdoorAndRecreationalEquipmentScoreDOUBLE
sportsAndFitnessBOOLEAN
sportsAndFitnessScoreDOUBLE
cannabisBOOLEAN
cannabisScoreDOUBLE
hospitalityAndTravelBOOLEAN
hospitalityAndTravelScoreDOUBLE
homeSecurityBOOLEAN
homeSecurityScoreDOUBLE
advertisingBOOLEAN
advertisingScoreDOUBLE
gamingBOOLEAN
gamingScoreDOUBLE
gamblingBOOLEAN
gamblingScoreDOUBLE
sportsBettingBOOLEAN
sportsBettingScoreDOUBLE
socialMediaBOOLEAN
socialMediaScoreDOUBLE
streamingBOOLEAN
streamingScoreDOUBLE
moviesBOOLEAN
moviesScoreDOUBLE
musicAndAudioBOOLEAN
musicAndAudioScoreDOUBLE
publishingBOOLEAN
publishingScoreDOUBLE
telecommunicationsBOOLEAN
telecommunicationsScoreDOUBLE
edtechBOOLEAN
edtechScoreDOUBLE
proptechBOOLEAN
proptechScoreDOUBLE
classifiedAtTIMESTAMP
classifierModelVARCHAR
classifierPromptIdVARCHAR
classifierPromptVersionBIGINT
descriptionHashVARCHAR

Current logical schema for lake.stock_industry_classifications

Query lake.stock_industry_classifications using the column names and types below. The query validator and engine use this logical catalog; a field absent from an older shard returns typed NULL.

What this table contains

One complete row per classified ticker. Every canonical tag is a non-null BOOLEAN derived as tagScore >= 0.5, with a corresponding DOUBLE score. Ordinary category requests use the Boolean. Missing joined rows are unclassified and must never enter a negative universe.

Screen the semiconductor classification

Query example, not executed here. The dates and filters define the proposed research scope; returned rows and current coverage must be checked in your workspace.

The Boolean applies the documented score >= 0.5 classification rule. Inspect classifiedAt for the source date. A missing joined classification row is unclassified and must not silently enter a negative universe.

SQL
SELECT ticker, name, semiconductor, classifiedAt
FROM lake.stock_industry_classifications
WHERE semiconductor IS TRUE
ORDER BY ticker
LIMIT 20;

Submit the stock_industry_classifications example and read back its parts

Run the exact SQL through the Python SDK

Save this page's SQL as query.sql and the runner below as query.py. Use a registered key with lake scope from Developers. The runner submits the displayed stock_industry_classifications query once, saves its operation, waits on that same ID, saves the returned manifest and downloads its Parquet parts.

This submission has not been executed for the reference page. Inspect the SQL, dates and resource limits before running it. Reuse the request key only for this identical SQL and limits; use a new key when changing them.

Shell
python3 -m pip install nexustrade==1.42.0
export NEXUSTRADE_API_KEY="YOUR_LAKE_SCOPED_KEY"
python3 query.py

Python
import json
from pathlib import Path
from nexustrade import NexusTradeClient

# Save the SQL displayed on this page as query.sql.
sql = Path("query.sql").read_text()
client = NexusTradeClient.from_environment()
operation = client.create_lake_query(
    {"query": sql, "limits": {"timeoutSeconds": 30, "maxRows": 50,
                              "maxResultBytes": 1048576}},
    idempotency_key="reference-stock_industry_classifications-20261012-v1",
)
Path("query-operation.json").write_text(json.dumps(operation, indent=2))
finished = client.wait_for_lake_query(operation["id"])
if finished["status"] != "completed":
    raise RuntimeError(finished)
manifest = client.get_lake_query_manifest(operation["id"])["result"]
Path("query-manifest.json").write_text(json.dumps(manifest, indent=2))
print(json.dumps(manifest, indent=2))
for part in manifest["parts"]:
    Path(f"query-{part['part']}.parquet").write_bytes(
        client.download_lake_query_part(operation["id"], part["part"], max_bytes=1048576)
    )

Coverage and timing

Inspect source coverage and timing before using the rows

One complete row per classified ticker. Every canonical tag is a non-null BOOLEAN derived as tagScore >= 0.5, with a corresponding DOUBLE score. Ordinary category requests use the Boolean. Missing joined rows are unclassified and must never enter a negative universe.

Inspect the returned source dates and nullable fields. For an event-based strategy, use its public availability date to place the observation on the research timeline.

Discussion

Sign in or create a free account to join the discussion.

No comments yet.