def price_to_precision(self, symbol, price):
    price = self.decimal_to_precision(price, ROUND, self.markets[symbol]['precision']['price'], self.precisionMode)
    return self.decimal_to_precision(price, TRUNCATE, 8, DECIMAL_PLACES)
def price_to_precision(self, symbol, price):
    price = self.decimal_to_precision(price, ROUND, self.markets[symbol]['precision']['price'], self.precisionMode)
    return self.decimal_to_precision(price, TRUNCATE, 8, DECIMAL_PLACES)