Navigation

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

    Sell order not working

    Python SDK
    pythonsdk
    1
    1
    16
    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.
    • D
      darshan last edited by

      Request

      orderparams = {
              "variety":"NORMAL",
              "tradingsymbol":"NHPC-EQ",
              "symboltoken":"17400",
              "transactiontype":"SELL",
              "exchange":"NSE",
              "ordertype":"LIMIT",
              "producttype":"INTRADAY",
              "duration":"DAY",
              "price":"26.40",
              "squareoff":"0",
              "stoploss":"0",
              "quantity":"1"
      
          }
      
          orderresponse = obj.modifyOrder(orderparams)
          return orderresponse
      

      Response -

       {'message': 'Internal Error', 'errorcode': 'AB2001', 'status': False, 'data': None}
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post