# 三大法人買賣超

1. [首頁](https://finlab.finance/)
2. [資料庫](https://finlab.finance/data)
3. 三大法人買賣超

已通過驗證

外資、投信、自營商每日買賣超股數與整體市場金額，追蹤聰明錢流向。

台股 18 個資料欄位 2009-01-05 ～ 2026-11-24 每日更新

資料快照截至 2026-11-24

資料可用範圍

* **免費版**：台股歷史資料到 2023-12-31
* **VIP**：最新資料，日行情通常到前一交易日

VIP 專屬資料與其他例外

免費版台股資料的最後交易日是 2023-12-29。可轉債等 VIP 專屬資料，試用到期後需訂閱才能下載。整表開放的參考資料與美股公開測試資料，另依各欄權限標示。

三大法人買賣超，就是外資、投信、自營商這三類專業機構，每個交易日在台股「買進多少、賣出多少」之後算出的淨額。買進大於賣出叫買超（淨買），賣出大於買進叫賣超（淨賣）。因為這三類機構資金大、研究團隊深，他們的進出常被當成「聰明錢往哪流」的風向球，也是台股最常被疊在基本面之上的籌碼濾網。

## 三大法人是誰，買賣超在算什麼

這三類機構各有脾性：**外資**是外國機構投資人，資金規模最大、偏中長線布局；**投信**是國內的基金公司，有季底作帳壓力，短線影響很直接；**自營商**是券商用自有資金操作的部位，常和避險、權證造市綁在一起。

買賣超的算法很單純，就是「當日買進股數減掉賣出股數」。正的代表這類法人今天站在買方、淨買進；負的代表站在賣方、淨賣出。每個交易日盤後，證交所就會公布每一檔股票各別的法人買賣超，以及整體市場的合計金額。法人、買賣超這類名詞的精確口徑，可以對照 [量化交易詞彙表](https://finlab.finance/glossary) 裡的定義。

## 怎麼看一張法人買賣超走勢圖

單看某一天法人買了或賣了，意義不大，因為法人為了避險常會今天賣、明天買來回調節。比較有用的看法，是把每天的買賣超「累加起來」，看一段時間下來資金到底是淨流入還是淨流出。下面這張圖，就是把台積電（2330）外資的每日買賣超逐日累計後畫成的曲線。

[![台積電 (2330) 外資累計買賣超股數](https://r2.finlab.finance/data/institutional-flow__foreign-net-buy-sell/chart.png?v=20260624c)](https://r2.finlab.finance/data/institutional-flow__foreign-net-buy-sell/chart.png?v=20260624c)

看這張圖時，重點不在絕對高低，而在斜率：曲線往上走，代表這段期間外資是淨買進、持續加碼；往下走，代表外資在持續調節出場；走平則是進出大致抵銷。以截至 2026 年 6 月、換算成金額的近幾筆累計買賣超為例：

| 日期         |  外資累計買賣超 |
| ---------- | -------: |
| 2026-06-15 | -16.24 億 |
| 2026-06-16 | -16.24 億 |
| 2026-06-17 | -16.31 億 |
| 2026-06-18 | -16.23 億 |
| 2026-06-22 | -16.09 億 |
| 2026-06-23 | -16.12 億 |

這幾天累計值都在負十六億上下小幅來回，代表外資對這檔股票既沒有明顯加碼、也沒有大舉撤退，整段曲線是接近橫盤的狀態。看懂這張圖，就懂了所有法人買賣超資料的看法：把每日進出累加，用方向和斜率讀資金的態度。

## 用這份資料最容易踩的兩個陷阱

第一個陷阱，是把個股的買賣超股數乘上股價，當成法人投入的金額。個股層級的資料只有股數、沒有金額，自己換算往往會比官方數字膨脹好幾倍；要看金額口徑，請改用整體市場的三大法人買賣超金額欄位。

第二個陷阱，是拿單日數字追買追賣。外資為了避險常同時操作期貨與現股，現股賣超不一定代表它看空後市，單日方向很容易被來回的調節洗掉。比較穩的做法，是看連續多日的累計買賣超，等資金態度形成趨勢再判斷，這也是上面那張累計曲線比單日數字更有參考價值的原因。

## 怎麼用法人買賣超選股

在量化選股上，法人籌碼最常見的角色是「濾網」，而不是單獨的進場訊號。實務邏輯通常是：先用基本面或動能因子選出一批候選股，再要求它們同時要有法人連續買超撐腰，把籌碼鬆動的標的剔除掉，留下基本面好、又有大資金認同的股票。

至於「跟誰買最準」，三大法人各有脾性，值得分開驗證。想看實測比較，可以讀 [外資 vs 投信 vs 自營商：三大法人跟誰最準？](https://finlab.finance/blog/institutional-investors-comparison)；如果想把法人資料做得更細，[外資買入成本指標選股](https://finlab.finance/blog/foreign-investor-cost-indicator-stock-screening) 示範怎麼自製外資的成本線來篩股，[外資避險指標教學](https://finlab.finance/blog/foreign-investor-net-buy-hedge-indicator) 則用法人動向來提前閃避大盤回落。要把這些籌碼濾網接進一套完整的選股流程，可以從 [股票選股完整指南](https://finlab.finance/tools/stock-selection) 開始，把籌碼、基本面與估值組成更穩健的多因子策略。

## 怎麼自己取得這份資料

在 finlab 套件裡，登入後用一行就能取出個股的外資買賣超，再用 cumsum 累加，就是上面那張累計曲線：

顯示程式碼

```
import finlab
from finlab import data
 
finlab.login()
df = data.get("institutional_investors_trading_summary:外陸資買賣超股數(不含外資自營商)")
foreign_cum = df["2330"].dropna().cumsum()
```

把欄位名稱換成「投信買賣超股數」「自營商買賣超股數」，就能取得另外兩類法人的進出；要看官方公布的整體市場金額，則改取 `institutional_investors_trading_all_market_summary` 裡的買賣超欄位。資料每個交易日盤後公布，當天就能取得。不會寫程式也沒關係，頁面下方可以把取資料、跑回測這件事直接交給 AI 幫你完成。

## 三大法人買賣超包含的資料欄位

點開任一欄位可看它的完整涵蓋範圍、資料品質檢查與取得方式。程式碼欄位即是用 finlab 取得該資料的 `data.get()` 代號。

| 資料欄位                                                                                     | 程式碼                                                                     | 資料量   | 時間範圍                    | 權限／免費期間         | 狀態    |
| ---------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----- | ----------------------- | --------------- | ----- |
| [外資買賣超股數](https://finlab.finance/data/institutional-flow/foreign-net-buy-sell)           | `data.get("institutional_investors_trading_summary:外陸資買賣超股數(不含外資自營商)")` | 3,563 | 2012-05-02 ～ 2026-11-24 | 免費版至 2023-12-31 | 已通過驗證 |
| [投信買賣超股數](https://finlab.finance/data/institutional-flow/investment-trust-net-buy)       | `data.get("institutional_investors_trading_summary:投信買賣超股數")`           | 3,563 | 2012-05-02 ～ 2026-11-24 | 免費版至 2023-12-31 | 已通過驗證 |
| [自營商買賣超股數](https://finlab.finance/data/institutional-flow/dealer-net-buy)                | `data.get("institutional_investors_trading_summary:自營商買賣超股數(自行買賣)")`    | 3,563 | 2012-05-02 ～ 2026-11-24 | 免費版至 2023-12-31 | 已通過驗證 |
| [整體市場三大法人買賣超金額](https://finlab.finance/data/institutional-flow/market-institutional-net) | `data.get("institutional_investors_trading_all_market_summary:買賣超")`    | 4,390 | 2009-01-05 ～ 2026-11-24 | 免費版至 2023-12-31 | 已通過驗證 |

## 真實數字與取得程式碼

上面的圖與下面的數字都是用 finlab 一行程式直接跑出來的真實資料（截至 2026-06-24），不是示意圖。你也可以自己跑一次。

最近幾筆資料

| 日期         | 數值       |
| ---------- | -------- |
| 2026-06-15 | -16.24 億 |
| 2026-06-16 | -16.24 億 |
| 2026-06-17 | -16.31 億 |
| 2026-06-18 | -16.23 億 |
| 2026-06-22 | -16.09 億 |
| 2026-06-23 | -16.12 億 |

產生這張圖的程式碼

```
from finlab import data

df = data.get("institutional_investors_trading_summary:外陸資買賣超股數(不含外資自營商)")
s = df["2330"].dropna().cumsum()        # 累計買賣超
s.plot(title="累計買賣超")
```

## 名詞速解

**揭露與更新**三大法人買賣超在每個交易日盤後公布。

* **三大法人**：外資、投信、自營商的合稱，是台股最受關注的籌碼來源。
* **外資**：外國機構投資人；資金大、偏中長線，動向常被視為盤面風向。
* **投信**：國內投信基金；有季底作帳壓力，短線影響常很明顯。
* **買賣超**：買進減賣出的淨額；正值是淨買、負值是淨賣，看資金往哪流。

[看完整名詞解釋 →](https://finlab.finance/glossary)

## 如何取得三大法人買賣超

不會寫程式也沒關係，把下面這句話交給你的 AI，它會帶你完成設定並做出第一個策略。

免費試用

## 30 秒，用 AI 跑出你的第一個台股回測

把這句話貼給你的 AI，它會裝好 FinLab、抓台股資料，跑出一份你能下載的回測。

AI

告訴你的AI：

幫我設定 FinLab，取得「三大法人買賣超」資料，挑一個欄位畫出走勢圖，並示範一個用它選股的回測，請讀：https\://finlab.finance/setup?relatedUrl=/data/institutional-flow

[免安裝，開啟 FinLab Studio](https://studio.finlab.finance/chat?lang=zh\&research_context=%7B%22v%22%3A1%2C%22source_url%22%3A%22https%3A%2F%2Ffinlab.finance%2Fdata%2Finstitutional-flow%22%2C%22task%22%3A%22%E5%8F%96%E5%BE%97%E3%80%8C%E4%B8%89%E5%A4%A7%E6%B3%95%E4%BA%BA%E8%B2%B7%E8%B3%A3%E8%B6%85%E3%80%8D%E8%B3%87%E6%96%99%EF%BC%8C%E6%8C%91%E4%B8%80%E5%80%8B%E6%AC%84%E4%BD%8D%E7%95%AB%E5%87%BA%E8%B5%B0%E5%8B%A2%E5%9C%96%EF%BC%8C%E4%B8%A6%E7%A4%BA%E7%AF%84%E4%B8%80%E5%80%8B%E7%94%A8%E5%AE%83%E9%81%B8%E8%82%A1%E7%9A%84%E5%9B%9E%E6%B8%AC%22%2C%22intent%22%3A%22backtest%22%2C%22market%22%3A%22tw%22%7D)

想自己寫程式？看取得資料的程式碼

finlab Python 套件用一行 `data.get()` 就能取得這些資料；第一次使用時 `finlab.login()` 會自動引導登入，不需要手動處理 token。

```
from finlab import data

df = data.get("institutional_investors_trading_summary:外陸資買賣超股數(不含外資自營商)")
df.tail()
```

## 用三大法人買賣超跑出的研究

[**投信買超策略實測：外資大賣隔天會怎樣、投信買外資賣該聽誰？**](https://finlab.finance/blog/institutional-strategy)

[個股層級的法人籌碼實測：用 finlab 2015～2026 全市場資料統計 86 萬筆外資大賣樣本，回答外資大賣隔天會怎樣、投信買外資賣該聽誰；三套跟單規則回測，逆向外資與純投信買超都輸 0050，投信買超＋營收動能年化 33.9%、日夏普 1.11，附可重跑程式碼。](https://finlab.finance/blog/institutional-strategy)

[台股 ·年化 33.9%](https://finlab.finance/blog/institutional-strategy)[**外資 vs 投信 vs 自營商：三大法人跟誰最準？**](https://finlab.finance/blog/institutional-investors-comparison)

[10 年台股回測比較外資、投信、自營商三大法人跟單績效：純跟投信年化僅 7.4%，加入月營收成長篩選後 CAGR 飆至 30.1%、Sharpe 0.95。揭開三大法人籌碼面組合拳的真實效果，附 FinLab Python 回測程式。](https://finlab.finance/blog/institutional-investors-comparison)

[台股 ·年化 30.1%](https://finlab.finance/blog/institutional-investors-comparison)[**籌碼選股有用嗎？千張大戶、股東人數、券資比 7 個訊號，沒有一個穩定贏 0050**](https://finlab.finance/blog/taiwan-chip-signals-backtest)

[籌碼選股有用嗎？用 finlab 回測台股 7 個籌碼訊號：千張大戶持股比例、股東人數減少、主力分點、地緣券商、借券賣出餘額、外資持股比例與券資比。63 組參數只有 1 組日夏普贏過含息 0050，三項驗證全部沒過；股東人數減少最多的 30 檔每週換股，不扣成本年化 29.8%，扣成本後只剩 14.8%。](https://finlab.finance/blog/taiwan-chip-signals-backtest)

[台股 ·年化 14.8%](https://finlab.finance/blog/taiwan-chip-signals-backtest)[**外資買賣超怎麼解讀？外資避險指標教學，提前避開股市大幅回落**](https://finlab.finance/blog/foreign-investor-net-buy-hedge-indicator)

[外資每日買賣超金額雜訊太多、缺乏標準化基準，改用「近月外資淨買超天數 / 交易日數」轉成 0\~1 標準化指標。實作 Python 程式碼並回測 0050 與富櫃 50 避險訊號，協助提前嗅到台股大幅回落的籌碼面警訊。](https://finlab.finance/blog/foreign-investor-net-buy-hedge-indicator)

[台股 ](https://finlab.finance/blog/foreign-investor-net-buy-hedge-indicator)[**外資成本線怎麼看？Python 自製外資買入成本指標與選股教學**](https://finlab.finance/blog/foreign-investor-cost-indicator-stock-screening)

[外資成本線是用外資買賣超與股價估算外資近期平均進出成本的籌碼指標。本文用 Python 與三大法人資料自製外資買入成本指標：以 rolling 60 日加權平均算出外資進出均價，再篩出股價低於外資成本的台股清單，附完整資料整理、買賣成本計算與選股程式碼示範。](https://finlab.finance/blog/foreign-investor-cost-indicator-stock-screening)

[台股 ](https://finlab.finance/blog/foreign-investor-cost-indicator-stock-screening)[**散戶反向策略：融資、當沖、集保數據的賺錢密碼**](https://finlab.finance/blog/retail-contrarian-strategy)

[台灣散戶每年落後大盤 3.8%。用集保「小於十張佔比」4 週減>0.3%、外資或投信 10 日買超、營收 YoY>30%、選散戶減持最大 15 檔，2015-2025 回測年化 33.77%、夏普 1.12。](https://finlab.finance/blog/retail-contrarian-strategy)

[台股 ·年化 33.8%](https://finlab.finance/blog/retail-contrarian-strategy)

更多相關研究（17 篇）

* [半導體選股策略：台積電供應鏈 15 檔的四種篩選實測](https://finlab.finance/blog/semiconductor-stock-selection) 年化 62.5%
* [小台散戶多空比怎麼用才有效？台指加碼、小台避險的智慧曝險回測](https://finlab.finance/blog/retail-long-short-ratio) 年化 32.5%
* [AI 概念股量化篩選法：不追熱門股的冷靜選法](https://finlab.finance/blog/ai-stock-screening) 年化 31.6%
* [庫藏股是什麼？公告後買進的台股實測：19 年年化 25%，近三年卻輸 0050](https://finlab.finance/blog/treasury-stock-investment-strategy) 年化 25.2%
* [董監持股比例高好嗎？7 個董監與內部人訊號台股回測，63 組參數都沒贏 0050](https://finlab.finance/blog/director-shareholding-insider-signals-backtest) 年化 5.1%
* [主力波動指標：用券商分點數據打造獨家選股因子](https://finlab.finance/blog/broker_transaction_indicator) 年化 0.0%
* [融券回補會軋空嗎？27組測試先卡在可用樣本](https://finlab.finance/blog/short-covering-squeeze-backtest)
* [隔日沖券商有哪些？分點反手率實測，50%門檻沒有符合名單](https://finlab.finance/blog/overnight-trading-brokers-backtest)
* [借券費率是什麼？券差費率 7% 是日計價，飆升後買進日夏普都輸 0050](https://finlab.finance/blog/securities-lending-fee-backtest)
* [當沖、漲停、盤後零股、鉅額交易回測：7 個台股熱門訊號選股都輸 0050](https://finlab.finance/blog/day-trading-limit-up-odd-lot-block-trade-backtest)
* [融資餘額增加代表什麼？融資、注意股、跳空缺口 5 訊號都沒穩定贏 0050](https://finlab.finance/blog/margin-balance-attention-stock-gap-backtest)
* [外資賣超原因全解析：外資一直賣、股價為什麼不跌？2026 台股 14 年數據實證](https://finlab.finance/blog/foreign-investor-selling-why-market-rises)
* [集保戶股權分散表怎麼抓？Python 爬蟲教學與台股籌碼資料整理](https://finlab.finance/blog/python-crawler-tdcc-shareholder-distribution)
* [台股板塊圖完整操作說明：基本面、技術面、籌碼面 200 種指標一圖掌握](https://finlab.finance/blog/taiwan-stock-treemap-guide)
* [0050 擇時策略實測：用融資維持率地板訊號抄底（2009–2021 回測，MDD < 20%）](https://finlab.finance/blog/margin-maintenance-ratio-0050-timing)
* [台股籌碼策略：董監改選行情選股法，回測勝率82%實戰拆解](https://finlab.finance/blog/taiwan-stock-board-election-chips-strategy)
* [超短線上影線放空策略：用回測驗證上影線放空台股的真實績效](https://finlab.finance/blog/upper-shadow-short-selling-strategy)

## 相關資料分類

[月營收](https://finlab.finance/data/monthly-revenue)[財務報表](https://finlab.finance/data/financial-statements)[財務指標與比率](https://finlab.finance/data/financial-ratios)[本益比、殖利率與股價淨值比](https://finlab.finance/data/valuation)

[延伸閱讀：股票選股完整指南](https://finlab.finance/tools/stock-selection)

本頁資料涵蓋範圍與更新時間以實際資料為準，僅供研究與教學參考，不構成任何投資建議。

[回資料庫總覽](https://finlab.finance/data)

來源：https://finlab.finance/data/institutional-flow｜資料日期：2009-01-05/2026-11-24
