Navigation

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

    SquareOff should be passed only for ROBO orders","errorcode":"AB4045","status":false,"data":null

    Java SDK
    1
    1
    1
    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.
    • R
      Rahulang23 last edited by

      While placing order with Angel API getting below mentioned error

      {
      "variety": "ROBO",
      "tradingsymbol": "NIFTY07APR2622500CE",
      "symboltoken": "40732",
      "transactiontype": "BUY",
      "exchange": "NFO",
      "ordertype": "LIMIT",
      "producttype": "BO",
      "duration": "DAY",
      "price": "457.75",
      "squareoff": "205.99",
      "stoploss": "68.66",
      "trailingstoploss": "5",
      "quantity": "130"
      }

      response error will be

      {"message":"SquareOff should be passed only for ROBO orders","errorcode":"AB4045","status":false,"data":null}

      This same order type and parameters is wokring perfactuly till 31 March 2026

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