Seriously this is irritating. It works for one-security but when I loop through multiple instruments, it kept throwing connection timeout error. I am fed up with this now. Better to go to other historical data provider and take data directly.
Sorry for delay.
I am looping though list of instruments [around 50] and after one instrument I keep getting this error.