editoffer

NAME
----
editoffer - edit an existing offer

SYNOPSIS
--------
editoffer
		--offer-id=<value>
		--fixed-price=<value> | --market-price-margin=<value>
		[--trigger-price=<value>]
		[--currency-code=<value>]
		[--payment-account-id=<value>]
		--extra-info=<value>

DESCRIPTION
-----------
Replace an existing offer's pricing, trigger price, and offer terms together.
Supply the current values again to retain them.  Currency and payment account
remain unchanged when omitted.  Activation is controlled by activateoffer and
deactivateoffer.

OPTIONS
-------
--offer-id
		The id of the offer being edited.

--fixed-price
		The new fixed price.  Specify this or market-price-margin, not both.

--market-price-margin
		The new price margin (%).  Requires an explicit trigger-price.

--trigger-price
		The price at which a market priced offer is deactivated.  Required for
		market pricing; use 0 to disable the trigger.  A fixed price offer
		cannot have a non-zero trigger price.

--currency-code
		The optional new currency code.

--payment-account-id
		The optional id of a different payment account to be used for the offer.

--extra-info
		The offer's own terms and info, required even when empty.  Use
		--extra-info="" to clear them.  Payment account instructions are attached
		automatically; do not include them here.

EXAMPLES
--------
Change an offer to a fixed price and retain its own terms by supplying them again:
$ ./haveno-cli --password=xyz --port=9998 editoffer --offer-id=<offer-id> --fixed-price=150.00 --extra-info="Existing offer terms"

Change an offer's market price margin, disable the trigger, and clear its own terms:
$ ./haveno-cli --password=xyz --port=9998 editoffer --offer-id=<offer-id> --market-price-margin=1.50 --trigger-price=0 --extra-info=""
