Interest on Free Margin
Accrue daily interest on idle free margin or balance with tiered APY rates, activity qualifiers, payout schedules, and native MT5 interest hook support.
What it does
8 capabilities- Daily micro-cent accrual ledger eliminates fractional-cent rounding drift across cycles
- Accrues on free_margin or cash balance while always excluding bonus credit
- Tiered APY schedule (rate_tiers) plus per-group (group_rates) and per-currency (currency_rates) overrides
- Activity qualifiers (min_monthly_lots and min_monthly_trades) verified from closed trade deals
- Configurable daily, weekly, or monthly payout schedules with 360 or 365 day-count basis
- Optional per-period payout cap (max_payout_per_period) and client payout statement emails
- Dual payout engine: confirmed DEAL_INTERESTRATE balance ops or native MT5 HookTradeInterest
- Isolated dry-run preview mode, restart-safe state persistence, and CRM accrual/payout reports
How it works
Interest on Free Margin pays yield on idle client funds to retain deposits and reward active traders. Each day at the configured UTC snapshot time, it computes eligible funds from free margin or cash balance while always excluding bonus credit, resolves the effective APY from per-group overrides, per-currency rates, or tiered balance schedules, and accrues daily interest in exact micro-cents so fractional cents never drift over a 30-day cycle. Payouts execute daily, weekly, or monthly via confirmed MT5 DEAL_INTERESTRATE operations (or directly via MT5 native HookTradeInterest when use_native_hook is enabled), enforce optional monthly closed-lot and trade-count qualifiers plus per-period payout caps, email payout statements to clients, and record full accrual and payout ledgers to CRM reports.
Parameters & options
Configured directly in MetaTrader 5 Administrator and testable live in the simulator.
| Parameter | Type | Default | Description |
|---|---|---|---|
groups | group mask | *,!demo* | Client groups eligible for margin interest (MT5 group mask). * means all |
exempt_logins | text | empty | Logins excluded from accrual and payout, separated by commas |
base | text | free_margin | Interest calculation base (always excludes bonus credit): free_margin or balance |
rate_tiers | text | 0=0.00; 5000=3.00; 50000=5.00 | Tiered APY rates as eligible_amount=apy_percent, semicolon separated |
group_rates | text | empty | Per-group APY % overrides, semicolon separated, for example vip*=6.00; islamic*=0.00 |
currency_rates | text | empty | Per-currency APY % overrides, semicolon separated, for example USD=5.00; EUR=3.50; JPY=0.50 |
min_monthly_lots | number | 0.00 | Minimum closed traded lots in the month required to receive payout. 0.00 disables check |
min_monthly_trades | int | 0 | Minimum closed trades in the month required to receive payout. 0 disables check |
max_payout_per_period | number | 0.00 | Maximum interest payout per period in account currency. 0.00 means uncapped |
payout_schedule | text | monthly | Payout frequency: daily, weekly, or monthly |
accrual_time | text | 23:55 | UTC daily accrual snapshot time, HH:MM |
day_count | int | 365 | Annual day-count basis: 360 or 365 |
use_native_hook | bool | 0 | 1: supply interest via MT5 native HookTradeInterest. 0: pay via BalanceKind::Interest deals |
notify_client | bool | 1 | 1: send MT5 internal mail statement on payout. 0: no email |
comment | text | Free margin interest | Deal comment for interest payouts (up to 31 characters) |
dry_run | bool | 1 | 1: simulate accruals and payouts in isolated dry-run state without crediting accounts. 0: pay 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 |
Billing



