Built-in Variables
Built-in variables are ready-to-use aggregations provided by Apata. They are automatically calculated for all Risk Profiles and track average successful transaction amounts in EUR and USD over various timeframes.
Ready to Use
No configuration required-use directly in Conditional Rules.
Automatic Calculation
Values updated in real-time for all risk profiles.
Built-in variables cannot be modified but can be used directly in Conditional Rules to compare transaction amounts against historical averages.
EUR Variables
| Variable | Description |
|---|---|
avg_spend_in_euro_per_day_this_week | Average EUR per day, current week |
avg_spend_in_euro_per_day_last_week | Average EUR per day, last week |
avg_spend_in_euro_per_day_this_month | Average EUR per day, current month |
avg_spend_in_euro_per_day_last_month | Average EUR per day, last month |
avg_spend_in_euro_per_day_this_quarter | Average EUR per day, current quarter |
avg_spend_in_euro_per_day_last_quarter | Average EUR per day, last quarter |
USD Variables
| Variable | Description |
|---|---|
avg_spend_in_usd_per_day_this_week | Average USD per day, current week |
avg_spend_in_usd_per_day_last_week | Average USD per day, last week |
avg_spend_in_usd_per_day_this_month | Average USD per day, current month |
avg_spend_in_usd_per_day_last_month | Average USD per day, last month |
avg_spend_in_usd_per_day_this_quarter | Average USD per day, current quarter |
avg_spend_in_usd_per_day_last_quarter | Average USD per day, last quarter |
Use Cases
Detect Daily Spending Spikes
Compare current transaction to this week's daily average:
amount > avg_spend_in_euro_per_day_this_week → ChallengeCompare to Last Week's Pattern
Identify deviations from last week's spending:
amount > avg_spend_in_euro_per_day_last_week → ChallengeLong-Term Trend Analysis
Compare to quarterly averages for long-term fraud detection:
amount > avg_spend_in_usd_per_day_this_quarter → ChallengeWeekly Anomaly Detection
Spot unusual weekly spending patterns:
amount > avg_spend_in_euro_per_week_last_month → ChallengeExample Rules
| Rule | Description |
|---|---|
amount > avg_spend_in_euro_per_day_this_week | Challenge if above this week's daily average |
amount > avg_spend_in_usd_per_day_last_month | Challenge if above last month's daily average |
amount > avg_spend_in_euro_per_week_this_quarter | Challenge if above this quarter's weekly average |
Combining with Custom Variables
You can use built-in and custom variables together in Conditional Rules:
amount > avg_spend_in_euro_per_day_this_week
AND totalSpend24h > 500
→ Challenge
Related Topics
- Variables Overview – Create custom variables
- Risk Profile – Configure rules and variables
- Conditional Rule – Use variables in rules
Updated 24 days ago