Skip to main content

Outlier Detection - Trades - ADV Dollar

Description

This test identifies anomalies in trading activity by analyzing user-specific trading behavior against benchmarks like Average Daily Volume (ADV). This test flags trades where user volumes significantly exceed a percentage of ADV within short time intervals.

Use Cases

  • Market Manipulation Detection: Identify instances of market manipulation where users execute trades with volumes significantly higher than their ADV, helping exchanges detect potential pump-and-dump schemes or collusion.

  • Regulatory Compliance Monitoring: Ensure adherence to trading regulations by flagging unusual trading behaviors, enabling compliance teams to investigate large deviations in trading volumes that may indicate market abuse.

Required Data

Trades Data

VariableDescription
timestampTimestamp of the trade made (YYYY-MM-DD hh:mm:ss).
user_idUser ID to identify the individual user.
symbol_pairThe asset symbol; e.g., BTCUSDT, SHIBETH, DOGEUSDT.
sideWhether the trade is a BUY or SELL.
price_usdThe price of the symbol in USD.
priceThe execution price of the symbol pair.
amountThe amount of the symbol being traded.

Parameters

ParameterDescriptionTypeDefault ValueConfigurable
analysis_windowThe number of days over which trades are analyzed for alerts.Integer1Yes
historical_minimum_number_transactionsMinimum number of historical transactions required to calculate user-specific characteristics.Integer5Yes
historical_minimum_number_daysMinimum number of historical unique active days required to calculate user-specific characteristics.Integer2Yes
analysis_minimum_aggregate_dollar_thresholdMinimum aggregate dollar value of transactions per user in analysis period to be considered.Float10000Yes
historical_windowNumber of days to consider for historical data.Integer30Yes
adv_windowNumber of days to calculate the ADV for each asset.Integer7Yes
adv_minimum_symbol_dollar_volumeMinimum ADV required to include an asset in the analysis.Float10000Yes
analysis_adv_resampling_periodTime interval in minutes for resampling trades in analysis window for ADV-based analysis.String15Yes
analysis_period_to_adv_volume_percentage_thresholdMinimum ratio of volume in a analysis_adv_resampling_period relative to ADV as a percentage threshold to flag users.Float0.03 (3%)Yes
analysis_user_volume_contribution_thresholdMinimum volume percentage contribution in ADV resampling window by a user to flag for unusual volume.Float0.20 (20%)Yes
create_ticketFlag to determine if tickets should be created for alerts.BooleanTrueYes

Methodology

  • Historical Trading Analysis Calculate average trading volumes and standard deviations for each user based on sufficient historical data. Compare recent trading activity to these historical benchmarks, flagging users whose volumes exceed their historical average by a significant margin.

  • ADV Benchmarking Calculate the ADV for each asset using aggregated trading volumes over a defined lookback period. Compare recent group and individual trading volumes to ADV thresholds, flagging instances where volumes exceed a percentage of ADV within short time intervals.

  • Summarize Anomalies For ADV comparison, flag users contributing disproportionately to volume traded within short periods of time. Summarize these anomalies for further review or reporting.