Navigation

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

    Historic API data format inconsistency

    Python SDK
    3
    8
    73
    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.
    • punit
      punit last edited by punit

      Hi Team/ @admin ,

      Two things I wanted to highlight:

      1. Historic data API data is not formatted. Would expect some formatted data like a json or array like below.

      ['2021-02-26T09:36:00+05:30', '398.45', '398.70', '397.55', '398.70', '369539']
      ['2021-02-26T09:37:00+05:30', '398.70', '398.80', '397.70', '398.15', '160988']
      ['2021-02-26T09:38:00+05:30', '398.20', '398.45', '398.00', '398.25', '92355']
      ['2021-02-26T09:39:00+05:30', '398.25', '398.50', '397.85', '398.50', '236942']
      ['2021-02-26T09:40:00+05:30', '398.25', '398.25', '397.80', '398.00', '171589']

      1. Also the formatting also not consistent. For example, below snippet doesn't have comma in the highlighted place. in fact it is missing every now and then..

      2021-02-26T14:59:00+05:30,393.35,393.50,393.20,393.25,96383\n2021-02-26T15:00:00+05:30,393.15,393.15,391.60,391.60,6875652021-02-26T15:00:00+05:30,393.15,393.15,391.60,391.60,687565

      J 1 Reply Last reply Reply Quote 0
      • J
        jiwan1986 @punit last edited by

        @Ashok I had discussion with @bhaveshjain regarding same issue. They are discussing internally. I also suggested them to return data in JSON format.

        punit 1 Reply Last reply Reply Quote 0
        • punit
          punit @jiwan1986 last edited by

          @rjbanna Thanks, json would be much better.

          Also I think a parser function can be added in the SDK to return then as OHLC, volume ... ie key pairs

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

            @Ashok @rjbanna your suggestion has been noted.we will update you on this.

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

              @admin Any ETA on the format change and fix ?

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

                Hi @Ashok we are ready with our change in format. Testing it now we will update you once it is deployed.

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

                  @admin Any updates on the deployment date ?

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

                    Hi @Ashok we have change our historical data format.

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