mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
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%.
This commit is contained in:
parent
39f3c6effe
commit
f12ff5ce92
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue