Platform Verification
The integration suite runs against a real WordPress and MariaDB 11.8 database to verify order execution, PnL math, drawdown rules, scaling, and access controls. The live proof runs against live market quotes on a dedicated test account. All counts, failures, and skipped checks below reflect the exact recorded runs on the dates shown.
Integration Suite (WordPress + MariaDB 11.8)
Executed in CI against a real MariaDB 11.8 database and WordPress REST API.
Date (UTC): 2026-11-29T10:54:32+00:00
Code version: b9cebce
Running on live: yes
Total
27
Passed
27
Failed
0
Skipped
0
PnL Verification Table
| Symbol | Side | Lot | Open | Close | Expected | Actual | Difference |
|---|---|---|---|---|---|---|---|
| EURUSD | BUY | 1 | 1.1 | 1.105 | 500 | 500 | 0 |
| USDJPY | BUY | 1 | 150 | 151.5 | 990.1 | 990.1 | 0 |
| XAUUSD | BUY | 1 | 2600 | 2610 | 1000 | 1000 | 0 |
| US30 | BUY | 1 | 42000 | 42100 | 100 | 100 | 0 |
| BTCUSD | BUY | 1 | 90000 | 90500 | 500 | 500 | 0 |
Checks
| Check | Status | Detail |
|---|---|---|
| Setup: manual challenge created via REST | PASS | — |
| Open EURUSD buy 1 lot | PASS | {"success":true,"position_id":1,"open_price":1.1,"margin":1100,"commission":0} |
| Close EURUSD PnL matches expected 500 | PASS | expected=500, actual=500.0 |
| Open USDJPY buy 1 lot | PASS | {"success":true,"position_id":2,"open_price":150,"margin":1000,"commission":0} |
| Close USDJPY PnL matches expected 990.1 | PASS | expected=990.1, actual=990.1 |
| Open XAUUSD buy 1 lot | PASS | {"success":true,"position_id":3,"open_price":2600,"margin":2600,"commission":0} |
| Close XAUUSD PnL matches expected 1000 | PASS | expected=1000, actual=1000.0 |
| Open US30 buy 1 lot | PASS | {"success":true,"position_id":4,"open_price":42000,"margin":420,"commission":0} |
| Close US30 PnL matches expected 100 | PASS | expected=100, actual=100.0 |
| Open BTCUSD buy 1 lot | PASS | {"success":true,"position_id":5,"open_price":90000,"margin":900,"commission":0} |
| Close BTCUSD PnL matches expected 500 | PASS | expected=500, actual=500.0 |
| Idempotency-Key returns same position | PASS | pid1=6 pid2=6 |
| Buy SL triggers on bid while Sell TP waits for ask | PASS | — |
| Sell TP triggers on ask | PASS | — |
| Stale quote refuses open | PASS | status=400 |
| Stale quote refuses close | PASS | status=400 |
| Large pending order placed | PASS | status=200 id=1 |
| New order exceeding remaining free margin is refused | PASS | status=400 |
| Daily DD hit via /mt5/sync marks challenge failed | PASS | status=failed |
| Breached challenge cannot be reactivated by sync or admin unfreeze | PASS | status=failed |
| Scaling refused while payout is pending | PASS | status=409 |
| Scaling at 110k -> balance 135,000, withdrawable 10,000 | PASS | bal=135000, start=125000, withdrawable=10000 |
| Checkout recomputes plan price (499.00) and ignores forged 1.00 | PASS | {"success":true,"order_id":1,"amount":499,"original":499,"discount":0,"currency":"USD"} |
| Read-only API key denied on POST /payout-method | PASS | status=401 |
| Perk farm capped at <= 3 perks across 10 same-pair duels | PASS | count=0 |
| Admin balance adjust writes exactly 1 audit row with before/after JSON | PASS | — |
| GET /admin/audit-log returns rows to super_admin and 403 to non-admin | PASS | — |
Live Trading Proof
Not run yetExecuted against live market quotes on a dedicated test account.
Not run yet.