
Prop Firm Rules (FloorGuard)
io.github.kburrus64-maxv0.1.0更新於 Oct 4, 2026
Sourced prop-firm daily-loss and max-drawdown rules and a drawdown-room checker. Read-only, no auth.
概覽
唯讀取得有來源的自營交易公司每日虧損與最大回撤規則,並提供回撤空間與部位規模檢查。
- 功能
- 提供一份公開的自營交易公司風險規則資料集(每日虧損上限、最大回撤、靜態或追蹤、鎖定水準、每日重置時間),涵蓋 FTMO、FundedNext、The5ers、E8 Markets、FundingPips、Alpha Capital、Blue Guardian、Topstep 與 Apex Trader Funding 等公司。工具包括 list_firms、get_rules(program) 與 check_drawdown(program, accountSize, currentEquity, ...),回傳每日與回撤下限、剩餘空間、green/amber/red 狀態以及最大部位規模。相同演算法也以 JavaScript 與 Python 函式庫及 REST API 提供。
- 適用情境
- 適合需要查詢某家公司公布的每日虧損或回撤規則,或檢查帳戶在觸及限制前還剩多少空間時使用。也適合計算部位規模,讓停損後仍高於較緊的下限。
- 執行需求
- 遠端 Streamable HTTP 端點,無需驗證、金鑰或環境變數,只需網路存取。另有本機 stdio 版本,以 npm/GitHub 套件形式提供,需要 Node.js 18+;相關函式庫需要 Node 18+ 或 Python 3.9+。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Prop Firm Rules (FloorGuard),將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"prop-firm-rules": {
"type": "http",
"url": "https://floorguard-kappa.vercel.app/api/mcp"
}
}
}README
prop-firm-rules: prop firm drawdown rules dataset + calculator (JS & Python)
Free, sourced prop-firm drawdown rules for traders and AI agents: dataset, JS/Python calculator, REST API and a no-auth MCP server.
MCP (Claude, Cursor, any MCP client), no key needed:
Claude Code: claude mcp add --transport http prop-firm-rules https://floorguard-kappa.vercel.app/api/mcp
Prefer to run it yourself? The repo ships a zero-dependency stdio server (mcp/server.mjs, Node 18+, works offline on the
bundled dataset): {"mcpServers": {"prop-firm-rules": {"command": "npx", "args": ["-y", "github:kburrus64-max/prop-firm-rules"]}}}
▶ Live calculator (free, no sign-up, runs in your browser): floorguard-kappa.vercel.app/tools/drawdown-calculator.html
[prop-firm-rules: sourced prop firm drawdown rules dataset and calculator]
An open, sourced dataset of prop-firm risk rules (daily loss limit, max drawdown, static vs trailing, lock level, daily reset time) for FTMO, FundedNext, The5ers, E8 Markets, FundingPips, Alpha Capital, Blue Guardian, Topstep and Apex Trader Funding, plus a tiny zero-dependency drawdown calculator library in JavaScript and Python.
Every rule links to the firm's own help or rules page and carries a lastVerified date. Values that could not be
confirmed on an official page are flagged verified: false or listed in unverifiedFields.
Try it without code: the free prop firm drawdown calculator on FloorGuard uses this same dataset and math in your browser.
Disclaimer: rules change. Prop firms update their rules often, and many let you pick different percentages at checkout. This data was checked on the date shown for each program. Always verify with your firm's current rules and your account dashboard before relying on any number here. Not affiliated with any prop firm; firm names are trademarks of their owners. Not financial advice.
Rules table (last verified 2026-10-04)
"Day-start" means the value at the firm's daily reset. "Higher of day-start balance/equity" means open profit at the
reset raises the reference. Every limit is checked against equity (open P/L counts) unless the notes say otherwise.
Per-program notes (for example Topstep's optional daily loss limit, Apex lock behaviour, Blue Guardian's Guardian
Shield) are in data/firms.json.
The dataset also includes each firm's published copy-trading, multi-account and automation (EA/bot) policy
(policy on each firm), with quotes and sources. unknown means the firm's pages did not answer the question.
What's in the repo
Usage
JavaScript (Node 18+)
In the browser, import js/calc.mjs and fetch data/firms.json:
Python 3.9+
evaluate() inputs and outputs
Output: daily and drawdown (floor, room, amount, status), maxLots, bindingLimit and an overall
status of green (more than 50% of each allowance left), amber (50% or less) or red (20% or less, or breached).
Python uses the same names in snake_case (current_balance, high_water_mark, ...).
Use from AI agents
The same dataset is served live, free and read-only (no key, CORS open, ~60 requests/minute per IP) by FloorGuard:
- MCP server (Streamable HTTP, no auth):
https://floorguard-kappa.vercel.app/api/mcp- Tools:
list_firms,get_rules(program),check_drawdown(program, accountSize, currentEquity, ...) - Listed in the official MCP Registry as
io.github.kburrus64-max/prop-firm-rules(seeserver.json). - Client config example:
{"mcpServers": {"prop-firm-rules": {"type": "http", "url": "https://floorguard-kappa.vercel.app/api/mcp"}}}
- Tools:
- Local MCP server (stdio, no network needed):
npx -y github:kburrus64-max/prop-firm-rules, or after cloning,node mcp/server.mjs. Same three tools and the same math as the hosted endpoint. - REST API:
/api/v1/firms,/api/v1/rules?program=ftmo_2step,/api/v1/check; OpenAPI 3.1 at/api/v1/openapi.json. - A2A agent card:
/.well-known/agent-card.json - llms.txt:
/llms.txt
Informational only, not financial advice; verify every value with the firm.
Static vs trailing drawdown in 30 seconds
- Static: the floor is fixed at initial balance minus the allowance (FTMO 2-Step: $90,000 on $100k).
- Trailing end-of-day: the floor follows your highest end-of-day balance (Topstep MLL, FTMO 1-Step, Apex EOD).
- Trailing closed balance: follows your highest closed balance (E8 dynamic drawdown).
- Trailing intraday: follows your peak including open profit, in real time (Apex intraday).
- Lock: some trailing floors stop rising at a level such as the starting balance (Topstep, E8).
Longer explanations with sources: trailing vs static drawdown, FTMO daily loss rule, same 5% daily loss, different math.
Corrections welcome
Found a rule that changed? Open an issue with the firm's official URL and the quoted text (see CONTRIBUTING.md). Please don't submit values without an official source.
Limitations
- Commissions, swaps, slippage and server-side rounding are not modelled; firms' platforms can differ by a few dollars.
- Account-size lists marked
sizesVerified: falsewere not confirmed on an official page. - Programs with features this model does not cover (e.g. Blue Guardian funded-account Guardian Shield, consistency rules,
news restrictions, payout rules) are noted in
notesbut not calculated.
License
MIT. The dataset is a compilation of facts from the firms' public pages, with links back to them. Built by the team behind FloorGuard, a prop-account risk guard in development.
來源:README.md,提交 d9a7e54
工具
0版本歷史
1- v0.1.0最新Oct 4, 2026
