| --- |
| license: apache-2.0 |
| --- |
| |
| > **Languages:** [简体中文](README_ZH.md) · [English](README.md) |
|
|
| # dojo_sector_symbol_relations — Stock–Sector Mapping |
| |
| ## Overview |
| |
| Maps each stock to L1/L2/L3 sector paths with primary and secondary assignments. One row per `(ticker, market)` pair. |
| |
| ## Files |
| |
| | File | Description | |
| |------|-------------| |
| | `data.parquet` | Full stock ↔ sector relations | |
| |
| ## Key Fields |
| |
| | Field | Description | |
| |-------|-------------| |
| | `ticker` | Stock symbol | |
| | `market` | `us`, `cn`, or `hk` | |
| | `primary` | JSON object — primary sector path | |
| | `secondary` | JSON array — secondary paths (may be empty) | |
| | `symbol` | Internal join key | |
| |
| ### primary / secondary Path Format |
| |
| ```json |
| { |
| "level_1": {"zh": "工业", "en": "Industrials"}, |
| "level_2": {"zh": "交通运输与物流", "en": "Transportation and Logistics"}, |
| "level_3": {"zh": "海运与港口", "en": "Maritime and Ports"} |
| } |
| ``` |
| |
| L3 Chinese/English labels are matched to IDs in [dojo_sector_info](https://huggingface.co/datasets/AlphaDojo/dojo_sector_info). |
| |
| ## Scale (reference) |
| |
| ~**21.5k** rows (more assignments after expanding primary + secondary). |
| |
| ## Assignment Rules |
| |
| - `primary`: main sector membership. |
| - `secondary`: cross-sector membership; deduplicated by L3 in downstream precompute. |
| |
| ## Related Datasets |
| |
| - [dojo_sector_info](https://huggingface.co/datasets/AlphaDojo/dojo_sector_info) — taxonomy definitions |
| - [dojo_stock_info](https://huggingface.co/datasets/AlphaDojo/dojo_stock_info) — ticker profiles |
| - [dojo_sector_precomputed](https://huggingface.co/datasets/AlphaDojo/dojo_sector_precomputed) — derived sector indices |
| |