From 913bc4192843069dd9a03dddbc2d8b9d19c9f499 Mon Sep 17 00:00:00 2001 From: Manfred Karrer Date: Thu, 6 Dec 2018 17:50:57 +0100 Subject: [PATCH] Decrease the tolerance window for offers --- 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 249080fcf75..c54c573ab8c 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 @@ @Slf4j public class Offer implements NetworkPayload, PersistablePayload { - // We allow max. 2 % difference between own offerPayload price calculation and takers calculation. + // We allow max. 0.5 % 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.02; + final static double PRICE_TOLERANCE = 0.005; /////////////////////////////////////////////////////////////////////////////////////////// // Enums