@staticmethod
def _scale_quantity(symbol_details, quantity):
    """Scales the quantity for an order to the given scale

        Parameters
        ----------
        symbol_details : dict
            dictionary of details from the symbols from the symbols channel
        quantity : float
            quantity of order

        Returns
        -------
        quantity : float
            quantity of order scaled to required level
        """
    quantity = round(quantity, symbol_details['base_currency_scale'])
    return quantity
