@utils.requires_login<EOL><INDENT>def replace_orders(self, market_id, instructions, customer_ref=None):<DEDENT>
return self.make_api_request(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>utils.get_kwargs(locals()),<EOL>model=models.ReplaceExecutionReport,<EOL>)<EOL>
This operation is logically a bulk cancel followed by a bulk place.
        The cancel is completed first then the new orders are placed.

        :param str market_id: The market id these orders are to be placed on
        :param list instructions: List of `ReplaceInstruction` objects
        :param str customer_ref: Optional order identifier string