Hi,
I am trying to print live option chain using contractPrint() function to CSV file but for some reason it is not pulling Underlying, Ask, Bid & Vol columns or values . Not sure if i am doing something wrong here or missing anything . The script is simple

asset("QQQ");
Multiplier = 100;
contractUpdate(Asset,0,CALL|PUT);
contractPrint();

I am using IB for this on my live account. The idea is to save live option chain in CSV file with price and other information. Please your help on this be much appreciated.

Regards
Avy

Last edited by avy; 06/14/22 20:33.