I'm trying to back test an strategy for 0 days to expiration options, but I'm always getting 0 on the greeks in that case, if I use 1 day to expiration options then the greeks are correct. Any idea on how to fix it? Attached back test showing the problem

Author