Navigation

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

    Multiple days historical data

    Test
    2
    8
    84
    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.
    • R
      Rajanchauhan last edited by Rajanchauhan

      @admin i am requesting historical data for one minute. It works fine when i request data for only one day but while requesting data for more than one day i got response like this

      2021-04-08T15:29:00+05:30,1437.55,1439.85,1437.30,1439.85,26005
      2021-04-09T09:15:00+05:30,1455.00,1455.00,1441.00,1447.00,3206022021-04-09T09:15:00+05:30,1455.00,1455.00,1441.00,1447.00,320602
      2021-04-09T09:16:00+05:30,1446.65,1446.95,1442.25,1446.95,127345
      2021-04-09T09:17:00+05:30,1447.45,1449.95,1446.90,1448.90,80884

      It gives double data for 9:15 candle for every new day and its not even comma separated.

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

        Hi @Rajanchauhan we are working on the historical data format.We will let you know regarding this. "It gives double data for 9:15 candle for every new day".

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

          @Rajanchauhan said in Multiple days historical data:

          2021-04-09T09:15:00+05:30,1455.00,1455.00,1441.00,1447.00,3206022021-04-09T09:15:00+05:30,1455.00,1455.00,1441.00,1447.00,320602

          can you post your request body snip here.

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

            we are updating our historical data format you can check it after market hours.

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

              @admin

              historicParam = {
              "exchange": "NSE",
              "symboltoken": str(token),
              "interval": "ONE_MINUTE",
              "fromdate": "2021-04-13 09:15",
              "todate": "2021-04-15 15:30"
              }
              data = obj.getCandleData(historicDataParams=historicParam)['data']

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

                Hi @Rajanchauhan post token also we will try to fetch data for same token with exactly same parameter.

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

                  @admin
                  Okk, As I can see now, some changes have been made from your end. Now I am not getting response in comma separated string format,Now I am getting a list. So its working fine now.....

                  Thanks.

                  I have another question. can i get live data in amibroker?

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

                    Hi @Rajanchauhan we have changed our historical data format.

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