Two questions on `market_protection` for orders placed via the API.
1. The announcement said market and SL-M orders with `market_protection` set to 0 would be rejected from April 1. Is a market order or SL-M order that omits `market_protection` rejected today? If so, what is the exact error message returned?
2. When a market order is placed with `market_protection=-1`, or with a positive `market_protection` value where supported, and the price moves beyond the protection band before the whole quantity is filled, what happens to the unfilled quantity? Is it cancelled, left pending as a limit order at the band price, or something else? What `status`, `filled_quantity` and `pending_quantity` does the order show afterwards?
1: The API returns: "Market orders without market protection are not allowed via API. Please set market protection or use a Limit order." 2: If the order is partially filled and the market moves beyond the applicable protection range before the entire quantity is executed, the remaining quantity can continue to remain open/pending. For a partially filled order, the order ID remains the same. The status filled_quantity reflects the quantity that has been executed, while pending_quantity reflects the quantity that remains pending. The order remains OPEN while the remaining quantity is pending.
2: If the order is partially filled and the market moves beyond the applicable protection range before the entire quantity is executed, the remaining quantity can continue to remain open/pending.
For a partially filled order, the order ID remains the same. The status filled_quantity reflects the quantity that has been executed, while pending_quantity reflects the quantity that remains pending. The order remains OPEN while the remaining quantity is pending.
You may refer to support article and Documentation.