Navigation

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

    Posts made by Rahulang23

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

      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

      posted in Java SDK
      R
      Rahulang23