Bot Event Loops

Bot event loop errors may occur in positions that are triggered by an open position or close position event. Here is what you need to know about bot event loops.
Bot Event Loops
Steve Henry
May 3, 2021

Bots have safeguards and limits that alert you when an automation encounters an error. The safeguards are designed to protect traders and require you to think critically about the trade setup from entry to exit.

Bot event loop errors may occur in positions that are triggered by an open position or close position event. “Open new position” events tell the bot to run an automation only when another position is opened. “Close position” events tell the bot to run an automation when a position is closed.

Event loops are a unique situation where positions are opened or closed because of related events and subsequently become stuck in a “loop.” For example, an event could open a position when another is closed. The closing of that position could trigger an event to open a new position, thereby causing the bot to enter and exit a trading loop repeatedly.

Screenshot of the bot dashboard

Because of the safeguards and limits put in place in the bot’s global settings, the event loop will eventually end when the daily or total position limit is exceeded.

Screenshot highlighting a daily position limit error displayed on the bot log


No tags found.
Next article
Supported Browsers
The autotrading platform is browser-based to offer flexibility and accessibility to our users. Here is what you need to know about supported browsers.
Was this helpful?
FAQs
Related articles

Trade smarter with automation