I am writing my own data importer which is largely inspired by NseMarketDatcConverter. My application helps me import data for options. I was able to import data like OHLCV in a bar and pass it to the lean writer. I have not been able to figure out, how to write open interest data. Can you please point to some relevant code where OI data is being imported?