> For the complete documentation index, see [llms.txt](https://docs.satoshiterminal.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.satoshiterminal.io/resources/copy-of-defi-analytics/insights-and-predictive-analytics/high-frequency-trader-detection.md).

# High-Frequency Trader Detection

**Implementation Details**

**Class Names**

| Model Name                   | Parameters Class               | Data Class              |
| ---------------------------- | ------------------------------ | ----------------------- |
| HighFrequencyTraderDetection | HighFrequencyTraderQueryParams | HighFrequencyTraderData |

**Import Statement**

```python
pythonCopyEditfrom satoshi_terminal.models.high_frequency_trader_detection import (
    HighFrequencyTraderDetection,
    HighFrequencyTraderQueryParams,
    HighFrequencyTraderData,
)
```

***

**Parameters**

| Name                        | Type | Description                                                    | Default | Optional |
| --------------------------- | ---- | -------------------------------------------------------------- | ------- | -------- |
| blockchain\_name            | str  | Blockchain to monitor for high-frequency trading activity.     | None    | False    |
| time\_window                | int  | Time window (in minutes) to detect trading patterns.           | 60      | True     |
| trade\_frequency\_threshold | int  | Minimum number of trades per minute to flag as high-frequency. | 10      | True     |

***

**Data**

| Name                | Type     | Description                                                              |
| ------------------- | -------- | ------------------------------------------------------------------------ |
| trader\_id          | str      | Identifier of the detected high-frequency trader (e.g., wallet address). |
| trade\_count        | int      | Number of trades executed in the specified time window.                  |
| transaction\_volume | float    | Total transaction volume (in USD).                                       |
| market\_impact      | float    | Estimated market impact of the detected activity.                        |
| timestamp           | datetime | Timestamp of the detection.                                              |

***

**Key Features**

* **Real-Time Detection:** Monitors and flags high-frequency trading activity in real time.
* **Market Impact Estimation:** Quantifies how detected trading patterns influence market prices.
* **Customizable Thresholds:** Allows users to define thresholds for trade frequency and volume.
