Increase Max trade size to 4M, increase max range size from 5 to 8

This commit is contained in:
Reckless_Satoshi 2022-07-30 05:27:15 -07:00
parent b1b2697ba5
commit aad87e7d98
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
3 changed files with 4 additions and 4 deletions

View File

@ -182,10 +182,10 @@ class Logics:
" Sats now, but the limit is " + "{:,}".format(MIN_TRADE) + " Sats now, but the limit is " + "{:,}".format(MIN_TRADE) +
" Sats" " Sats"
} }
elif min_sats < max_sats/5: elif min_sats < max_sats/8:
return False, { return False, {
"bad_request": "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 return True, None

View File

@ -35,7 +35,7 @@ robosats:
maker_fee : 0.025 # In percent (%) maker_fee : 0.025 # In percent (%)
taker_fee : 0.175 # In percent (%) taker_fee : 0.175 # In percent (%)
total_fee : 0.2 # 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 min_trade_limit : "20,000" # In Satoshis
hours_public_default : 24 # In hours hours_public_default : 24 # In hours
hours_fiat_exchange : 24 # In hours hours_fiat_exchange : 24 # In hours

View File

@ -29,7 +29,7 @@ class MakerPage extends Component {
defaultMinTradeSats = 20000; defaultMinTradeSats = 20000;
defaultMaxTradeSats = 1200000; defaultMaxTradeSats = 1200000;
defaultMaxBondlessSats = 50000; defaultMaxBondlessSats = 50000;
maxRangeAmountMultiple = 4.8; maxRangeAmountMultiple = 7.8;
minRangeAmountMultiple = 1.6; minRangeAmountMultiple = 1.6;
constructor(props) { constructor(props) {