Rule sets
Define and version the criteria an account is judged against, and read the rule catalogue your tier unlocks.
A rule set is the criteria an account is judged by: daily drawdown, maximum drawdown, profit target, minimum trading days, plus whatever else you build from the rule catalogue. It is versioned, and versions are immutable.
Versions are append-only
This is the single most important thing on this page
Editing a rule set appends a new version. It never changes an existing one, and there is no endpoint that can. A trading account freezes the version current at its creation and is judged by that version for the rest of its life.
So tightening your rules today cannot retroactively breach an account somebody bought last month. That is deliberate and not configurable — it is what makes a challenge you sold defensible.
List rule sets
/v1/rule-setsAvailablescope · accounts:readNewest first, cursor-paginated. Each set carries current_version: the numbers and rules a new account would freeze right now, or null until its first version is appended.
{
"data": [
{
"id": "7c4a…",
"name": "Standard Rules",
"version_count": 3,
"current_version": {
"id": "e19b…",
"version_number": 3,
"daily_drawdown_pct": 5,
"max_drawdown_pct": 10,
"profit_target_pct": 8,
"min_trading_days": 3,
"allowed_instruments": [],
"rules": [],
"phases": [],
"effective_from": "2026-10-02T09:14:00Z"
},
"archived_at": null,
"created_at": "2026-09-28T11:40:00Z"
}
],
"next_cursor": null
}Create a rule set
/v1/rule-setsAvailablescope · accounts:writeTakes a name and creates an empty set; append its first version before pointing an account type at it. Your plan caps how many rule sets you can have: over the cap answers 422 over_tier_limit.
List versions
/v1/rule-sets/{id}/versionsAvailablescope · accounts:readNewest first. Exactly one has is_current: true: that is the one a new account will freeze.
Append a version
/v1/rule-sets/{id}/versionsAvailablescope · accounts:writecurl -X POST https://api.propexecutor.com/v1/rule-sets/7c4a…/versions \
-H "Authorization: Bearer $PFX_KEY" \
-H "Content-Type: application/json" \
-d '{
"daily_drawdown_pct": 5,
"max_drawdown_pct": 10,
"profit_target_pct": 8,
"min_trading_days": 3,
"allowed_instruments": ["EURUSD", "GBPUSD", "XAUUSD"],
"rules": [
{ "key": "max_open_positions", "params": { "count": 3 }, "action": "breach" },
{ "key": "max_lot_per_order", "params": { "lots": 5 }, "action": "breach" }
]
}'daily_drawdown_pctnumber | nullmax_drawdown_pctnumber | nullprofit_target_pctnumber | nullmin_trading_daysintegerallowed_instrumentsstring[]rulesobject[]key, params and an action of breach or flag (the catalogue lists which each rule offers). An older reject_order is still accepted and saved as breach.What an action does
| action | Effect |
|---|---|
breach | Ends the challenge the moment the rule fires. A rule that fires on an order lets the order through first, so the trade is in the account's history as evidence, then breaches the account and closes it out. Checked inside the transaction that writes the order, so it holds under concurrent orders. |
flag | Records it for your review and lets trading continue. Read them from rule flags. |
A rule the catalogue does not know, or a parameter out of range, answers 400 invalid_rules with the index, rule_key and field at fault. A rule or rule count your plan does not include answers 422 over_tier_limit. Nothing is saved in either case.
The rule catalogue
/v1/rule-catalogAvailablescope · accounts:readEvery rule you can build with, its parameters, and whether your plan tier unlocks it. Read this rather than hard-coding a list: it is the same source the rule builder in the panel renders from, and the server validates against it.
Rules run on events
Rules are evaluated on price ticks, fills and orders, never on a timer that could put a breach decision behind a delay. The news blackout is judged when an order opens; inactivity is the one rule checked on a schedule, because it fires on the absence of trading. A rule the catalogue lists as unavailable is refused.
Warn first, then breach
A breach rule judged when an order opens can give warnings before it breaches. Add an escalation to it:
{
"key": "averaging_down",
"params": { "max_adds": 0 },
"action": "breach",
"escalation": { "warnings": 1, "mode": "allow" }
}escalation.warningsintegerescalation.modestringallow. A warned order always goes through; an older reject is accepted and treated as allow.- Warnings follow the trader through the challenge. They are counted by rule across an account and every account it was promoted from: a trader warned in Phase 1 is breached on the first violation in Phase 2, and in the funded account after it.
- Every warning is kept with its evidence: the order and the trades it was judged against, with tickets, sides, lots, prices and times. Read them per account from warnings, or firm-wide from the warnings feed. A warning is never edited or removed.
- Only rules that can breach and are judged on an order can warn. Equity limits (daily loss, max loss, trailing drawdown) always breach on the first hit.
Behaviour and news rules
The parameters and ranges are in the catalogue; this is what each one judges.
| key | Parameters | Judges | Actions |
|---|---|---|---|
news_blackout | minutes_before, minutes_after (0–240), judge_closes (on / off, default off) | An order that OPENS a position from minutes_before ahead of a high-impact (red-folder) release on one of the instrument's currencies to minutes_after it. A resting order is judged when it triggers, not when it is placed. Opens only, unless judge_closes is on: then a position CLOSING inside the same window also trips it, whatever closed it (by hand, stop loss, take profit). The close always goes through; with breach the account is breached right after it. A close-out caused by the account being breached, passed or archived never trips it. Fails open: if the economic calendar cannot answer for that moment, or the instrument's currencies are unknown, the rule does not fire. The windows are readable at GET /v1/economic-calendar. | breach, flag |
trade_burst | count, seconds | High-frequency trading: the open that makes `count` positions opened within `seconds`. | flag, breach |
averaging_down | max_adds, cooldown_minutes (optional) | An open on the same side of an instrument while more than max_adds positions there are losing; or, with a cooldown, any open on an instrument within cooldown_minutes of a trade on it closing in loss. | breach, flag |
martingale | multiplier | After a losing trade on an instrument, an order there at least multiplier × that trade's size. | flag, breach |
hedging_ban | — | An open on the opposite side of an instrument already held. | breach, flag |
cross_account_trading | seconds (1–3600), detect (both, copy, hedge) | Two of YOUR accounts opening the same instrument within seconds of each other: on the same side (copy trading) or on opposite sides (a hedge across accounts). Both accounts are flagged, each with the other's account number in the reason, and each flag sends account.flagged. Judged right after a position opens (a market order or a resting order filling), never inside the order, so it cannot refuse or slow one. Accounts of other firms are never compared. On either account's rule set is enough. | flag |
max_orders_per_day | count | Orders placed in one UTC day (market orders and resting orders). | breach, flag |
min_hold_time | seconds | A trade closed sooner than this after it opened. | flag, breach |
inactivity_breach | days | No new trade for this many days since the account was assigned (or its last trade). | breach |
The economic calendar
/v1/economic-calendarAvailablescope · accounts:readThe releases news_blackout judges against, so you can show your traders the windows before they trade into one. Every time is UTC. By default the next 7 days of every impact and currency; from and to (RFC3339, at most 31 days apart), impact (high, medium, low, holiday, comma-separated) and currency (USD,EUR) narrow it. The rule only ever looks at high.
covered says whether the calendar holds data for the whole range you asked for. When it is false the list may be empty or partial because we do not know, not because nothing is scheduled: show that as “unknown”, never as “no news”. covers_from / covers_to give the span the calendar does hold. A range the calendar cannot cover is also a range in which the rule does not fire (it fails open).
curl "https://api.propexecutor.com/v1/economic-calendar?impact=high&from=2026-10-26T00:00:00Z&to=2026-10-31T00:00:00Z" \
-H "Authorization: Bearer $PFX_KEY"{
"data": [
{ "at": "2026-10-28T12:30:00Z", "currency": "USD", "impact": "high",
"title": "Core PCE Price Index m/m", "previous": "0.2%", "forecast": "0.3%" }
],
"from": "2026-10-26T00:00:00Z",
"to": "2026-10-31T00:00:00Z",
"covered": true,
"covers_from": "2026-10-04T00:00:00Z",
"covers_to": "2026-11-30T19:00:00Z",
"source": "tradingview"
}Open lots by asset class
max_open_lots_by_class caps how many lots may be open at once in each asset class, separately. Every symbol in a class counts toward that class’s cap, and classes never add up with each other: 4 lots of EURUSD and 1 of GBPJPY are 5 FOREX lots, and do not touch the GOLD cap. Set a cap (in lots, 0.01 to 1,000) on any of the ten classes and leave the rest empty; at least one is required. Actions: breach (the default) or flag, and warn first works with breach.
It is judged inside the order’s own transaction whenever a position opens — a market order, or a resting order filling — counting the lots that order adds against the positions open at that moment. Placing or editing a resting order is not judged, and closing never is (it can only lower a total).
| Param | Class | Symbols |
|---|---|---|
forex | FOREX | Every currency pair (EURUSD, GBPJPY, …) |
gold | GOLD | XAU… |
silver | SILVER | XAG… |
btc | BTC | BTC… |
eth | ETH | ETH… |
other_crypto | OTHER_CRYPTO | Every other coin (SOL, XRP, LTC, …) |
nas100 | NAS100 | NAS100, USTEC, NDX |
us30 | US30 | US30, DJI |
us500 | US500 | US500, SPX |
other_indices | OTHER_INDICES | Every other index (GER40, UK100, JP225, …) |
Energy (oil, gas), platinum and palladium are in no class and never count toward a cap.
{
"id": "lots",
"key": "max_open_lots_by_class",
"action": "breach",
"params": { "forex": 10, "gold": 2, "nas100": 5 }
}