I am new to Option Stack and would like to get some help to kick start my testing. I’m trying to backtest Iron Condor strategy based on the following rules.
— When VIX is between 23 to 30, sell SPX Iron Condor
— Expiration Date: 30 to 45 days
— Short strike: Call delta 10; Put delta 20
— Long strike: 10 points away from short
— If Call short strike delta reach 18, adjust
— Close call spread
— Next day sell a new call spread
— same expiration day
— short strike delta 10
— long strike 10 points away from short
— If Put short strike delta reach 28, adjust
— Close Put spread
— Next day sell a new Put spread
— same expiration day
— short strike delta 20
— long strike 10 points away from short
— Close position
— When Profit reach 10% of total capital (Long/Short spread (10) - original credit received + (adjust new spread credit - closed debit))
— When Loss reach 15% of total capital (Long/Short spread (10) - original credit received + (adjust new spread credit - closed debit))
— When DTE <=7
I read solutions you provided for others. But I'm still struggled to put this together. Your help is most appreciated.
Best
Lin