Hi Sujith, issue was with my code. I was adding a ":" by mistake like in quotes call to BFO. It started working after I removed it. However, I feel the error message could be improved like say "This isn't a valid segment" instead of saying inactive …
Every 15 min, i want the last OHLC for a given instrument. Right now i am calculating it manually by building a candle myself using realtime data. However, the values calculated dont exactly match the actual candle. So i want to use the historical a…