Server pluginLiquidity providerv1.1.015 options Live demo

Inventory Skew Engine

Dynamically skews bid and ask quotes in O(1) based on live net client exposure to attract offsetting flow and prevent cross-LP arbitrage.

Get a licenseDownload

What it does

10 capabilities
  • O(1) incremental position ledger (open, update, close) with timer reconciliation
  • Zero server reads on the quote thread with digit-rounded prices and 0-spread support
  • Aggregates exposure across symbol_aliases (e.g. .raw/.pro suffixes)
  • Measure inventory in lots or FX-converted usd_notional
  • Linear or convex ramp curves with optional hysteresis_lots anti-flap band
  • Skew modes: both (symmetric shift), worsen_only, and asymmetric
  • Cross-LP arbitrage guard via max_skew_spread_ratio
  • Per-symbol wildcard rules (mask=threshold/max_skew/full_lots)
  • Book perspective selector (client or house) plus group masks and exclude_logins
  • Dry-run mode records computed skews in skew_events without altering quotes

How it works

Built for liquidity providers and market-making desks that internalize flow. Inventory Skew Engine maintains an O(1) incremental position ledger updated on position opens, updates, and closes with periodic timer reconciliation, keeping on_tick completely free of server calls and rounding mutated prices to symbol digits (supporting zero-spread ECN ticks). Aggregates net exposure across symbol_aliases (such as .raw/.pro suffixes) in either lots or FX-converted usd_notional, applies linear or convex ramp curves with optional hysteresis_lots to avoid flapping, and supports skew_mode (both, worsen_only, asymmetric) plus max_skew_spread_ratio to prevent cross-LP arbitrage. Supports book_perspective (client or house), per-symbol wildcard rules, exclude_logins, and dry_run auditing.

Parameters & options

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

17 of 17
ParameterTypeDefaultDescription
groups
group mask*,!demo*Client groups whose open positions define the net inventory (MT5 group mask)
exclude_logins
textemptyLogins excluded from inventory (for example coverage or LP accounts), separated by commas
symbols
text*Symbols eligible for inventory skewing, comma separated; wildcards and ! exclusions allowed. * means all
symbol_aliases
textemptyMap suffix/variant symbols onto one canonical bucket: mask=canonical separated by semicolons, for example EURUSD.raw=EURUSD; EURUSD.pro=EURUSD
measure_in
textlotsInventory unit: lots (net lots) or usd_notional (FX-converted net notional in account currency)
threshold_lots
number10.00Net exposure threshold (lots or USD notional per measure_in) before skewing starts (two decimals)
full_skew_lots
number50.00Net exposure at which max_skew_points is reached (two decimals)
hysteresis_lots
number0.00Anti-flap band (lots or USD notional per measure_in) before active skew reduces or resets to zero. 0: off
max_skew_points
int5Maximum quote shift in points. 0: skewing off
curve
textlinearRamp curve from threshold to full skew: linear or convex (quadratic)
skew_mode
textbothboth: shift bid and ask equally. worsen_only: shift only the discouraging side. asymmetric: full shift on discouraging side, half on attracting side
max_skew_spread_ratio
number0.00Cap improving-side shift to this multiple of raw tick spread (for example 0.50 = half spread) to prevent cross-LP arbitrage. 0: off
rules
textemptyPer-symbol overrides, first match wins: mask=threshold/max_skew/full_lots separated by semicolons, for example EUR*=5/3/40; XAU*=2/15/20
book_perspective
textclientclient: net long clients shift quotes up (standard internalization). house: treats net inventory as house position (opposite sign)
dry_run
bool01: record computed skews to skew_events without modifying live quotes. 0: apply skew to live ticks
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.1.0Latest2026-11-24

    O(1) incremental position ledger with on_position_update and timer reconciliation, rounded prices with 0-spread ECN support, strict rule validation, replaced invert_direction with book_perspective (client/house), and added symbol_aliases, skew_mode, max_skew_spread_ratio, measure_in (lots/usd_notional), hysteresis_lots, and curve (linear/convex).

  2. v1.0.12026-11-22

    Expanded unit and end-to-end test coverage for netting, partial rules, and quote boundary guards.

  3. v1.0.02026-11-21

    First release: inventory-driven bid/ask skewing, per-symbol wildcard rules, linear ramp, exclude_logins, and dry-run audit logging.

Liquidity provider

View all server plugins