Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    data differ when interval changes

    Test
    0
    2
    6
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      darshanjain last edited by

      when i am calling historical data for 5 min interval and 15 min interval close of last candle does not match.

      five minute data:
      today_date_9_15 = datetime.datetime.combine(self.invokeDate, datetime.time(9, 15))
      today_date_9_30 = datetime.datetime.combine(self.invokeDate, datetime.time(9, 30))
      0:['2023-12-07T09:15:00+05:30', 725.0, 725.0, 719.5, 719.7, 883830]
      1:['2023-12-07T09:20:00+05:30', 719.5, 720.3, 717.6, 718.8, 331618]
      2:['2023-12-07T09:25:00+05:30', 718.8, 718.95, 716.0, 716.95, 300810]
      3:['2023-12-07T09:30:00+05:30', 716.9, 719.25, 716.65, 719.25, 218013]

      15 min data:
      for same time interval is
      0:['2023-12-07T09:15:00+05:30', 725.0, 725.0, 716.0, 716.95, 1516258]
      1:['2023-12-07T09:30:00+05:30', 716.9, 720.95, 716.65, 719.6, 701274]

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_2 @darshanjain last edited by

        Hi @darshanjain

        Apologies for delayed response.
        Kindly share us the exchange type and token consumed on which the historical API returned the listed discrepancy data.

        Thanks & Regards,
        SmartAPI team

        1 Reply Last reply Reply Quote 0
        • First post
          Last post