Navigation

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

    Tick value not getting accurate result after resample

    Python SDK
    0
    2
    9
    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
      Dharmik last edited by

      Hello,

      I am using Python SDK for getting OHLC along with volume for nifty500 stock every 5 minutes

      As we have Rate Limit for default sdk's functionality if we want to get above details so due over come i am use to get every stock's tick by tick data
      Every 5 min i am resample tick data to 5 min's datafram and find OHLC but it's value is not matching with real chart of angle one.

      1 Reply Last reply Reply Quote 0
      • A
        admin last edited by

        @Dharmik when your historical API hits at an odd time, eg, 10:00:14, the close price you'll get would be of that moment, it will not be equal to the close price on the 5 min candle, which would be of 10:00:00. Similarly, other parameters of OLHCV could also differ.

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