Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. bh_nil
    3. Posts
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 29
    • Best 1
    • Groups 0

    Posts made by bh_nil

    • SmartAPI is giving cautionary error on lot of stock AB4036

      Re: Getting error AB4036

      I am facing issues in setting up my algo system using smartapi.

      for many orders including some of the better stocks in BSE500 like AMBER also gives the error.
      {'message': 'The order cannot be processed as the token is categorized under cautionary listings by the exchange.', 'errorcode': 'AB4036', 'status': False, 'data': None}

      More fun is, I am placing a sell order for AMBER which is in my holding and still I get the same error message. how can system ask that "do you really want to sell stock because of cautionary message". note, I am getting out of security not getting in.

      And a cautionary message is PE>50. that is not understandable.

      This absolutely goes against the usefulness of api.

      What can be done to get around this issue? Can there be a flag which can be passed to say that we understand the risk?
      p.s.
      I asked my friend to check with Zerodha. they don't give error on warnings trough the API and there is no regulatory guideline which says that it should be outright algo reject for stock if it is having cautionary warning.

      please work on user friendly solution than easy way out to blanket reject.

      posted in Python SDK
      B
      bh_nil
    • RE: Unable to create session due to totp

      @Reddy Download from here https://bit.ly/3CstT5H

      posted in Java SDK
      B
      bh_nil
    • RE: How to automate totp in java sdk

      @shahroz14 +917986051057 message me if unable to resolve.

      posted in NodeJS SDK
      B
      bh_nil
    • RE: AngelBroking get_access_token failed: AB1050 : Invalid totp

      @ajsingh please check the Access rates by admin a few days ago.

      posted in General Discussion
      B
      bh_nil
    • RE: URGENT - Bug in TOTP Validation

      @StocksDeveloper oh intermittently! Are u running transactions on seconds timeframe, or facing issue while fetching data feed due to intermittent failures

      posted in Test
      B
      bh_nil
    • RE: TOTP generated but Null Exception

      @Harman08 said in TOTP generated but Null Exception:

      @admin Null Exception after passing TOTP value in Java,Please check! My I'd PONN1001 ,is everything ok from api End?

      Issue Resolved just pass Correct Totp

      posted in NodeJS SDK
      B
      bh_nil
    • RE: URGENT - Bug in TOTP Validation

      @StocksDeveloper It's not Bug, Totp is Temporarily time based OTP u need to update everytime

      posted in Test
      B
      bh_nil
    • RE: Getting null value for user when generating session

      @Hargun-Singh Hope issue has Resolved ,u need to use updated V2 jar and pass additional parameter to Generate session

      posted in Test
      B
      bh_nil
    • RE: AngelBroking get_access_token failed: AB1050 : Invalid totp

      @ajsingh That is not Totp, u have to scan that qr or put below string to ur Google Authenticator to generate totp, and totp is not Constant, it's temporary it changes with time

      posted in General Discussion
      B
      bh_nil
    • RE: Unable to create session due to totp

      @Reddy pass new Totp parameter in generate session and use new V2 jar

      posted in Java SDK
      B
      bh_nil
    • RE: AngelBroking get_access_token failed: AB1050 : Invalid totp

      @dsdabhi1 case "AG8001":
      case "AG8002":
      return new DataException(jsonObject.getString("message"), code);
      Seems Exception due to 2FA code, Insert Totp passcode properly in generate session

      posted in General Discussion
      B
      bh_nil
    • RE: TOTP generated but Null Exception

      @shivamdg2411 Resolved or not? Its very simple

      posted in NodeJS SDK
      B
      bh_nil
    • RE: AngelBroking get_access_token failed: AB1050 : Invalid totp

      @saimathew123 why tradetron build ur own algo software ,get the signals nd execute the orders thr api

      posted in General Discussion
      B
      bh_nil
    • RE: AngelBroking get_access_token failed: AB1050 : Invalid totp

      Simple solution, Add valid totp ,error will be resolved, totp is not Constant and changing with time so u need to update everytime ๐Ÿ˜ž

      posted in General Discussion
      B
      bh_nil
    • TOTP generated but Null Exception

      @admin Null Exception after passing TOTP value in Java,Please check! My I'd PONN1001 ,is everything ok from api End?

      posted in NodeJS SDK
      B
      bh_nil
    • RE: java sdk

      @Rishab I am hoping solution from admin since long๐Ÿ˜ž but No solution out yet @admin

      posted in NodeJS SDK
      B
      bh_nil
    • RE: Java Sdk not working in android 11-12

      @techsharad This function is giving error Null pointer exception
      public Request createPostRequest(String apiKey, String url, JSONObject params) {
      try {

      		MediaType JSON = MediaType.parse("application/json; charset=utf-8");
      		RequestBody body = RequestBody.create(params.toString(), JSON);
      
      		String privateKey = apiKey;
      		Request request = new Request.Builder().url(url).post(body).header("Content-Type", "application/json")
      				.header("X-ClientLocalIP", apiheader.getString("clientLocalIP"))
      				.header("X-ClientPublicIP", apiheader.getString("clientPublicIP"))
      				.header("X-MACAddress", apiheader.getString("macAddress"))
      				.header("Accept", apiheader.getString("accept")).header("X-PrivateKey", privateKey)
      				.header("X-UserType", apiheader.getString("userType"))
      				.header("X-SourceID", apiheader.getString("sourceID")).build();
      		return request;
      	} catch (JSONException e) {
      		System.out.println("exception createPostRequest");
      		System.out.println(e.getMessage());
      		return null;
      	}
      }
      
      posted in NodeJS SDK
      B
      bh_nil
    • RE: Java Sdk not working in android 11-12

      @techsharad Error : exception createPostRequest @admin please look into concern

      posted in NodeJS SDK
      B
      bh_nil
    • RE: Sl limit modify into market order

      @hiteshp In SL order , Parameter Trigger price is required,if u leave it empty this error will come

      posted in General Discussion
      B
      bh_nil