Navigation

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

    getCandleData is returning null for historical dates

    NodeJS SDK
    0
    2
    9
    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
      dipeshbodas last edited by

      trying to get Data for SBIN here is code snippet
      login successful and totp is accepted before calling this api
      JSONObject requestObejct = new JSONObject();
      requestObejct.put("exchange", "NSE");
      requestObejct.put("symboltoken", token);
      requestObejct.put("interval", "ONE_DAY");
      requestObejct.put("fromdate", "2023-08-01 09:00");
      requestObejct.put("todate", "2023-08-10 15:35");

      String response = smartConnect.candleData(requestObejct);
      System.out.println("response : "+response);

      1 Reply Last reply Reply Quote 0
      • G
        gayatrin last edited by

        Any update on this? Even I am getting same issue

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