This sample bot template introduces one potential framework to use for trading high Implied Volatility Rank (IVR) setups with iron condors. The bot focuses on scanning for high IVR above a minimum threshold to enter a wide, neutral iron condor position. Plus, we've used custom inputs to help control and customize the bot's actions as well as a clever little "Switch" to allow the bot to make major decisions about how it can manage open positions.
The template only requires one scanner automation. This scanner quickly loops through your tickers and does a quick couple of checks to make sure that you don't have any existing positions in that symbol that are iron condors and that the bot has the ability to open a new position. Next, the scanner evaluates the IVR level for each symbol in your list and if there's a potential trading opportunity it then checks the bot's available capital. If there is not currently high IVR and/or a liquidity opportunity to enter, then the scanner ends and rechecks again at the next interval.
Note: We've also used Position Tags to tag opened positions as 'high ivr iron condor' which might help you organize your positions if you're trading iron condors across other bots. With tags you can sort and filter positions by tag so you can see which positions were entered under what conditions.
For this particular bot sample, we are using one monitor automation to loop through any iron condor positions inside the bot and managed challenged positions. Because we can use Exit Options when opening a position to watch for profit taking faster, we can use this one monitor automation to watch for more unique situations to close. This means you can use this monitor automation inside other bots as well that also have iron condor positions, and it would only manage those iron condors. As always, this is just one of a million ways to use bots and automations but we always want to give you more ideas to spark creativity.
With this one monitor automation, we're first encountering a "Switch" for allowing the bot to exit an iron condor IF either short strike is challenged by the underlying symbol AND the position is within our Expiration Threshold. What's so cool about using switches is that you can choose to turn ON or OFF entire management sections within an automation. So if you leave the switch OFF the bot won't exit if challenged.
These sample templates are just a starting point for bot building. Post your own modified/edited version(s) of this bot template in the comments below or publicly in the Community to help crowdsource new ideas for your fellow traders.