Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. rohya.tayade
    R
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    rohya.tayade

    @rohya.tayade

    1
    Reputation
    11
    Posts
    9
    Profile views
    0
    Followers
    1
    Following
    Joined Last Online

    rohya.tayade Follow

    Best posts made by rohya.tayade

    This user hasn't posted anything yet.

    Latest posts made by rohya.tayade

    • Order placement failed: string indices must be integers, not 'str'

      try:
      orderparams = {
      "variety":"NORMAL",
      "tradingsymbol":"SBIN-EQ",
      "symboltoken":"3045",
      "transactiontype":"BUY",
      "exchange":"NSE",
      "ordertype":"MARKET",
      "producttype":"INTRADAY",
      "duration":"DAY",
      "price":"194.50",
      "squareoff":"0",
      "stoploss":"0",
      "quantity":"1"
      }

          orderId=smartApi.placeOrder(orderparams)
          print("The order id is: {}".format(orderId))
      except Exception as e:
          print("Order placement failed: {}".format(e))
      
      posted in Python SDK
      R
      rohya.tayade
    • RE: Unable to get ltp data and live feed of some stock using token and symbol

      @admin Unable to place order of some stock...
      print("Order placement failed: {}".format(e.message))
      AttributeError: 'TypeError' object has no attribute 'message'

      posted in NodeJS SDK
      R
      rohya.tayade
    • Unable to get ltp data and live feed of some stock using token and symbol

      Unable to get ltp data and live feed of some stock using token and symbol
      @admin
      please let me know why all stock data we can not get.

      posted in NodeJS SDK
      R
      rohya.tayade
    • RE: How to use Smart Api java in android studio

      @mariyambi still i am get null user value....please help me to resolved issue.

      posted in NodeJS SDK
      R
      rohya.tayade
    • Invalid token error code AG8001 in java

      body = RequestBody.create(mediaType, "{\n"exchange": "NSE",\n"tradingsymbol": "SBIN-EQ",\n"symboltoken":"3045"\n }");
      request = new Request.Builder().url("https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/getLtpData")
      .method("POST", body)
      .addHeader("Authorization", jwtToken)
      .addHeader("Content-Type", "application/json")
      .addHeader("Accept", "application/json")
      .addHeader("X-UserType", "USER")
      .addHeader("X-SourceID", "WEB")
      .addHeader("X-ClientLocalIP", "CLIENT_LOCAL_IP")
      .addHeader("X-ClientPublicIP", "CLIENT_PUBLIC_IP")
      .addHeader("X-MACAddress", "MAC_ADDRESS")
      .addHeader("X-PrivateKey", "XkadWegsNH6H")
      .build();
      try {
      Response response = client.newCall(request).execute();
      jsonReader = new JsonReader(response);
      String json = jsonReader.getJsonString();
      token.setText(json);
      } catch (IOException e) {
      e.printStackTrace();
      }

      posted in NodeJS SDK
      R
      rohya.tayade
    • RE: How to use Smart Api java in android studio

      @mariyambi hi
      i am using java sdk in android studio...but not accessing any data...
      showing null value while accessing any data

      posted in NodeJS SDK
      R
      rohya.tayade
    • RE: How to use Smart Api java in android studio

      @admin please reply properly...look my issue property i am using Java api and you give me link of python issue

      posted in NodeJS SDK
      R
      rohya.tayade
    • RE: How to use Smart Api java in android studio

      @admin Please check that my account is able to use smart api in java....
      There is no problem with python api

      posted in NodeJS SDK
      R
      rohya.tayade
    • RE: How to use Smart Api java in android studio

      @admin I am using Java SDK , you give me link of python issue.
      Please suggest I am using Java in android and showing null while getting user id. Smartconnect.getUserId()

      posted in NodeJS SDK
      R
      rohya.tayade
    • RE: How to use Smart Api java in android studio

      @admin please update on this

      posted in NodeJS SDK
      R
      rohya.tayade