> For the complete documentation index, see [llms.txt](https://docs.optionalpha.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.optionalpha.com/technical-documentation/troubleshooting/position-limit-warnings.md).

# Position Limit Warnings

## Position Limit Warnings

Bots have safeguards and limits that alert you when an automation encounters a warning. Daily and total position limits prevent overtrading by limiting the max number of positions a bot can have open at one time and in a single trading day.

### Daily position limit

The daily position limit is the number of positions a bot can open in a single trading day. The “**daily position limit**” warning occurs when a bot attempts to add a position that exceeds the number of new positions allowed.

<figure><img src="https://2799944806-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYjluAVRcRcfh1YL43z%2Fuploads%2FN2Zo3Ik6bNqdOpzqn7Cj%2F66b2689bd2b1eb0e2ecd835d_63f927c1dba29565a8bccdb2_Daily20limit.png?alt=media&#x26;token=e43f05b9-086e-405c-883a-9f26569afb67" alt=""><figcaption></figcaption></figure>

### Total position limit

The total position limit is the max open positions a bot can have at one time. The “**total position limit**” warning occurs when a bot attempts to add a position that exceeds the maximum number of positions allowed for the bot.

<figure><img src="https://2799944806-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYjluAVRcRcfh1YL43z%2Fuploads%2FFFpn61DbBYAmPu2oYYVL%2F66b2689bd2b1eb0e2ecd835a_63f927cf205b025fb8960c18_Total20limit.png?alt=media&#x26;token=748cee77-8354-467e-afc0-45570167cb9c" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
There is no limit on closing positions. Once a daily position limit is reached, the bot won't open new positions unless you edit the safeguards. If a bot is at its max position limit and closes a position, new room becomes available to add a new position, assuming the daily position limit has not been hit.
{% endhint %}

You can always edit your bot's position settings in the Safeguards section of the Settings tab.

<figure><img src="https://cdn.prod.website-files.com/5fba23eb8789c3c7fcfb5f31/66b26871943baac68502d337_66b26869a7f877638686ed0b_bot-safeguards.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2799944806-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MYjluAVRcRcfh1YL43z%2Fuploads%2FFS4llJXT1NflIBrr83hZ%2Fimage.png?alt=media&#x26;token=9dab131f-ce49-4aa1-ab98-0489ff416419" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.optionalpha.com/technical-documentation/troubleshooting/position-limit-warnings.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
