Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display buyer's cost in api's gettrade output #5246

Merged
merged 2 commits into from
Mar 9, 2021

Conversation

ghubstan
Copy link
Contributor

The trade offer's volume is shown so traders know how much fiat they are sending or receiving without having to call getoffer.

  • Changed the Fiat Sent and Fiat Received column headers to show which fiat is being transferred, e.g.,
    EUR Sent, EUR Received.

  • Adjusted apitest's trade-simulation-utils.sh to the modified gettrade output.

Below is a sample of the new gettrade output.

./bisq-cli --password=xyz --port=9999 gettrade --trade-id=4954970-7fcc4ae0-8f2a-4dbd-acfa-c692a42f42b1-156

ID       My Role             Price in USD for 1 BTC  Amount(BTC)  Tx Fee(BTC)  Taker Fee(BTC)  Deposit Published  Deposit Confirmed  Buyer Cost(USD)  USD Sent  USD Received  Payout Published  Withdrawn
4954970  BTC buyer as taker             49,689.7997   0.12500000   0.00031164      0.00000019  YES                YES                          6,211  YES       YES           YES               NO

The offer volume is shown so traders know how much fiat
they are sending or receiving without having to call getoffer.

Changed the 'Fiat Sent' and 'Fiat Received' column headers
to show which fiat is being transfered, e.g., 'EUR Sent',
'EUR Received'.

Adjusted apitest's trade-simulation-utils.sh to the modified
gettrade output.
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@sqrrm sqrrm merged commit 03f6468 into bisq-network:master Mar 9, 2021
@ghubstan ghubstan deleted the 01-show-cost-in-trade-output branch March 9, 2021 19:19
@ripcurlx ripcurlx added this to the v1.6.0 milestone Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants