Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    Error while placing an order through API.

    Python SDK
    2
    2
    53
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Nichil72 last edited by

      @admin @admin123,

      Dear Team,
      On date 24-04-2025 placing order on RBLBANK using API with having below mentioned parameters:-

      ['RBLBANK-EQ']
      {'duration': 'DAY', 'exchange': 'NSE', 'ordertype': 'MARKET', 'price': '191.55', 'producttype': 'INTRADAY', 'quantity': 10, 'stoploss': 2.0, 'squareoff': 5.0, 'tradingsymbol': 'RBLBANK-EQ', 'transactiontype': 'SELL', 'triggerprice': '191.55', 'variety': 'NORMAL', 'ordertag': 'DFT', 'symboltoken': '18391'}

      And having an error while placing an order using API
      [E 250424 09:39:05 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/placeOrder. Error: The order cannot be processed as the token is categorised under cautionary listings by the exchange.. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/placeOrder, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': '84:2a:fd:86:db:69', 'Accept': 'application/json', 'X-PrivateKey': 'MIqCVUD5', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'duration': 'DAY', 'exchange': 'NSE', 'ordertype': 'MARKET', 'price': '191.55', 'producttype': 'INTRADAY', 'quantity': 10, 'stoploss': 2.0, 'squareoff': 5.0, 'tradingsymbol': 'RBLBANK-EQ', 'transactiontype': 'SELL', 'triggerprice': '191.55', 'variety': 'NORMAL', 'ordertag': 'DFT', 'symboltoken': '18391'}, Response: {'message': 'The order cannot be processed as the token is categorised under cautionary listings by the exchange.', 'errorcode': 'AB4036', 'status': False, 'data': None}
      [E 250424 09:39:05 smartConnect:336] API request failed: {'message': 'The order cannot be processed as the token is categorised under cautionary listings by the exchange.', 'errorcode': 'AB4036', 'status': False, 'data': None}

      But while placing such order on mobile app trade done successfully. So, please do the needful for the same that such trade will execute successfully with API.

      1 Reply Last reply Reply Quote 0
      • D
        dpant16 @Sathyababuram last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • First post
          Last post