what must be passed in GetHistoricData() call in interval field for 1day historic candles NIFTYFUT

manideepreddy
What must be the string which i should pass for interval in GetHistoricalData(instrumentToken int, interval string, fromDate time.Time, toDate time.Time, continuous bool) to get day wise historic NIFTY FUT data, tried using "day", and "daily" with continous value as true and NIFTY token number , but still not working
  • rakeshr
    tried using "day", and "daily" with continous value as true and NIFTY token number , but still not working
    "day" is the correct param, you can check all historical data interval param here.
    We just tried "day" and it's working fine as desired.
    GetHistoricalData(408065, "day", time_to, from, false)
Sign In or Register to comment.