Prop Firm Rules (FloorGuard)
v0.1.0Sourced prop-firm daily-loss and max-drawdown rules and a drawdown-room checker.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_firms List prop firms and programs
List supported prop firms and their programs: program ids, account sizes, verified flags and last-verified dates. Same data as GET /api/v1/firms.
get_rules Get rules for one program
Full daily-loss and max-drawdown rules for one program (static/trailing mode, lock, reset time, notes, official source links, firm copy-trading/automation policy). Same as GET /api/v1/rules?program=<id>.
| Parameter | Type | Description |
|---|---|---|
program * | string | Program id from list_firms, e.g. ftmo_2step |
check_drawdown Check remaining drawdown room
Remaining daily-loss and max-drawdown room in dollars for an account, the binding limit and breach flags, computed with the same model as the FloorGuard calculator. Same inputs as GET /api/v1/check.
| Parameter | Type | Description |
|---|---|---|
accountSize * | number | Nominal account size, e.g. 100000 (must be one of the program sizes when the rule is a fixed $ amount per size) |
currentEquity * | number | Current equity including open P&L |
program * | string | Program id from /api/v1/firms, e.g. ftmo_2step |
currentBalance | number | Current closed balance (default: currentEquity) |
customDailyLoss | number | Your own daily loss limit in $ for programs without one (e.g. Topstep optional DLL) |
dayStartBalance | number | Balance at the daily reset, if positions were held through it (default: currentEquity - todayPnl) |
highWaterMark | number | Peak the firm trails from (highest EOD balance / closed balance / intraday equity, per program mode). Default: computed like the site calculator |
startingBalance | number | Initial balance the percentages apply to (default: accountSize) |
todayPnl | number | Today's P&L since the firm's daily reset, closed + open (default 0) |