From aad87e7d98be30bbbb814b91534e0709724c2bc4 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Sat, 30 Jul 2022 05:27:15 -0700 Subject: [PATCH] Increase Max trade size to 4M, increase max range size from 5 to 8 --- api/logics.py | 4 ++-- docs/_config.yml | 2 +- frontend/src/components/MakerPage.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/logics.py b/api/logics.py index a56add1d..b7c3d1dc 100644 --- a/api/logics.py +++ b/api/logics.py @@ -182,10 +182,10 @@ class Logics: " Sats now, but the limit is " + "{:,}".format(MIN_TRADE) + " Sats" } - elif min_sats < max_sats/5: + elif min_sats < max_sats/8: return False, { "bad_request": - f"Your order amount range is too large. Max amount can only be 5 times bigger than min amount" + f"Your order amount range is too large. Max amount can only be 8 times bigger than min amount" } return True, None diff --git a/docs/_config.yml b/docs/_config.yml index 596bf931..bd097609 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -35,7 +35,7 @@ robosats: maker_fee : 0.025 # In percent (%) taker_fee : 0.175 # In percent (%) total_fee : 0.2 # In percent (%) - max_trade_limit : "3,000,000" # In Satoshis + max_trade_limit : "4,000,000" # In Satoshis min_trade_limit : "20,000" # In Satoshis hours_public_default : 24 # In hours hours_fiat_exchange : 24 # In hours diff --git a/frontend/src/components/MakerPage.js b/frontend/src/components/MakerPage.js index ef01c144..54beb3b4 100644 --- a/frontend/src/components/MakerPage.js +++ b/frontend/src/components/MakerPage.js @@ -29,7 +29,7 @@ class MakerPage extends Component { defaultMinTradeSats = 20000; defaultMaxTradeSats = 1200000; defaultMaxBondlessSats = 50000; - maxRangeAmountMultiple = 4.8; + maxRangeAmountMultiple = 7.8; minRangeAmountMultiple = 1.6; constructor(props) {