Server pluginExposure and abusev1.5.010 options Live demo

Risk Manager

Live A/B-book exposure with multi-asset FX conversion, latency and stale-quote arbitrage protection, real-time login/IP opposite-trade detection and blocking, and A/B routing.

Get a license

What it does

12 capabilities
  • Live exposure and floating result, A-book and B-book
  • Multi-asset USD exposure with profit currency, cross triangulation and index overrides
  • Real-time login IP tracking and same-IP buy/sell pair detection
  • Optional blocking with CIDR/wildcard IP whitelist and fail-closed mode
  • Open-book trade attribution and partial-close execution tracking
  • Skill, toxicity and abuse scores with configurable history backfill
  • Execution data per trade: millisecond times, slippage, spread, EA magic, SL and TP
  • Order request counting including order modifications and cancellations
  • Account facts for scoring: country, agent, leverage, balance and credit
  • Dynamic B-book / A-book pairs with optional wait-until-flat moves
  • Group pairs verified for matching deposit currency
  • Latency and stale-quote arbitrage protection (delay, asymmetric slip, requote/reject)

How it works

The plugin watches the client groups you name and sends live exposure to your Risk page every few seconds: net position per symbol in US dollars (using symbol profit currency, MT5 conversion rates, optional index currency overrides, and USD cross triangulation), floating profit and loss, credit, margin level, and net open position split between the A-book and B-book. It protects the B-book against latency and stale-quote arbitrage via real-time dealing hooks (off-lock execution delay, asymmetric or symmetric post-delay slippage, stale-quote rejection, price-drift requote/rejection, and flagged-account targeting) and detects favourable-slippage quote pickoffs. It also captures client login IPs in real time to detect or block same-IP opposite trades, preserves opening execution data and open book across partial closes, counts order requests including modifications/cancellations, and carries out A/B group moves from FXOps Pro. Everything else (arbitrage mode, delay, thresholds, blocking, scoring rules) is set on the Risk page.

Parameters & options

Configured directly in MetaTrader 5 Administrator and testable live in the simulator.

12 of 12
ParameterTypeDefaultDescription
pairs
textreal\B-book > real\A-bookA-book / B-book group pairs separated by semicolons: <B-book group> > <A-book group>; ... (up to 20 pairs; both groups in a pair need the same deposit currency)
watch_groups
group maskemptyMore client groups (MT5 group mask) watched for exposure and same-IP trades, besides the pair groups. Empty: only the pairs
poll_seconds
int10Fallback poll interval in seconds (5 to 60), used until the server answers. The server's interval then replaces it
max_accounts
int2000Most accounts sent to the page with the exposure, the largest first (1 to 2000)
ip_whitelist
textemptyIP addresses, CIDR ranges or wildcards exempt from same-IP checks, separated by commas or semicolons (e.g. 10.0.0.0/8, 203.0.113.*)
symbol_currency_map
textemptyQuote currency overrides for non-FX symbols, semicolon-separated (e.g. JPN225=JPY; HK50=HKD; GER40=EUR; UK100=GBP)
auto_move_require_flat
bool0Wait until an account has no open positions before carrying out a group move (1 = wait until flat, 0 = move immediately)
fail_closed_hedge_block
bool0Fail closed for same-IP hedge blocking before the first server sync or when client IP/account cannot be verified (1 = fail closed, 0 = fail open)
backfill_days
int0Days of deal history to read at start (0 to 365). 0 uses the server's window_days setting
backfill_rate
int10Accounts read per timer tick during history backfill (1 to 100)
license_key
System
textemptyLicense key from FXOpsPro, for example FXO-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
license_server
System
texthttps://plugins.fxopspro.comLicense server address

Release history

  1. v1.5.0Latest2026-12-03

    Adds real-time latency and stale-quote arbitrage protection via kDealing (off-mutex execution delay, asymmetric/symmetric post-delay slippage, stale-quote rejection, price-drift requote or reject, close-order skip, and flagged-account targeting), post-fill quote-pickoff alerts, and CRM-synced arbitrage settings persisted across restarts.

  2. v1.4.12026-11-29

    Allows configuring A-book and B-book group pairs remotely from the CRM Risk Manager settings (book_pairs), overriding the MT5 Administrator pairs parameter without reinstalling the plugin and persisting across restarts.

  3. v1.4.02026-11-24

    Preserves opening execution details across partial closes and stamps closed trades with their open book; subscribes to client logins (pre-VPN IP capture) and order modify/cancel spam; adds CIDR/wildcard ip_whitelist, symbol_currency_map + Symbol::currency_profit + USD cross triangulation for non-USD indices and lowercase FX, dynamic semicolon-separated pairs (up to 20), auto_move_require_flat, fail_closed_hedge_block, backfill_days/backfill_rate, O(1) symbol-indexed hedge checks, logins_in_group scans, LRU IP pruning, req matching, and full body shrink under 2 MB.

  4. v1.3.02026-11-22

    The plugin now does only its own job. It no longer measures markouts or quote age, and no longer sends LP gateway data, LP markup, commission, swap, deposits, withdrawals, bonuses, login IP records or hashed e-mail and phone keys. The Risk page drops the matching columns, lists and scores. Same-IP pair blocking, the A-book move and the trader scores stay. Markouts and quote age at the fill are now in LP Execution Quality.

  5. v1.2.02026-11-20

    Each closed trade also carries its commission, swap, LP gateway and the markup kept against the LP; markouts carry the quote age at the fill. The Risk page adds revenue per deal and profit by client, group and symbol, exposure per currency, group and account, risk and margin alerts, feed-exploitation and coordinated-account detectors, trade clusters, a cost what-if (commission, spread, LP) and a daily risk summary.

  6. v1.1.02026-11-19

    Execution data per trade, markouts, login IPs, cash and linking keys; skill, toxicity and abuse scores, detectors, levels and cases.

Exposure and abuse

View all server plugins