Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. naman_dwivedi
    3. Posts
    N
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    Posts made by naman_dwivedi

    • Robo order: Auto square off executed

      I am trying to place Robo order for Banknifty options , but the order is rejected as i can see in my angel one app and the reason for order rejection is BO: Auto square off executed, can anyone help me with this,
      Thanks in advance !!

      this is my placing order code

      orderparams = {
      "variety": "ROBO",
      "tradingsymbol": option,
      "symboltoken": token,
      "transactiontype": "BUY",
      "exchange": "NFO",
      "ordertype": "LIMIT",
      "producttype": "INTRADAY",
      "duration": "DAY",
      "price" : price,
      "squareoff": 30,
      "stoploss": 10,
      "quantity": 15,
      "duration": "DAY"
      }
      orderId=smartApi.placeOrder(orderparams)
      print("Buy", orderId)

      posted in Test
      N
      naman_dwivedi