Navigation

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

    OHLC is showing incorrect value

    NodeJS SDK
    0
    3
    11
    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
      dilipkumar25 last edited by

      Hi Team, I was pulling the daily OHLC values for a stock using smartapi and I noticed something weird. I got below values for the date 25-Nov-2024 in the response of the api.

      Symbol name: FACT
      Symbol token: 1008
      OHLC response: ["2024-09-25T00:00:00+05:30",984.6,988.05,973,978.5,115894]

      But, when you see in the chart, its different values.
      Open-839.40, High-858.00, Low-830.00, Close-834.05

      These values are not matching with the api result. Can you please help me here what is going wrong. Thanks.

      (Screenshot 2025-01-30 083159.png link url)

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

        @dilipkumar25 in the OLHC response, you are checking the values for 25th Sept 2024 and comparing with those of 25-Nov-2024 on chart.

        1 Reply Last reply Reply Quote 0
        • D
          dilipkumar25 last edited by

          I AM EXTREMELY SORRY ABOUT MY STUPID MISTAKE. Thanks a lot team.

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