Navigation

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

    ROBO STOPLOSS is failing

    General Discussion
    0
    1
    4
    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.
    • C
      chatiwthkanhu last edited by

      Difference between limit price and trigger price is beyond permissible range

      when api called for ROBO order with following parameter, the stoploss is getting rejected with error "Difference between limit price and trigger price is beyond permissible range"

      the parameter while ROBO order

      12:11:02 INFO smart_api.py place_order 167 COLPAL-EQ 15141 - place_order_parameter: {
      "variety": "ROBO",
      "tradingsymbol": "COLPAL-EQ",
      "symboltoken": "15141",
      "transactiontype": "BUY",
      "exchange": "NSE",
      "ordertype": "LIMIT",
      "producttype": "INTRADAY",
      "duration": "DAY",
      "price": 3660.25,
      "squareoff": 11.0,
      "stoploss": 7.3,
      "quantity": 1,
      "triggerprice": 7.2,
      "trailingStopLoss": 11.0
      }

      here is the rejection with below detail
      {
      "variety": "ROBO",
      "ordertype": "STOPLOSS_LIMIT",
      "producttype": "BO",
      "duration": "DAY",
      "price": 3542.8,
      "triggerprice": 3652.4,
      "quantity": "1",
      "disclosedquantity": "0",
      "squareoff": 0.0,
      "stoploss": 0.0,
      "trailingstoploss": 0.0,
      "tradingsymbol": "COLPAL-EQ",
      "transactiontype": "SELL",
      "exchange": "NSE",
      "symboltoken": "15141",
      "ordertag": "",
      "instrumenttype": "",
      "strikeprice": -1.0,
      "optiontype": "",
      "expirydate": "",
      "lotsize": "1",
      "cancelsize": "0",
      "averageprice": 0.0,
      "filledshares": "0",
      "unfilledshares": "1",
      "orderid": "240903000628054",
      "text": "16448 : Difference between limit price and trigger price is beyond permissible range",
      "status": "rejected",
      "orderstatus": "rejected",
      "updatetime": "03-Sep-2024 12:11:18",
      "exchtime": "03-Sep-2024 12:11:02",
      "exchorderupdatetime": "",
      "fillid": "",
      "filltime": "",
      "parentorderid": "240903000628052",
      "uniqueorderid": "1725345678-8317-K55139251-BO",
      "exchangeorderid": "1000000021393821"
      },

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