# Self-Trade Prevention (/docs/risex/trading/self-trade-prevention)

## Overview

RISEx implements self-trade prevention (STP) to ensure that a single account cannot match orders with itself. This prevents wash trading and maintains market integrity.

***

## How It Works

When you submit an order, the matching engine checks if any resting orders on the opposite side belong to the same account. If a potential self-match is detected, the system prevents the trade from executing.

***
