Not able to understand SL LIMIT in ROBO order


  • 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.


  • 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"
    }


  • @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.


  • HI @HawkEye squareoff , stoplossshould be in points.


  • @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


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


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