Unable to Place Stop Loss Order
-
@admin said in Unable to Place Stop Loss Order:
hi @ananand @Reddy please update the SDK as we have made the required changes. You can try now to execute stoploss order.
Thanks for working on this.
Still it seems to be not working. will try again in trading hours and update you. -
@admin
The issue is still pending. Can you please share an ETA for this as it is open for 20 days. -
Please check the highlighted portion of the code in Github. We are getting the same error while running the latest script.
-
Hey @admin
Hope you are doing great. Its been 1 month and I am still unable to use the R API properly. I am unable to place the Stop Loss orders and Get Candle Data. Please resolve the issue ASAP. -
Hi@Reddy yes going good we will update you by EOD after coordinating with our r Dev team.
-
Hello @admin
I just wanted to check if there are any updates on get_candle_data and Stop Loss limit order placement -
Hi @Reddy update your r sdk and try again problem is resolved.
-
Hello Team ,
I am unable to establish the connection using the latest update of smartapi. Please find the below image of the error.Happy to connect at 8919373818. Please resolve the issue ASAP !!
FYI - @admin
-
Hi @Reddy we have noted this we will update you after coordinating with our team.
-
Hello @admin
Just wanted to check if this is fixed or I can shift to Zerodha/ Alica Blue for automated trading !!
Trying to follow up for a long time.Regards,
Sai Teja Reddy,
8919373818 -
Hi @Reddy As discused we asked you to update r sdk and try to use the sl order.
-
Hey @admin
I have downloaded the latest version and installed it. I am getting the error with ipconfig and flagged the same issue multiple time. It would be great if you can connect and resolve the issue. If I am not wrong I have shared the working code of it in the last meeting but the issue is still not fixed.
Happy to connect at 8919373818 !!
-
HI @Reddy we will connect you today in market hours.
-
Hey @admin
As discussed can you please let me know if the new version is ready to use. I am waiting for your response. -
which operating system are you using ? Looks like R is failing at ipconfig. My guess is that you may be using some flavour of linux in which output is not compatible. Only a guess work..
-
Hi @Reddy Yes .
-
hi @Reddy Have you updated your sdk and tried..?
-
Hey @admin
I have updated my SDK and had to do a few changes in the connection.R file. Mainly publicip, localip and mac address. Now I am able to place create a connection. I am able to get the candle_data and place the Stop Loss order. However, a new issue has been raised. I am not able to place the LImit orders and Market orders which was working fine earlier. Please find the below parameters and error.Parameters :
order_place <- place_order(object = session_data,
variety= "NORMAL",
tradingsymbol= "BANDHANBNK-EQ",
symboltoken= "2263",
transactiontype= "BUY",
exchange= "NSE",
ordertype= "SL-M",
producttype= "INTRADAY",
duration= "DAY",
price= 405,
squareoff= 0,
stoploss= 0,
quantity= 100
)Error :
Error in place_order(object = session_data, variety = "NORMAL", tradingsymbol = "BANDHANBNK-EQ", :
unused arguments (squareoff = 0, stoploss = 0)
-
Hi @Reddy ok we will get back to you on this.
-
HI @Reddy kindly refer below values for order type:
MARKET
LIMIT
STOPLOSS_LIMIT
STOPLOSS_MARKET