@Arockiya_r - I can still place AMO orders from an unregistered IP. Are you sure that the validation check is already there in your production environment?
@Arockiya_r - Strange ! My orders when converted from SL-LIMIT to MARKET (with market_protection=-1) do not show the shield icon in the orders. Instead, those seem to be executed as LIMIT orders. Can you please check why is that?
@Matti - I also have the same problem as @DaneshBansal. My SL limit to MARKET order is not getting market protected despite specifying the market_protection field in modify_order() method in python.
@Arockiya_r - Example:
- I have an trigger-pending SL-LIMIT order
- Sometimes, before hitting the trigger, I need to square the order off the position. In that case, instead of cancelling the existing trigger-pending SL-LIMIT order and creating a …
@Arockiya_r - Please make sure to consider the case of modify_order() when I'm trying to modify an existing LIMIT-SL order to MARKET order. Thank you !
Good news @adarsh1392 @RS6006 @scaars13 @yogeshs !
Market protection parameter is working with the PR:
https://github.com/zerodha/pykiteconnect/pull/218
Earlier, I mentioned that it did not work because I was receiving {"market_protection": 0} in …
@adarsh1392 - It's not about adding parameter while calling the method, the definition of the place_order() in kiteconnect.py [kiteconnect package] needs to accept that parameter right. I was talking about that.
@RS6006 - Yea, but, as a standard practice, it's not recommended to update the site-packages manually. Especially if the system is docker containerised, it becomes unnecessary burden to update the package in a manual way.
Btw, during my testing tod…
@scaars13 @yogeshs - Someone has already opened a PR for it (I think it should work, I'll be testing it tomorrow).
https://github.com/zerodha/pykiteconnect/pull/218
If you're using requirements.txt for python, just replace kiteconnect with this:
ht…
@Matti - URGENT MATTER ! Seems like the market_protection parameter is still not there in 5.0.1 [python]
This can become a huge problem if not fixed URGENTLY.
@Nivas @Sravanthi_bh - URGENT MATTER ! Seems like the market_protection parameter is still not there in 5.0.1 [python]
According to zerodha (https://kite.trade/forum/discussion/15912/preparing-to-comply-with-sebis-retail-algo-rules-static-ip-ratelim…