Define the rules
Create a versioned rule set with explicit loss limits, reset time and completion conditions.
02 / PROP FIRM RULES API
Evaluate customer-supplied account data against explicit rules. Follow loss limits, track eligibility and retain the history behind each result.
Create a versioned rule set with explicit loss limits, reset time and completion conditions.
Start a separate phase ledger with its own balance, currency and pinned rule version.
Send ordered realized and unrealized P&L updates with retry-safe identifiers.
Read remaining loss allowance, eligibility and the associated event history.
ILLUSTRATIVE ACCOUNT / $100K
With a $100,000 day-start reference and a 5% daily limit, the floor is $95,000. An equity value of $95,500 leaves $500 of allowance.
This example uses a supplied equity snapshot. A continuous monitoring claim requires complete source data.
| Rule | Beta behavior |
|---|---|
| Daily loss | Compare equity to an explicit daily floor; configure the reference and reset time. |
| Maximum loss | Support static and observed-equity trailing floors, including a cap at initial balance. |
| Profit target | Track realized net profit; completion requires the other enabled eligibility conditions. |
| Consistency | Track the best day’s share of total net profit as recoverable eligibility, not an immediate permanent failure. |
| Minimum trading days | Count valid close events using the same trading-day boundary as daily rules. |
| Audit history | Preserve event identifiers, rule versions, before/after context and the reason for each evaluation. |
ACCOUNT STATE MATTERS
Duplicate events return the original result. Conflicting retries and out-of-order events are rejected rather than silently changing account history.
A known hard-loss breach remains recorded after equity recovers. Missing boundary snapshots prevent a definitive new pass decision.
Payout execution, automated funding, strategy surveillance and native broker connectors are later integrations.
Explore the event contract →BUILD WITH FYNX