> For the complete documentation index, see [llms.txt](https://docs.metacopier.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.metacopier.io/features/basic-features/max-open-positions.md).

# Max open positions

Once the defined limit is reached, **no new positions will be opened** until existing ones are closed. If the number of open positions ever exceeds the threshold, **any excess will be closed automatically**. You also have the option to apply **symbol-specific limits**.

It's important to note that the system **only tracks active (open) positions**, not pending orders. If multiple orders are submitted at the same time, they may bypass the limit temporarily, as they aren’t recognized as open positions until executed. Once active, however, the limit will be enforced, and any positions exceeding the cap will be **immediately closed**, starting with the most recent.

Additionally, you can enable time-based throttling by setting a maximum number of positions allowed within a specific time window (e.g., 1 position every 120 seconds), which helps control trading frequency during high-activity periods.

<figure><img src="/files/UR5hMJH4gDEuNz1Nvl42" alt=""><figcaption></figcaption></figure>

## Settings

* **Max open positions**: The maximum number of positions that can be open simultaneously. When this limit is reached, new positions will be skipped until existing ones close. Set to 0 to disable this limit.
* **Max positions in time window**: The maximum number of positions allowed to open within the specified time window. For example, setting this to 1 limits opening to 1 position per time window. When multiple orders arrive simultaneously, only the first N positions (based on this value) will be opened; the rest are skipped. Set to 0 to disable time-based throttling.
* **Time window (seconds)**: The duration in seconds for the throttling period. Works together with "Max positions in time window" to control position opening frequency. For example, 120 seconds with 1 max position means only 1 position can be opened every 2 minutes.
