Navigation

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

    sell order not executed, received None

    Python SDK
    0
    2
    23
    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.
    • A
      angelSweepApp last edited by

      Hi,

      I faced issue while placing a sell order today. Below are the parameters I used, can you tell me what is the issue here?

      11/10/2022 01:05:21 PM :: {'variety': 'NORMAL', 'tradingsymbol': 'DHANBANK-EQ', 'symboltoken': '11359', 'transactiontype': 'SELL', 'exchange': 'NSE', 'ordertype': 'LIMIT', 'producttype': 'INTRADAY', 'duration': 'DAY', 'price': '14.75', 'squareoff': '0', 'stoploss': '0', 'quantity': '200'}

      File "/home/ubuntu/.local/lib/python3.8/site-packages/smartapi/smartConnect.py", line 290, in placeOrder
      orderResponse= self._postRequest("api.order.place", params)['data']['orderid']
      TypeError: 'NoneType' object is not subscriptable

      Thanks

      A 1 Reply Last reply Reply Quote 0
      • A
        angelSweepApp @angelSweepApp last edited by

        @admin , Please do care to acknowledge/reply queries.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post