mirror of
https://github.com/bisq-network/bisq-api-reference.git
synced 2026-01-26 17:33:33 +00:00
The TakeBestPricedOfferTo*Btc needed to be split up so they are specific to fiat offers, and this change adds new TakeBestPricedOfferTo*Xmr bots just for XMR. This simplifies the the non-bsq-swap bots; documenting, coding, configuring, and logging the taking of both fiat and xmr (altcoin) offers in the same bots was getting confusing, and that's going to turn away potential users. This refactoring means there are six bots now, and it forced considerable refactoring in all of them. This commit is the bulk of the work for the PR, but there will be more changes after everything is tested again, and comments are adjusted.
29 lines
1.2 KiB
Properties
29 lines
1.2 KiB
Properties
# Maximum # of offers to take during one bot session. When reached, bot will shut down (but not the API daemon).
|
|
maxTakeOffers=1
|
|
#
|
|
# Taker bot's payment account id. Only SELL BTC offers using the same payment method will be considered for taking.
|
|
paymentAccountId=a15d0f15-e355-4b89-8322-e262097623ae
|
|
#
|
|
# Taker bot's max market price margin. A candidate buy BTC offer's price margin must be <= maxMarketPriceMargin.
|
|
maxMarketPriceMargin=1.10
|
|
#
|
|
# Taker bot's min BTC amount to buy. The candidate buy BTC offer's amount must be >= minAmount BTC.
|
|
minAmount=0.01
|
|
#
|
|
# Taker bot's max BTC amount to buy. The candidate buy BTC offer's amount must be <= maxAmount BTC.
|
|
maxAmount=0.90
|
|
#
|
|
# Taker bot's max acceptable transaction fee rate (sats / byte).
|
|
# Regtest fee rates are from https://price.bisq.wiz.biz/getFees
|
|
maxTxFeeRate=25
|
|
#
|
|
# Bisq trade fee currency code (BSQ or BTC).
|
|
bisqTradeFeeCurrency=BSQ
|
|
#
|
|
# Taker bot's list of preferred trading peers (their onion addresses).
|
|
# If you do not want to constrict trading to preferred peers, comment this line out with a '#' character.
|
|
preferredTradingPeers=localhost:8888
|
|
#
|
|
# Offer polling frequency must be >= 1s (1000ms) between each getoffers request.
|
|
pollingInterval=30000
|