Navigation

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

    order is placed but error is posted : Order placement failed: 'NoneType' object is not subscriptable

    Python SDK
    0
    4
    17
    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.
    • S
      sujaygaitonde last edited by

      HI Team,

      I am trying to place order for this below json but order is placed in account and error is returned instead of order id. please help
      {
      "variety": "NORMAL",
      "tradingsymbol": "NIFTY28MAR2422050PE",
      "symboltoken": "67310",
      "transactiontype": "BUY",
      "exchange": "NFO",
      "ordertype": "MARKET",
      "producttype": "INTRADAY",
      "duration": "DAY",
      "price": "96.3",
      "quantity": "50"
      }

      Order placement failed: 'NoneType' object is not subscriptable

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

        Hi @sujaygaitonde

        We have fixed the 'NoneType' object is not subscriptable error on recent SDK. Please update the recent python version smartapi-python 1.4.7 and let us know if the issue still occurs.

        Regards,
        SmartAPI team

        S 1 Reply Last reply Reply Quote 0
        • S
          sujaygaitonde @Moderator_2 last edited by

          @Moiderator_2 I have latest code and still have issue. Please help to check

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

            Hi @sujaygaitonde

            As we verified on python SDK 1.4.8 version, we are unable to reproduce the issue from our end. Please verify if any changes has been made at your end.

            Regards,
            SmartAPI team

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