I want to get weekly options, but when I change codes from:

option.set_filter(lambda option_filter_universe: option_filter_universe.standards_only().Strikes(-20, 20).Expiration(0, 90))

to

option.set_filter(lambda option_filter_universe: option_filter_universe.weeklys_only().Strikes(-20, 20).Expiration(0, 90))

The first one worked, the second one will have problems:

miranda-lu_1725909662.jpg