Skip to content

Commit

Permalink
Update createoffer help text with BSQ & XMR examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ghubstan committed Sep 17, 2021
1 parent 4b92f7b commit 427363c
Showing 1 changed file with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions core/src/main/resources/help/createoffer-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SYNOPSIS
createoffer
--payment-account=<payment-acct-id>
--direction=<buy|sell>
--currency-code=<eur|usd>
--currency-code=<eur|usd|bsq|xmr>
--market-price-margin=<percent> | --fixed-price=<btc-price>
--amount=<btc-amount>
--min-amount=<btc-amount>
Expand All @@ -18,25 +18,25 @@ createoffer

DESCRIPTION
-----------
Create and place an offer to buy or sell BTC using a fiat account.
Create and place an offer to buy or sell BTC using a fiat or altcoin account.

OPTIONS
-------
--payment-account
The ID of the fiat payment account used to send or receive funds during the trade.
The ID of the payment account used to send or receive funds during the trade.

--direction
The direction of the trade (BUY or SELL).

--currency-code
The three letter code for the fiat used to buy or sell BTC, e.g., EUR, USD, BRL, ...
The three-letter code for the fiat or altcoin used to buy or sell BTC, e.g., BSQ, XMR, EUR, USD, ...

--market-price-margin
The % above or below market BTC price, e.g., 1.00 (1%).
If --market-price-margin is not present, --fixed-price must be.

--fixed-price
The fixed BTC price in fiat used to buy or sell BTC, e.g., 34000 (USD).
The fixed BTC price used to buy or sell BTC, e.g., 45000 (USD).
If --fixed-price is not present, --market-price-margin must be.

--amount
Expand Down Expand Up @@ -80,3 +80,29 @@ $ ./bisq-cli --password=xyz --port=9998 createoffer --payment-account=7413d263-2
--fixed-price=40000 \
--security-deposit=25.0 \
--fee-currency=btc

To create a BUY 0.006 BTC for BSQ offer
at a fixed BSQ price of 0.00005 BTC,
using a payment account with ID 1473d263-225a-4f1c-837a-1e3094dc0e32,
putting up a 25 percent security deposit,
and paying the Bisq maker trading fee in BTC:
$ ./bisq-cli --password=xyz --port=9998 createoffer --payment-account=1473d263-225a-4f1c-837a-1e3094dc0e32 \
--direction=buy \
--currency-code=bsq \
--amount=0.006 \
--fixed-price=0.00005 \
--security-deposit=25.0 \
--fee-currency=btc

To create a SELL 0.025 BTC for XMR offer
at a fixed XMR price of 0.005 BTC,
using a payment account with ID 1373d263-225a-4f1b-837a-1e3094dc0e32,
putting up a 30 percent security deposit,
and paying the Bisq maker trading fee in BSQ:
$ ./bisq-cli --password=xyz --port=9998 createoffer --payment-account=1373d263-225a-4f1b-837a-1e3094dc0e32 \
--direction=sell \
--currency-code=xmr \
--amount=0.025 \
--fixed-price=0.005 \
--security-deposit=30.0 \
--fee-currency=bsq

0 comments on commit 427363c

Please sign in to comment.