market-protection for Market orders

Jagan
It is disappointing when a stable place-order API suddenly starts breaking because the market_protection parameter has not been set. The documentation on the Zerodha API site → Kite Connect → View Docs → Orders → Placing Orders has not been updated to reflect these changes. Even sample curl url does not have this parameter, instead seperate section been added.

Backward compatibility could have been maintained by keeping a default value for market protection on MARKET orders. MARKET orders are the most suitable option during closing hours for squaring off open positions. Such API breaks also lead to additional charges for auto square-off.

This API change could have been handled more carefully.
Sign In or Register to comment.