<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_24hr_stats(self, symbol):
 """Get 24hr stats for a symbol. Volume is in base currency units. open, high, low are in quote currency units. :param symbol: (optional) Name of symbol e.g. KCS-BTC :type symbol: string .. code:: python stats = client.get_24hr_stats('ETH-BTC') :returns: ApiResponse Without a symbol param .. code:: python { "symbol": "BTC-USDT", "changeRate": "0.0128", # 24h change rate "changePrice": "0.8", # 24h rises and falls in price (if the change rate is a negative number, # the price rises; if the change rate is a positive number, the price falls.) "open": 61, # Opening price "close": 63.6, # Closing price "high": "63.6", # Highest price filled "low": "61", # Lowest price filled "vol": "244.78", # Transaction quantity "volValue": "15252.0127" # Transaction amount } :raises: KucoinResponseException, KucoinAPIException """


        data = {
            'symbol': symbol
        }

        return self._get('market/stats', False, data=data)