Navigation

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

    Unable to place order: Order placement failed: 'NoneType' object is not subscriptable

    General Discussion
    2
    4
    24
    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.
    • P
      prasan last edited by prasan

      Hi,

      Unable to place order through API, other APIs work. However able to place an order through web platform.

      Client ID :P479104

      Please advice.

      "Order placement failed: 'NoneType' object is not subscriptable"

      Illustrative orderparams:
      orderparams = {
      "variety": "AMO",
      "tradingsymbol": "CRUDEOIL21NOV630000PE",
      "symboltoken": "233501",
      "transactiontype": "BUY",
      "exchange": "NFO",
      "ordertype": "MARKET",
      "producttype": "CARRYFORWARD",
      "duration": "IOC",
      "price": "0",
      "squareoff": "0",
      "stoploss": "0",
      "quantity": 50 #quantity #lot size CRUDE 100, NIFTY 50
      }

      Tried with Normal, Day options as well, during the trading hours.

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

        Hi @prasan Kindly try now and update.

        P 1 Reply Last reply Reply Quote 0
        • P
          prasan @admin last edited by

          @admin Tried again, getting the same response. "Order placement failed: 'NoneType' object is not subscriptable"

          P 1 Reply Last reply Reply Quote 0
          • P
            prasan @prasan last edited by

            Hi @admin tried again, it worked now. Thanks

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