Prop Firm Rules (FloorGuard)

v0.1.0
io.github.kburrus64-max/prop-firm-rules Checked 11 hours ago Published 1 month ago

Sourced 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>.

ParameterTypeDescription
program *stringProgram 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.

ParameterTypeDescription
accountSize *numberNominal account size, e.g. 100000 (must be one of the program sizes when the rule is a fixed $ amount per size)
currentEquity *numberCurrent equity including open P&L
program *stringProgram id from /api/v1/firms, e.g. ftmo_2step
currentBalancenumberCurrent closed balance (default: currentEquity)
customDailyLossnumberYour own daily loss limit in $ for programs without one (e.g. Topstep optional DLL)
dayStartBalancenumberBalance at the daily reset, if positions were held through it (default: currentEquity - todayPnl)
highWaterMarknumberPeak the firm trails from (highest EOD balance / closed balance / intraday equity, per program mode). Default: computed like the site calculator
startingBalancenumberInitial balance the percentages apply to (default: accountSize)
todayPnlnumberToday's P&L since the firm's daily reset, closed + open (default 0)