diff --git a/js/cex.js b/js/cex.js
index <HASH>..<HASH> 100644
--- a/js/cex.js
+++ b/js/cex.js
@@ -312,8 +312,11 @@ module.exports = class cex extends Exchange {
                     pricePrecision = this.safeInteger (pair, 'pricePrecision', pricePrecision);
                 }
             }
+            const baseCcyPrecision = this.safeInteger (baseCurrency, 'precision', 8);
+            const baseCcyScale = this.safeInteger (baseCurrency, 'scale', 0);
+            const amountPrecision = baseCcyPrecision - baseCcyScale;
             const precision = {
-                'amount': this.safeInteger (baseCurrency, 'precision', 8),
+                'amount': amountPrecision,
                 'price': pricePrecision,
             };
             result.push ({
[cex] trying to fix amount precision