I think its resolved now. It was new part of code where I was trying to fetch daywise data for current date using historical api in live market. Which may not return value as of now. I think it works only for historical dates or for other candles like 15 min etc. but not for "day" candle for today till day end.