@nehasrivastava strange it works for me as per expectation
ForumUser_1
@ForumUser_1
Best posts made by ForumUser_1
Latest posts made by ForumUser_1
-
RE: Option sell with stop loss price APIposted in General Discussion
-
RE: Option sell with stop loss price APIposted in General Discussion
@nehasrivastava you can see here
https://smartapi.angelbroking.com/docs/Orders
triggerprice The price at which an order should be triggered (SL, SL-M) -
RE: Option sell with stop loss price APIposted in General Discussion
@nehasrivastava you need to give params like below:
order_type='STOPLOSS_LIMIT'
variety='STOPLOSS'
triggerprice=sl trigger price
price=limit price (or 0.0 for SL-M order)I did not give anything for "stoploss" and "squareoff" parameter
-
Basket order feature?posted in General Discussion
Can you please add a simple basket order feature so that for placing multiple orders at once (like a straddle) we can do it easily? Currently an API call for placing order takes 1s which is too high.
-
RE: Time delay in placing ordersposted in General Discussion
@daytrader I have also tested it, making an API call for place order or modify order takes almost 1s which is too much. And they do not even have the basket order feature, so for multiple orders, either we have to do serially or use multi threading. It would be good if this much latency could be reduced.
-
RE: SSLError : certificate verify failed: unable to get local issuer certificate (posted in Python SDK
@daytrader - how to update the cache of certificates locally?
@admin - can you resolve this issue today itself? I am sure lot of users will be unhappy if they face it on Monday. -
Validity of token generatedposted in General Discussion
For how long is the token valid? If I generate it at 9am, then will it be valid till 3.30pm? Or do I need to generate intraday again? Also - the token won't get invalidated if I login on app/website?
-
RE: not able to place stop loss orderposted in General Discussion
@admin - as discussed on call, there seems to be some issue with python sdk for SL orders. Please get this rectified.
-
RE: not able to place stop loss orderposted in General Discussion
@admin - thanks, I still get an issue though:
order=create_order('NIFTY31DEC2014800CE','41772','BUY','75',order_type='STOPLOSS_LIMIT',trigger_price='2.0',limit_price='2.1',variety='STOPLOSS') order_id=obj.placeOrder(ce_sl_order)I check order status and it has below error message in 'text' field of order:
16408 : Trigger price entered has invalid characters