Hello,

I don't analyse options very often, but wanted to implemented one 0DTe optoin strategy I have found on one blog post.

In nutshell, the strategy have following rules:
Connect to TWS

  • Using SPX open prices as our strike prices, get SPXW call and put open and last traded prices on expiry day for the prior four days
  • Calculate the ATM 0DTE straddle price and implied expected move for each of the four days
  • Calculate the actual move from the open and close prices of SPX for each of the four days
  • Calculate the mean expected and actual moves over the four days
  • Calculate the trade signal
  • Place the appropriate straddle trades

 

Attached, you can find strategy and one backtest. I am confused, becuase strategy doesn't trade at all. Like there is no 1 day expiration options data on any bar. But if I import options data on weekly SPX, there should be data at least aevery week (as I said, I do't trade options, so I am not sure if this is true). Could someone please help with this strategy ?