Navigation

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

    Not able to understand SL LIMIT in ROBO order

    General Discussion
    3
    7
    82
    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
      Poorva last edited by

      Hi ,

      I am not able to understand in my SL LIMIT order of ROBO order , why the price is sent as 457.

      Below were my order paramaters and order ID :

      {'variety': 'ROBO', 'tradingsymbol': 'SBIN-EQ', 'symboltoken': '3045', 'transactiontype': 'BUY', 'exchange': 'NSE', 'ordertype': 'LIMIT', 'producttype': 'BO', 'duration': 'DAY', 'price': 471.6, 'squareoff': 23, 'stoploss': 4, 'triggerprice': 471.6, 'trailingStopLoss': 4, 'quantity': '1'}

      The order id is: 211011001093807

      Below is the screenshot for my order :
      179a03f1-dea9-4663-b41b-6af2b9cb55dc-image.png

      What is this "Price" in the SL LIMIT Order of ROBO Order?

      Also , as per above order parameters , I had given trailing stoploss as 4 , but I do not see it working. Its not also seen when clicked on Order Details button.

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

        HI @Poorva We will test it and update you on this.

        P H 2 Replies Last reply Reply Quote 0
        • P
          Poorva @admin last edited by

          @admin Hi , Please let me know more on this.

          1 Reply Last reply Reply Quote 0
          • H
            HawkEye @admin last edited by

            @admin
            I am facing exactly same issue.
            Following is my order:
            orderparams = {
            "variety": "ROBO",
            "tradingsymbol": 'INDUSINDBK-EQ',
            "symboltoken": '5258',
            "transactiontype": "BUY",
            "exchange": "NSE",
            "ordertype": "LIMIT",
            "producttype": "BO",
            "duration": "DAY",
            "price": 1043,
            "squareoff": 1047,
            "stoploss": 1040,
            "quantity": 10
            }
            orderId=obj.placeOrder(orderparams)

            OrderId : 211115000659870

            After execution:
            SELL
            INDUSINDBKNSE
            ROBO ORDER
            SL LIMIT
            933.35/933.35
            10

            and
            SELL
            INDUSINDBKNSE
            ROBO ORDER
            LIMIT
            1,140.75
            10
            1,037.00

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

              HI @HawkEye squareoff , stoplossshould be in points.

              H 1 Reply Last reply Reply Quote 0
              • H
                HawkEye @admin last edited by

                @admin
                Since I had Buy@1043 with Target 1047 and Stop loss 1043,
                If it's in points, shouldn't the squareOff be 2090 and Stop Loss be 3 in that case?
                What am I missing?
                Can you please help on getting me the values for squareoff and stoploss that should have been my input.

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

                  Hi @HawkEye please refer below req:
                  eg:
                  if your order is executed at 500 and your desired target is 510 the square off will be 10 and if the sl is 495 then the stoploss value will be 5.
                  {
                  "variety":"ROBO",
                  "tradingsymbol":"SBIN-EQ",
                  "symboltoken":"3045",
                  "transactiontype":"BUY",
                  "exchange":"NSE",
                  "ordertype":"LIMIT",
                  "producttype":"BO",
                  "duration":"DAY",
                  "price":"0",
                  "trailingStopLoss" : "3",
                  "squareoff":"10",
                  "stoploss":"5",
                  "quantity":"1"
                  }

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