Expand description
Build the symbol -> sector map the yuzu-core neutralization ops need,
from the tracked/*.csv.gz snapshot (symbol,sector,market_cap).
Functions§
- load_
industry_ map - Load
tracked/universe.csv.gz(or.csv) fromsrcinto thesymbol → sectormap the engine’s industry ops consume.Ok(None)when the snapshot is absent or has no usable rows — the runner then leaves the map empty and industry ops treat every symbol as unmapped. - parse_
industry_ csv - Parse a
symbol,sector,...CSV intosymbol -> sector. A leading header row (symbol,...) is skipped; rows with an empty sector are dropped.