Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jason8745v2.5.0MITIn 1 marketplace
Backtest Taiwan stock and ETF strategies you describe in chat, with results shown against buy-and-hold on a live dashboard. Says no API key is needed; Claude writes the strategy but the backtest engine does all the calculations.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Of the plugin's README
Chinese
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
用聊天的方式研究台股策略。你說出想法,Claude 撰寫策略、回測、解讀結果,並在 dashboard 上即時呈現。每一個數字都由確定性的回測引擎計算,Claude 只負責討論與解讀,不自行計算。
不需要寫程式,也不需要 API key。安裝好 Claude Desktop 之後,下載一個檔案、點兩下就能開始。
English summary at the end of this page.
https://github.com/user-attachments/assets/6d636093-63ab-43fb-83a0-ccb49cbeabfc
影片為一次真實的 Claude Code 操作(2.5.0):說「開始使用台股回測」、用選項卡片確認四項研究條件、用自己的話加上停損,Claude 自動實驗並定稿,dashboard 同步呈現結果。
選擇一種方式即可。不會用終端機的話,請選方法一。
安裝並登入 Claude Desktop。
到 Releases 頁面,下載最新的 llm-agent-trader-x.y.z.mcpb。
點兩下下載的檔案,或把它拖進 Claude Desktop 視窗,在跳出的視窗按「安裝」。
開一個新對話,輸入:
開始使用台股回測
不需要另外安裝 Python 或其他軟體,Claude Desktop 會自動準備執行環境。第一次回測時,系統會下載回測引擎需要的元件,可能需要一至數分鐘;之後每次回測只要幾秒。
適合已經在使用 Claude Code 的人。
安裝 uv(已安裝可略過,用 uv --version 確認):
curl -LsSf https://astral.sh/uv/install.sh | shpowershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"安裝後請重新開啟終端機。
安裝 plugin:
claude plugin marketplace add jason8745/llm-agent-trader
claude plugin install llm-agent-trader@llm-agent-trader
在任何資料夾啟動 claude,輸入 /llm-agent-trader:start,或直接說「開始使用台股回測」。
說「開始使用台股回測」之後,Claude 會依序:
徵求同意建立研究資料夾。 位置是「文件 › trader-research」,用來存放策略檔與回測紀錄。點選「建立研究資料夾」後才會建立,只會問這一次。
開啟 dashboard。 瀏覽器會自動開啟;沒有開啟時,點 Claude 回覆中的網址即可。
請你選擇研究主題。 選項卡片會列出三個範例;也可以選「我有自己的想法」,用一句話說明標的與策略,例如:
我想研究台積電的均線趨勢策略,期間 2023 到 2025 年。
用 0050 測試 RSI 超賣進場、超買出場。
沒有提到的條件,Claude 會先提出建議,下一步再請你確認。
2330.TW 台積電。
dashboard 會跟著 Claude 的回測自動更新,不需要重新整理。之後想再打開,對 Claude 說「打開 dashboard」即可。
所有研究都存放在同一個資料夾,預設是「文件 › trader-research」(~/Documents/trader-research):
strategies/:策略檔。.trader/backtests.db:回測紀錄與結論。2.5.0 以前的紀錄(runs.db)不再讀取,可直接刪除。刪除這個資料夾就會刪除所有研究。Claude Code 使用者可以用環境變數 TRADER_WORKSPACE 改放其他位置。
第一次回測為什麼比較久? 第一次會下載回測引擎需要的元件(約 50 MB),視網路狀況需要一至數分鐘,之後只要幾秒。
dashboard 沒有自動打開? 點 Claude 回覆中 http://127.0.0.1:8765/ 開頭的網址。
Claude 說「研究資料夾尚未建立」? 這是在等你同意,點選「建立研究資料夾」,或回覆「同意」即可。
如何更新? Claude Desktop:下載新版的 .mcpb 再安裝一次。Claude Code:執行 claude plugin marketplace update llm-agent-trader 與 claude plugin update llm-agent-trader@llm-agent-trader,再重新啟動 Claude Code。
如何移除? Claude Desktop:在設定的擴充功能中移除。Claude Code:執行 claude plugin uninstall llm-agent-trader@llm-agent-trader。研究資料夾不會被刪除。
支援哪些股票? 台灣上市、上櫃股票與 ETF 的日 K 資料,來源為 Yahoo Finance。只做多,以整股計算。
這是投資建議嗎? 不是。回測結果只反映歷史資料,不代表未來績效。

Claude 只負責討論、撰寫策略與解讀結果;回測在本機的子行程中執行,迴圈內不呼叫 LLM。launcher 只用 Python 標準函式庫,第一次對話就能立即回應研究規則並建立資料夾,同時在背景以 uv 準備回測引擎。
trader.profit 計算、trader.fmt 格式化,測試確保三處字串完全相同。完整定義見 docs/v2/design.md 第 4 節。
Claude 會替你撰寫策略,以下供想自己修改的人參考:
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub jason8745/llm-agent-trader --plugin llm-agent-traderPlugins from other owners that cover similar ground