About this template
This bot is based on a recent episode on tastytrade -
https://www.tastylive.com/shows/market-measures/episodes/zero-dte-options-daily-butterflies-03-16-2023
Every day at market open it enters a Call Debit Butterfly. The short positions are ATM and the wings are $3 wide.
Since OA doesn't support a Debit Butterfly, the bot opens a Short Credit Spread and a Long Debit Spread to create the Butterfly.
If you turn On the P/L Notifications switch you will get an update of the bot day p/l every 15 minutes. The p/l will also be tagged on the bot. Each profit number preceded by p (p100, p200...) and each loss number preceded by l (l100, l200...).
If you turn On the Bot P/L Max Win/Loss Exit switch the bot will close all positions and exit when those numbers are hit.
If you turn On the Tradier account switch, the bot will check all open positions at 3 pm to see their possibility of being in the money at close, and appropriately handle them.
Bot needs less than $500 capital per butterfly position.
If you turn On the Dead Man Switch, the bot will turn itself off every Friday at 3:45 pm. Use the Dead Man Switch Turn Off button to turn the bot on. By default this switch is Off.
I have tested it on paper for a week and you can see the results below. Just started running it live and will share the results next week.