Dear all,

I've been using QuantConnect for about a week now, and what really attracts me is the ability to backtest using historical option EOD chain snapshots. Part of my research plans to analyse the volatility skew at EOD. To that end, I've written an Algorithm to retrieve historical data, then storing it in QuantConnect's ObjectStore for further analysis using the research notebook.

63695_1657367001.jpg

With the above code, however, I've been getting IVs that differ by 2-4% between call and put ATM options (delta close to 50). I suspect that the pricing model might be using the Last price instead of the Mid, which would be inaccurate if the option was not traded frequently prior to market close. However, I have no way of confirming this suspicion. Has anyone encountered a similar issue, and how did you resolve it?

Author