Navigation

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

    TypeError: 'NoneType' object is not subscriptable only for NFO orders

    Test
    0
    2
    15
    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.
    • K
      Keshav12131 last edited by

      I am getting below error while placing the order for "NFO" while the same works if the exchange is set to "NSE".
      It fails in "smartConnect.py", in placeOrder,
      orderResponse= self._postRequest("api.order.place", params)['data']['orderid']"
      "TypeError: 'NoneType' object is not subscriptable"
      Looks like some bug with the smartConnect.py.

      Please suggest any workaround to get it work for NFO as well.

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_2 @Keshav12131 last edited by

        Hi @Keshav12131

        Apologies for delayed response.
        We have fixed the 'NoneType' error from our end. Please use the recent SDK and let us if any issue occurs

        Thanks & Regards,
        SmartAPI team

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