Navigation

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

    SmartConnect::candleData returns AB2001

    NodeJS SDK
    2
    7
    27
    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.
    • S
      softice last edited by

      I am trying to fetch candle data using SmartConnect::candleData and it is consistently responding with AB2001.

      Also the documentation doesn't mention in what format the time should be specified in the request body? Is it 12 hours or 24 hours format?

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

        Hi @softice please try with start time as 9.15 and for market closing time as 15.30.

        S 1 Reply Last reply Reply Quote 0
        • S
          softice @admin last edited by

          @admin ok thanks. But the API keeps returning AB2001. Even live streaming is not returning any data today.

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

            Dear @softice let us check from our and and update you.

            S 1 Reply Last reply Reply Quote 0
            • S
              softice @admin last edited by

              @admin Sorry it worked. I had given from date as 5th May 9:15 and endDate as 13th May 15:30. Then it wasn't working. But as soon as I changed the endDate to 5th May it worked.

              At a time, we can specify only 1 day is it?

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

                Hi @softice no if you choose 5 may to 13 may to get historical data with interval 1 day it should return 9 rows.

                S 1 Reply Last reply Reply Quote 0
                • S
                  softice @admin last edited by

                  @admin I am using FIVE_MINUTE as interval.

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