Comments (0)

Files changed (1)

File src/main/java/com/nubits/nubot/trading/LiquidityDistribution/LiquidityDistributionModel.java Modified

View file
  • Ignore whitespace
  • Hide word diff
         }
 
         if (cap > 0) {
-
             //Might need to put a cap on the available balance
             if (NBTbalanceEquivalent > cap) {
                 double amountTemp = cap;
         //Add it or remove it from the price, based on the type of order
         if (type.equals(Constant.SELL)) {
             wallPrice += totalOffset;
+            if (!Global.options.isDualSide()) {
+                wallPrice += Global.options.getPriceIncrement();
+            }
         } else {
             wallPrice -= totalOffset;
         }