diff --git a/exchanges/cexio.js b/exchanges/cexio.js
index <HASH>..<HASH> 100644
--- a/exchanges/cexio.js
+++ b/exchanges/cexio.js
@@ -65,7 +65,7 @@ Trader.prototype.sell = function(amount, price, callback) {
   // Prevent "You incorrectly entered one of fields."
   // because of more than 8 decimals.
   amount *= 100000000;
-  amount = Math.ceil(amount);
+  amount = Math.floor(amount);
   amount /= 100000000;
 
   // test placing orders which will not be filled
Fix rounding error for GHS trading on CEX.io

We were rounding the GHS amout to sell up, which caused some trades
to fail because of insufficient funds.