Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ Async batch query is supported by datasets that require `data_id` parameter. Not
- Tier: Sponsor
- Data range: 1992-01-04 ~ now
- Params: dataset=TaiwanStockIndustryChainMoneyFlow, start_date=2026-07-17 (no data_id; one day per request - do NOT pass end_date)
- Columns: date, industry (industry chain), sub_industry (empty string = industry-chain total row), stock_count, trading_volume, trading_money, trading_money_pct (% of whole-market individual-stock trading money; ETF/ETN/beneficiary certificates/TDR excluded from the denominator)
- Columns: date, industry (industry chain), sub_industry (empty string = industry-chain total row), stock_count, trading_volume, trading_money, trading_money_pct (% of TWSE+TPEX+emerging individual-stock trading money; ETF/ETN/beneficiary certificates/TDR and delisted instruments excluded; numerator and denominator share the same market scope)
- Derived daily from TaiwanStockPrice aggregated by TaiwanStockIndustryChain (industry / sub_industry)
- Note: industry-chain total rows count each stock once and do NOT equal the sum of sub-industry rows (one stock can belong to multiple sub-industries); one stock can belong to multiple chains, so percentages across chains sum to more than 100%; historical dates use the current industry-chain classification

Expand Down
8 changes: 4 additions & 4 deletions docs/tutor/TaiwanMarket/Chip.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -3228,9 +3228,9 @@ In Taiwan stock chip data, we have 26 datasets as follows:

- Data range: 1992-01-04 ~ now
- Update time: **Monday to Saturday, after market close**; actual update time subject to API data
- Shows where the daily trading money goes across industry chains: daily per-stock trading data aggregated by "Per-Company Industry Chain TaiwanStockIndustryChain" (industry / sub_industry), including stock count, trading volume, trading money, and the percentage of the whole-market individual-stock trading money
- Shows where the daily trading money goes across industry chains: daily per-stock trading data aggregated by "Per-Company Industry Chain TaiwanStockIndustryChain" (industry / sub_industry), including stock count, trading volume, trading money, and the percentage of TWSE + TPEX + emerging-market individual-stock trading money
- Rows with an empty `sub_industry` are the industry-chain totals (each stock counted once; **not** equal to the sum of sub-industry rows, because one stock can belong to multiple sub-industries of the same chain); other rows are sub-industry details
- The denominator of `trading_money_pct` is the whole-market individual-stock trading money of the day (ETF / ETN / beneficiary certificates / TDR excluded)
- The denominator of `trading_money_pct` is the TWSE + TPEX + emerging-market individual-stock trading money of the day (ETF / ETN / beneficiary certificates / TDR and delisted instruments excluded); numerator and denominator use the same market scope
- **One day of data per request**: query with a single `start_date` (no `data_id`); returns all industry chains for that day
- Note: one stock can belong to multiple industry chains, so the percentages across chains sum to more than 100%; the dataset is designed for comparing relative money strength and rotation between chains. Historical dates are calculated with the current industry-chain classification.

Expand Down Expand Up @@ -3287,7 +3287,7 @@ In Taiwan stock chip data, we have 26 datasets as follows:
=== "DataFrame"
| | date | industry | sub_industry | stock_count | trading_volume | trading_money | trading_money_pct |
|---:|:-----------|:-----------|:---------------|--------------:|-----------------:|----------------:|--------------------:|
| 0 | 2026-07-17 | 半導體 | | 314 | 2083008796 | 693623697527 | 52.3044 |
| 0 | 2026-07-17 | 半導體 | | 315 | 2083017591 | 693625071313 | 52.3045 |
| 1 | 2026-07-17 | 半導體 | 晶圓製造 | 23 | 1114571480 | 400277383605 | 30.1839 |
| 2 | 2026-07-17 | 半導體 | IC封裝測試 | 35 | 430118317 | 85061031396 | 6.4142 |
=== "Schema"
Expand All @@ -3299,7 +3299,7 @@ In Taiwan stock chip data, we have 26 datasets as follows:
stock_count: int, # number of component stocks traded that day
trading_volume: int, # total trading volume (shares)
trading_money: int, # total trading money
trading_money_pct: float, # % of whole-market individual-stock trading money
trading_money_pct: float, # % of TWSE + TPEX + emerging-market individual-stock trading money
}
```

Expand Down
8 changes: 4 additions & 4 deletions docs/tutor/TaiwanMarket/Chip.md
Original file line number Diff line number Diff line change
Expand Up @@ -3227,9 +3227,9 @@

- 資料區間:1992-01-04 ~ now
- 資料更新時間 **星期一至六 盤後**,實際更新時間以 API 資料為主
- 計算每日交易資金在各產業鏈的分佈:以「個體公司所屬產業鏈 TaiwanStockIndustryChain」(industry / sub_industry)彙總每日個股成交,包含成分股數、成交股數、成交金額、佔全市場個股成交金額比重(%)
- 計算每日交易資金在各產業鏈的分佈:以「個體公司所屬產業鏈 TaiwanStockIndustryChain」(industry / sub_industry)彙總每日個股成交,包含成分股數、成交股數、成交金額、佔上市+上櫃+興櫃個股成交金額比重(%)
- `sub_industry` 為空字串的列為該產業鏈總計(成分股不重複計算,**不等於**子產業列加總,因一檔股票可屬同產業鏈多個子產業);其餘列為子產業明細
- `trading_money_pct` 分母為當日全市場個股成交金額(排除 ETF/ETN/受益證券/存託憑證等非個股)
- `trading_money_pct` 分母為當日上市+上櫃+興櫃個股成交金額(排除 ETF/ETN/受益證券/存託憑證等非個股與已下市標的);分子與分母採同一市場口徑
- **一次提供一天的資料**:以單一 `start_date` 查詢(無 `data_id`),回傳當日全部產業鏈
- 備註:一檔股票可屬多條產業鏈,各產業鏈佔比加總會超過 100%,適合觀察產業鏈之間的相對資金強弱與輪動;歷史資料以目前的產業鏈分類回溯計算

Expand Down Expand Up @@ -3286,7 +3286,7 @@
=== "DataFrame"
| | date | industry | sub_industry | stock_count | trading_volume | trading_money | trading_money_pct |
|---:|:-----------|:-----------|:---------------|--------------:|-----------------:|----------------:|--------------------:|
| 0 | 2026-07-17 | 半導體 | | 314 | 2083008796 | 693623697527 | 52.3044 |
| 0 | 2026-07-17 | 半導體 | | 315 | 2083017591 | 693625071313 | 52.3045 |
| 1 | 2026-07-17 | 半導體 | 晶圓製造 | 23 | 1114571480 | 400277383605 | 30.1839 |
| 2 | 2026-07-17 | 半導體 | IC封裝測試 | 35 | 430118317 | 85061031396 | 6.4142 |
=== "Schema"
Expand All @@ -3298,7 +3298,7 @@
stock_count: int, # 成分股數(當日有成交)
trading_volume: int, # 成交股數合計
trading_money: int, # 成交金額合計
trading_money_pct: float, # 佔當日全市場個股成交金額比重(%)
trading_money_pct: float, # 佔當日上市+上櫃+興櫃個股成交金額比重(%)
}
```

Expand Down