From 6e0299642e0b14b0a338510083d2e9cdb8a04585 Mon Sep 17 00:00:00 2001 From: ghubstan <36207203+ghubstan@users.noreply.github.com> Date: Sat, 22 Jan 2022 16:03:34 -0300 Subject: [PATCH] Fill out gettrades-help.txt --- .../main/resources/help/gettrades-help.txt | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/core/src/main/resources/help/gettrades-help.txt b/core/src/main/resources/help/gettrades-help.txt index 0f140b1d52..d23608d809 100644 --- a/core/src/main/resources/help/gettrades-help.txt +++ b/core/src/main/resources/help/gettrades-help.txt @@ -2,26 +2,32 @@ gettrades NAME ---- -gettrades - get trade history +gettrades - get open, closed, or failed trades SYNOPSIS -------- gettrades - --currency-code= + --category= DESCRIPTION ----------- -TODO +Displays list of all currently open, closed, or failed trades. OPTIONS ------- ---currency-code - TODO +--category + The category of trade summaries: open (pending), closed (historical), and failed. + The default category option value is open. EXAMPLES -------- -To see ... : -$ ./bisq-cli --password=xyz --port=9998 gettrades --currency-code +To see summaries of all open (pending) trades: +$ ./bisq-cli --password=xyz --port=9998 gettrades +OR +$ ./bisq-cli --password=xyz --port=9998 gettrades --category=open -To see ... : -$ ./bisq-cli --password=xyz --port=9998 gettrades ---currency-code +To see summaries of all closed (historical) trades: +$ ./bisq-cli --password=xyz --port=9998 gettrades ---category=closed + +To see summaries of all failed trades: +$ ./bisq-cli --password=xyz --port=9998 gettrades ---category=failed