Corporate Actions Manager
Automate equity CFD dividends, futures contract rollovers, forward and reverse stock splits, and contract expirations from one multi-event schedule with true FX conversion and dry-run previews.
What it does
10 capabilities- Multi-event schedules with wildcard symbol masks for dividends, rollovers, splits, and expiries
- True FX conversion into account currency (USD, EUR, JPY, USC, and cross-currency CFDs)
- Dividend withholding tax with per-group treaty overrides (tax_by_group) and short-pays control
- Futures rollover gap corrections with optional broker markup points and selectable deal kind
- Forward and reverse stock splits with atomic two-phase execution and fractional cash-in-lieu
- Native MT5 HookTradeSplit support plus automatic SL/TP shifting and pending-order cancellation
- Contract expiration scheduler with deduplicated pre-expiry client mail warnings and auto-close
- Exact 128-bit overflow-safe arithmetic with half-away-from-zero rounding
- Crash-safe state persistence with immediate mark_dirty and automatic 365-day pruning
- Dry-run preview mode by default and four structured CRM report tables
How it works
Corporate Actions Manager unifies share CFD dividend allocation, futures rollover gap correction, forward and reverse stock splits, and contract expiration handling into a single MT5 server plugin. Brokers configure multi-event schedules using wildcard symbol masks (matching broker suffixes such as AAPL.pro or USOIL.raw) and optional event currencies converted automatically into each client's account currency via MT5 exchange rates. Dividends support short-position debits, default withholding tax, and per-group tax treaty overrides (such as 15% W-8BEN or 0% UK groups). Futures rollovers adjust balances using exact overflow-safe arithmetic, optional broker markup points, selectable balance deal kinds (correction, swap, or charge), automatic SL/TP shifting, and pending-order cancellation. Stock splits handle both scheduled splits (atomic two-phase reopen/close with fractional cash-in-lieu payout) and native MT5 HookTradeSplit events. Contract expirations send deduplicated pre-expiry mail warnings and flatten expiring positions and pending orders automatically. Defaults to dry-run preview mode, marks state dirty immediately on execution to prevent double-runs across crashes, prunes old history after 365 days, and emits structured CRM reports.
Parameters & options
Configured directly in MetaTrader 5 Administrator and testable live in the simulator.
| Parameter | Type | Default | Description |
|---|---|---|---|
groups | group mask | * | Client groups affected by corporate actions (MT5 group mask). * means all |
exclude_logins | text | empty | Comma-separated account logins excluded from all corporate actions |
dividends | text | empty | Semicolon-separated dividend schedule: SYMBOL_MASK=YYYY-MM-DD[ HH:MM]=PER_SHARE[=CCY] |
short_pays_dividend | bool | 1 | 1: short positions pay the dividend on ex-date. 0: only long positions are affected |
tax_percent | number | 0.00 | Default withholding tax percentage on long dividends (0.00 to 100.00) |
tax_by_group | text | empty | Per-group withholding tax overrides, semicolon separated, for example us_w8ben*=15.00; uk*=0.00 |
rollovers | text | empty | Semicolon-separated futures rollover schedule: SYMBOL_MASK=YYYY-MM-DD[ HH:MM]=PRICE_GAP[=CCY] |
rollover_markup_points | int | 0 | Optional broker rollover fee in points debited from each rolled position (0 to 1000000) |
rollover_balance_kind | text | correction | How rollover adjustments are posted: correction, swap, or charge |
splits | text | empty | Semicolon-separated stock split schedule: SYMBOL_MASK=YYYY-MM-DD[ HH:MM]=NEW:OLD |
expiries | text | empty | Semicolon-separated contract expiry schedule: SYMBOL_MASK=YYYY-MM-DD[ HH:MM] |
warn_days_before | int | 3 | Days before contract expiry to send a client warning email (0 disables warnings) |
adjust_sl_tp | bool | 1 | 1: shift SL and TP prices on futures rollovers and stock splits. 0: leave SL and TP unchanged |
pending_orders | text | cancel | Pending order handling on rollovers, splits, and expiries: keep or cancel |
dry_run | bool | 1 | 1: preview and record reports without moving money, positions, orders, or sending mail. 0: execute live |
license_key | text | empty | License key from FXOpsPro, for example FXO-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX |
license_server | text | https://plugins.fxopspro.com | License server address |
dealer_login | int | 0 | Manager login with dealer rights that closes, opens, or modifies positions for the plugin. 0: the plugin only logs |
Reports and administration



