Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. dhaval0208
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Groups 1

    dhaval0208

    @dhaval0208

    SmartAPI Group

    0
    Reputation
    3
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    dhaval0208 Unfollow Follow
    SmartAPI Group

    Latest posts made by dhaval0208

    • RE: Getting error with verifyDis API

      @milanj said in Getting error with verifyDis API:

      Hey team,

      Getting the following error with verifyDis call to verify for a sell order. I'm using python SDK with the latest pull with python 3.10.12. Please help.

      E 240509 10:04:48 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/edis/v1/verifyDis. Error: Internal Error. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/edis/v1/verifyDis, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.xx.xx.98', 'X-MACAddress': '13:xx:xx:xx:xx:57', 'Accept': 'application/json', 'X-PrivateKey': 'xxxxxxxx', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'isin': 'INE196A01026', 'quantity': '1'}, Response: {'message': 'Internal Error', 'errorcode': 'AB2001', 'status': False, 'data': None}

      I'm also getting this error some times, Please let me know what's the issue and how can i solve it ?

      posted in Python SDK
      D
      dhaval0208
    • RE: trailing stoploss not working using api

      I think you should try this :
      orderparams = {
      "variety": "ROBO",
      "tradingsymbol": symbol,
      "symboltoken":token,
      "transactiontype":buy_sell,
      "exchange":exch_seg,
      "ordertype":ordertype,
      "producttype":"BO",
      "duration":"DAY",
      "price":str(price),
      "squareoff":str(target),
      "stoploss":str(stoploss),
      "quantity":qty
      }
      It's working for me, I'm sure it will work.

      posted in Python SDK
      D
      dhaval0208
    • I'm facing issue from web socket like "Attempting to resubscribe/reconnect (Attempt 13)" and "Error occurred during subscribe: EOF occurred in violation of protocol (_ssl.c:2393)"

      Why I got this issue? I'm calling API one request in a second. What is the issue and how can i solve it. i attached Screen shot below please check it and suggest me how can i solve it ?Screenshot 2024-05-24 102536.png

      posted in Python SDK
      D
      dhaval0208
    • How to close websocket?

      I want to close web socket on specific time. I used sws.close_connection() for close web socket but it's not working. So please let me know How can I close Web Socket?

      posted in Python SDK
      D
      dhaval0208