Navigation

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

    Robo order: Auto square off executed

    Test
    0
    2
    7
    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.
    • N
      naman_dwivedi last edited by

      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)

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

        ROBO orders are intraday orders, you would not be able to place an intraday order at the end of the trading day, after auto square off is executed.

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