Navigation

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

    Wrong historical data

    Test
    historical data
    3
    23
    126
    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.
    • A
      Asif Khan last edited by

      @admin I am trying to fetch historical data for a particular script in a five minute candle but when keeping todate : "2021-04-27 14:50" data is coming only up to 14:00, please help.

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

        Hi @Asif-Khan post your code snippet here.

        A 2 Replies Last reply Reply Quote 0
        • A
          Asif Khan @admin last edited by

          @admin

          historicParam= {
                          "exchange": "NSE",
                          "symboltoken": "3045",
                          "interval": "FIVE_MINUTE",
                          "fromdate": "2021-04-07 15:20", 
                          "todate": "2021-04-27 14:50"
                      }
                      
                   records = obj.getCandleData(historicParam)
          
          1 Reply Last reply Reply Quote 0
          • A
            Asif Khan @admin last edited by

            @admin could you please help me with this

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

              Hi @Asif-Khan we have noted your issue we will revert you back.

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

                @admin one more issue I have been through is that it gives wrong closing price, sometimes the difference with actual closing price is bigger..so plz take a look at this also

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

                  Hi @Asif-Khan we have noted this.

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

                    @admin again today

                    2021-04-28T13:50:00+05:30 916.5 919.0 916.3 918.15 116747

                    2021-04-28T13:50:00+05:30 916.5 919.0 916.30 918.75 72718

                    just look how the close value is vast different for the same candle data

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

                      Hello @Asif-Khan we have noted this issue we have passed the issue to the team we will update you.

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

                        Hi @Asif-Khan please specify the time at which you hit the historical API both the time and what time you got the response also provide us with your client id to further assist you.

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

                          @admin hi my client id is S429972

                          first response I got at 13:55
                          second response at 14:00

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

                            Hi @Asif-Khan for what time frame you are trying to get the data.

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

                              @admin FIVE_MINUTE

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

                                Hi @Asif-Khan as per the discusion on the mail us your code snipet.

                                A 2 Replies Last reply Reply Quote 0
                                • A
                                  Asif Khan @admin last edited by

                                  @admin yes I have mailed already

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

                                    @admin Hi, I haven't got any reply for my query, could you please check and revert ??

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

                                      Hi @Asif-Khan historical data API is working fine from our end.

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

                                        @admin but I have shown the response as well as my code, what m I doing wrong?

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

                                          hi @Asif-Khan called @ 16.19
                                          req:
                                          {
                                          "exchange": "NSE",
                                          "symboltoken": "3045",
                                          "interval": "FIVE_MINUTE",
                                          "fromdate": "2021-04-28 13:00",
                                          "todate": "2021-04-28 13:50"
                                          }

                                          response:
                                          {
                                          "status": true,
                                          "message": "SUCCESS",
                                          "errorcode": "",
                                          "data": [
                                          [
                                          "2021-04-28T13:00:00+05:30",
                                          363.2,
                                          363.2,
                                          362.5,
                                          362.65,
                                          478210

                                              ]
                                          ]
                                          

                                          }

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

                                            called @ 16.21
                                            {
                                            "status": true,
                                            "message": "SUCCESS",
                                            "errorcode": "",
                                            "data": [
                                            [
                                            "2021-04-28T13:00:00+05:30",
                                            363.2,
                                            363.2,
                                            362.5,
                                            362.65,
                                            478210
                                            ],

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