From f12ff5ce9234e33475b0d386096b1b66cb2e319d Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Fri, 4 Jan 2019 13:50:38 +0100 Subject: [PATCH] Adjust % value for offer price tolerance window - There have been some reports that the 0,5% value is too narrow so we increase it to 1%. --- core/src/main/java/bisq/core/offer/Offer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/bisq/core/offer/Offer.java b/core/src/main/java/bisq/core/offer/Offer.java index 92b3bf76d6..8d4c272e5a 100644 --- a/core/src/main/java/bisq/core/offer/Offer.java +++ b/core/src/main/java/bisq/core/offer/Offer.java @@ -70,11 +70,11 @@ import static com.google.common.base.Preconditions.checkNotNull; @Slf4j public class Offer implements NetworkPayload, PersistablePayload { - // We allow max. 0.5 % difference between own offerPayload price calculation and takers calculation. + // We allow max. 1 % difference between own offerPayload price calculation and takers calculation. // Market price might be different at maker's and takers side so we need a bit of tolerance. // The tolerance will get smaller once we have multiple price feeds avoiding fast price fluctuations // from one provider. - final static double PRICE_TOLERANCE = 0.005; + final static double PRICE_TOLERANCE = 0.01; /////////////////////////////////////////////////////////////////////////////////////////// // Enums