I'm trying to trade SPY options using the RSI. But when I go to select a contract there's none to choose from. My Log states that 0 contracts were returned after being filtered.

We only want contracts expiring the next day.

  1. self.option.SetFilter(-10, 10, 2, 2)

This works just fine on some days but returns 0 contracts most days.

Author

Joshua Woelfel

July 2023