Navigation

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

    Best posts made by techbytecache

    • RE: ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000024771931880>, 'Connection to apiconnect.angelbroking.com timed out. (connect timeout=7)'))

      @jaideep-siddula You missed in my post I mentioned " I have set timeout to 30 seconds in SmartConnect.py still getting these errors." You are right infra may fail but should not fail this frequently for such critical financial applications. I got timeout errors 9 times on 12th April. Your timeouts may cause losses and may result in heavy losses if the position is not exited on time. And since this error is happening with a lot of folks who are using Angel APIs it is for sure something on Angel side which needs improvement if you want customers to stick with you.

      posted in General Discussion
      T
      techbytecache
    • RE: Internal Server Error while placing an order

      Getting this error randomly since yesterday -

      File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\SmartApi\smartConnect.py", line 285, in placeOrder
      orderResponse= self._postRequest("api.order.place", params)['data']['orderid']
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
      TypeError: 'NoneType' object is not subscriptable

      posted in Bugs
      T
      techbytecache