A market-to-limit order is sent in as a market order to execute at the current best price. If the entire order does not immediately execute at the market price, the remainder of the order is re-submitted as a limit order with the limit price set to the price at which the market order portion of the order executed.
To create a market-to-limit order