Did stop loss and shorting stopped working?
-
Hi I'm trying to use shorting and stop loss it seems it isnt working...
Here is my code for shorting @admin @SmartAPI-Admin can you let me know if this is the case or do you think the param is wrong?
orderparams = { "variety": "NORMAL", "tradingsymbol": "SBIN-EQ", "symboltoken": "3045", "transactiontype": "SELL", "exchange": "NSE", "ordertype": "LIMIT", "producttype": "INTRADAY", "duration": "DAY", "price": "19500", "squareoff": "0", "stoploss": "0", "quantity": "1" } orderId=obj.placeOrder(orderparams)
-
@Vignesha CAN YOU SHARE THE STOPLOSS COMMAND AS MY ORDERS ARE GETTING REJECTED WITH INVALID TRIGGER PRICE (TRIGGER PRICE IS SHOWING 0)
-
@DIYD20997 , @binayapattanaik,
Those, trades with stoploss orders from my side are squeezed at historical data & recorded with AngelOne.
Thanks! -
@DIYD20997 Thanks for confirming. The above param. itself somehow started to work.
-
@godboleamit Got it... Also for some reason the above param. i pasted started to work idk what i did but now i can short and give stop loss to an order...
Thanks for the advice on this -
@admin any update on this?
I know lot of things are going on but could you please help with this issue? I followed the exact thing from documentation but unable to place Stop loss or Shorting order... Can you let me know if its enabled or not? -
hey @Vignesha, if you are shorting, then stop loss order has to be with transactiontype as 'BUY'.
-
@Vignesha Yes.