Navigation

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

    Not working of trailing stop loss

    General Discussion
    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.
    • P
      pankaj18 last edited by

      Trailing Stop loss is not working in robo order

      orderparams = {
      "variety": "ROBO",
      "tradingsymbol": ticker,
      "symboltoken": symbol_token,
      "transactiontype": "BUY",
      "exchange": exchange,
      "ordertype": "LIMIT",
      "producttype": product_type,
      "duration": "DAY",
      "price": price,
      "squareoff": 180,
      "stoploss":60,
      "trailingStopLoss":10,
      "quantity": "15"
      }

      what's wrong in this?

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

        Hi, If the stock price is 100, and you want a target of 110 and SL of 95, please fill "squareoff" as 10 and "stoploss" as 5.

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