Navigation

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

    For ROBO order trailing stop loss not working

    General Discussion
    0
    4
    43
    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.
    • S
      srijan last edited by

      Hi,
      For ROBO order I am giving the following parameters
      orderparams = {
      "variety": "ROBO",
      "tradingsymbol": "BOSCHLTD-EQ",
      "symboltoken": 2181,
      "transactiontype": "BUY",
      "exchange": "NSE",
      "ordertype": "LIMIT",
      "producttype": "BO",
      "duration": "DAY",
      "price": "22555",
      "stoploss": "30",
      "trailingStopLoss": "10",
      "squareoff": "100",
      "quantity": "1"
      }
      order placing, but trailing stop loss not working, @admin please check these parameters, correct or not

      M 1 Reply Last reply Reply Quote 0
      • M
        Moderator_2 @srijan last edited by

        Hi @srijan

        Apologies for delayed response.
        We are checking on this. As analyzed, the passed request parameters are proper. Kindly share us the client code for us to analyze further and Please share the date of the issue.

        Thanks & Regards,
        SmartAPI team

        M 1 Reply Last reply Reply Quote 0
        • M
          mkushe @Moderator_2 last edited by

          @Moderator_2 Hi Team, Is trailing stop loss working now in ROBO order?
          Also should it contain % or points or amount?

          e.g. price = 120
          stopLoss = 10 (%) or 12 (points) or 108 (amount)
          squareoff = 10 (%) or 12 (points) or 132 (amount)
          trailingStopLoss = 2 (%) or 2.4 (points) or 117.6 (amount)

          1 Reply Last reply Reply Quote 0
          • C
            chatiwthkanhu last edited by

            @admin

            13:03:00 INFO smart_api.py place_order 168 OBEROIRLTY-EQ 20242 - place_order_parameter: {
            "variety": "ROBO",
            "tradingsymbol": "OBEROIRLTY-EQ",
            "symboltoken": "20242",
            "transactiontype": "BUY",
            "exchange": "NSE",
            "ordertype": "LIMIT",
            "producttype": "INTRADAY",
            "duration": "DAY",
            "price": 1791.95,
            "squareoff": 4.45,
            "stoploss": 5.4,
            "quantity": 1,
            "trailingStopLoss": 3
            }

            order is getting rejected with below error

            "text": ":BO: Upticks and downticks should be greater than given percentage: Absolute Price : 1.06 Tick Size :107 Allowed range ->[0-100: 1.00]\t[100-500: 1.00]\t[500-1000: 3.00]\t[>1000: 3.00]\t:",

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