diff --git a/js/bitfinex.js b/js/bitfinex.js
index <HASH>..<HASH> 100644
--- a/js/bitfinex.js
+++ b/js/bitfinex.js
@@ -673,7 +673,7 @@ module.exports = class bitfinex extends Exchange {
         return this.parseOrder (result);
     }
 
-    async editOrder (id, symbol = undefined, type = undefined, side = undefined, amount = undefined, price = undefined, params = {}) {
+    async editOrder (id, symbol, type, side, amount = undefined, price = undefined, params = {}) {
         await this.loadMarkets ();
         let orderType = this.translateOrderType (type);
         let order = {
bitfinex editOrder signature compatible with the declaration from the base class