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.

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.

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.
You can always edit your bot's position settings in the Safeguards section of the Settings tab.
