code: def replace_instruction(bet_id, new_price):
      
      args = locals()
      return {
          to_camel_case(k): v for k, v in args.items() if v is not None
      }
docs: Instruction to replace a LIMIT or LIMIT_ON_CLOSE order at a new price.
      Original order will be cancelled and a new order placed at the new price for the remaining stake.
      :param str bet_id: Unique identifier for the bet
      :param float new_price: The price to replace the bet at
  
      :returns: replace report detailing status, replace requested and actual replace details.
      :rtype: dict