Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. ackshay
    3. Topics
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by ackshay

    • A

      Errorcode":"AB1004, Whenever request is made at the time of candle closing
      Bugs • • ackshay  

      2
      0
      Votes
      2
      Posts
      5
      Views

      A

      Hello, we tried replicating at our end, it is working fine.
    • A

      Getting "errorCode":"AG8001 while getting historical data
      Bugs • • ackshay  

      5
      0
      Votes
      5
      Posts
      9
      Views

      S

      Instead doing it literally strings as provided in documentation OkHttpClient client = new OkHttpClient().newBuilder() .build(); MediaType mediaType = MediaType.parse("application/json"); RequestBody body = RequestBody.create(mediaType, "{\n \"clientcode\":\"CLIENT_ID\",\n \"password\":\"CLIENT_PIN\"\n \"totp\":\"TOTP_CODE\"\n }" ); put it in map to reduce chances of error in json format // Create a Map to represent the JSON structure Map<String, String> requestBodyMap = new HashMap<>(); requestBodyMap.put("clientcode", "CLIENT_ID"); requestBodyMap.put("password", "CLIENT_PIN"); requestBodyMap.put("totp", "TOTP_CODE"); // Convert the Map to JSON ObjectMapper objectMapper = new ObjectMapper(); byte[] requestBodyBytes = objectMapper.writeValueAsBytes(requestBodyMap); // Create the request body RequestBody body = RequestBody.create(mediaType, requestBodyBytes);
    • A

      Unable to get historical data for 30 min time-frame, 15 min is working fine.
      Bugs • • ackshay  

      2
      0
      Votes
      2
      Posts
      11
      Views

      M

      Hi @ackshay Apologies for delayed response. Historical Data for both 15m and 30m is working fine from our end. Kindly share us the API request, header passed if the issue still occurs Thanks & Regards, SmartAPI team
    • A

      Historical Data (1hr timeframe)- Differs for few requests. Closing price in the new current request is different from the previous request data for the same stock.
      Bugs • • ackshay  

      1
      0
      Votes
      1
      Posts
      5
      Views

      No one has replied