Navigation

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

    Posts made by ravitandur

    • TAG is missing for some orders.

      TAG is missing for some orders.
      When we place the orders through the APIs, we are passing the proper TAG associated with the order.
      But, in some cases TAG is not retained to that orders from Angel side, so when we query the orders, for some orders TAG is coming as empty.
      As we have lot of dependency on order tag, you must retain the TAG for all orders.

      posted in Python SDK
      R
      ravitandur
    • RE: Ordertag character length restricted to 15 in the placeOrder

      @Moderator_3 what is this, you already confirmed that order TAG length extended to 20 characters and deployed.
      Was this your old message or you restricted order tag length to 15 characters.
      We had lot of discussion about why we need 20 characters and Angel agreed to limit the order tag length to 20 chracters.

      posted in General Discussion
      R
      ravitandur
    • RE: Ordertag character length restricted to 20 in the placeOrder API

      @admin no response. Any other form/way to escalate this requirement to Angel?

      posted in General Discussion
      R
      ravitandur
    • RE: Ordertag character length restricted to 20 in the placeOrder API

      @admin any update on requested requirement of allowing 20 characetrs TAG?

      posted in General Discussion
      R
      ravitandur
    • RE: Ordertag character length restricted to 20 in the placeOrder API

      @admin can u please take this as a mandatory requirement and do the needful to allow 20 characters in TAG. As I mentioned previously, all our algos are designed to use 20 characters in TAG which is allowed by all brokers. Angel also must allow 20 characters in TAG. Please do the needful.

      Thanks,
      Ravi

      posted in General Discussion
      R
      ravitandur
    • RE: Ordertag character length restricted to 20 in the placeOrder API

      Zerodha and other brokers support 20 characters in TAG. All our algos are designed to use 20 characters in tag.
      Can u make sure to make compatible with 20 characters for TAG

      posted in General Discussion
      R
      ravitandur
    • Ordertag character length restricted to 15 in the placeOrder

      Re: Ordertag character length restricted to 15 in the placeOrder API

      Zerodha and other brokers support 20 characters in TAG. All our algos are designed to use 20 characters in tag.
      Can u make sure to make compatible with 20 characters for TAG.

      posted in General Discussion
      R
      ravitandur
    • Market Order Out Of Range Error While Placing The MARKET order

      When I try to place the MARKET order for SENSEX with below payload using python api getting 'Market Order Out Of Range'
      {'variety': 'NORMAL', 'tradingsymbol': 'SENSEX24OCT81500CE', 'symboltoken': '1105578', 'transactiontype': 'BUY', 'exchange': 'BFO', 'ordertype': 'MARKET', 'producttype': 'CARRYFORWARD', 'duration': 'DAY', 'price': 0, 'quantity': 50, 'ordertag': ''}

      Can you please let me know why do we get into this error.
      This is issue is coming for only few orders.
      Any help is much appriated.

      posted in Python SDK
      R
      ravitandur
    • RE: FINNIFTY token not available

      if FINNIFTY symbol token is available now? if yes where to get it. Please help?

      posted in Bugs
      R
      ravitandur
    • RE: Important Announcement: Change in Angel One Login Policy

      Hi @admin, currently I am using below code to do login through the python code.
      connect1.generateSession(clientCode=client_id, password=password, totp=totp)
      Do I need to change anything here? Please suggest.

      Thanks,
      Ravi

      posted in General Discussion
      R
      ravitandur
    • RE: "Exception while retriving IP Address,using local host IP address" causing performance issues.

      @admin @Ashok Can u please help me how to modify the python code and commit the changes back?

      posted in Python SDK
      R
      ravitandur
    • RE: "Exception while retriving IP Address,using local host IP address" causing performance issues.

      @admin if I want to modify python code what is the process. I want to remove above code mentioned and commit the changes into git repo. Please suggest what needs to be done?

      posted in Python SDK
      R
      ravitandur
    • RE: "Exception while retriving IP Address,using local host IP address" causing performance issues.

      a4e55632-766d-435d-b497-df9ad8fece0c-image.png

      In the above, request is initiated at 15:18 and we see the Exception at 15:24 and based on the debugging it is taking time in the code mentioned above which is not required.

      posted in Python SDK
      R
      ravitandur
    • "Exception while retriving IP Address,using local host IP address" causing performance issues.

      I am using python smart api to connect with my trading account and execute the trades.
      My code is deployed in AWS and I am using AWS Lambda functions for executing the API calls through the smart API python library.
      For some of the requests, it is taking a very long time [more than 6 minutes], when I debugged the issue the below code is causing the delay. Based on the below code I don't see the need of getting the clientPublicIP and clientLocalIp as at the finally block we are overwriting these values. Can u please check and get rid of this un necessary code which is causing delays in executing the critical APIs.
      Call me at 9885577812 to discuss further on this issue?
      try:
      clientPublicIp= " " + get('https://api.ipify.org').text
      if " " in clientPublicIp:
      clientPublicIp=clientPublicIp.replace(" ","")
      hostname = socket.gethostname()
      clientLocalIp=socket.gethostbyname(hostname)
      except Exception as e:
      print("Exception while retriving IP Address,using local host IP address",e)
      finally:
      clientPublicIp="106.193.147.98"
      clientLocalIp="127.0.0.1"

      posted in Python SDK
      R
      ravitandur
    • RE: Guide to secure your SmartAPI Account with two factor authentication

      @admin said in Guide to secure your SmartAPI Account with two factor authentication:

      https://apiconnect.angelbroking.com/rest/auth/angelbroking/user/v1/loginByPassword
      Is this API is working?
      When I am trying to use POST method with the above URL and sending the data, getting 415 error.

      posted in General Discussion
      R
      ravitandur
    • RE: Getting lot of Read timed out from Angel

      @admin Any update guys??

      posted in Bugs
      R
      ravitandur
    • RE: Getting lot of Read timed out from Angel

      @admin need to resolve this issue ASAP, as it is impacting our trading and tomorrow is expiry??

      posted in Bugs
      R
      ravitandur
    • RE: Is API down? 3 Aug 2022

      @c_harish Hi Harish, thank you for reporting this issue. I also faced similar issue and reported the same to Angel team.
      https://smartapi.angelbroking.com/topic/2229/getting-lot-of-read-timed-out-from-angel
      I started facing this issue from Monday.
      I shared all details requested and waiting from Angel to get the root cause for the issue.
      As u mentioned the issue was there from 9:15 to 9:31 for me.

      posted in General Discussion
      R
      ravitandur
    • RE: Getting lot of Read timed out from Angel

      @admin I sent an email with smart api team with all details requested.
      I deployed my code in AWS and I use standard Python library SDK provided by Angel.
      This issue is happening randomly for all the APIs and I share the detailed request, response and error I received. Also share the time at which we got these error from 9:19 AM to 9:31 AM.

      posted in Bugs
      R
      ravitandur
    • RE: Getting lot of Read timed out from Angel

      @admin does anyone able to look into this issue??

      posted in Bugs
      R
      ravitandur