bisq icon indicating copy to clipboard operation
bisq copied to clipboard

Include deviation from market price in Market section in Bisq

Open pazza83 opened this issue 3 years ago • 10 comments

Description

The entire section of the Bisq market section (with the exception of the make/take offer screens) does one of the following:

  • Does not display deviation from market price
  • Shows market price but combines it with trade price

It would be a lot more useful for traders if the all the Bisq market section does the following:

  • Shows market price as a separate value

This would make it a lot easier to look at historical trades and see what deviation from market price they were made at (Market > Trades)

I also think by keeping market price as a separate value in Market > Offer Book > Buy / Sell BTC it would make the offers more clear.

Version

v1.5.9

Steps to reproduce

  • Go to Market > Trades look at prices what price from market deviation was achieved? You will be unable to tell.
  • Go to Market > Trades then Download a CSV, look at prices what price from market deviation was achieved? You will be unable to tell.
  • Go to Market > Offer Book > Buy BTC price from market deviation is included after the trade price (not as clear as it could be)
  • Go to Market > Offer Book > Sell BTC price from market deviation is included after the trade price (not as clear as it could be)

Expected behaviour

  • Go to Market > Trades look at prices what price from market deviation was achieved? You will be able to tell and sort by deviation.
  • Go to Market > Trades then Download a CSV, look at prices what price from market deviation was achieved? You will be able to tell and sort by deviation.
  • Go to Market > Offer Book > Buy BTC price from market deviation is included in a separate column.
  • Go to Market > Offer Book > Sell BTC price from market deviation is included in a separate column.

Current Screenshots

market price - Copy Deviation from market price info combine with trade price. Not as clear for users.

market price 2 - Copy Missing deviation from market price info.

Example of current CSV file

market price 3 - Copy.txt Missing deviation from market price info.

pazza83 avatar Mar 06 '21 01:03 pazza83

Hi are there any @bisq-network/bisq-devs able to take this on. Would tie in well with https://github.com/bisq-network/bisq/issues/5192

pazza83 avatar Apr 02 '21 02:04 pazza83

I can work on this. Can you add further screenshots complimenting the ones above. They should show what you expect it to look like.

wallclockbuilder avatar Apr 02 '21 03:04 wallclockbuilder

@wallclockbuilder yes no problems, I will upload next week

pazza83 avatar Apr 02 '21 03:04 pazza83

Hi @wallclockbuilder here are the screenshots showing how I would expect it to look:

bisq-deviation-A Trades deviation

bisq-deviation-B Offer deviations

pazza83 avatar Apr 11 '21 23:04 pazza83

Pretty straightforward.

wallclockbuilder avatar Apr 12 '21 20:04 wallclockbuilder

Hi @wallclockbuilder how are you progressing with this issue?

pazza83 avatar May 16 '21 23:05 pazza83

Hi @xyzmaker123 let me know if you would like to work on this issue.

pazza83 avatar Sep 23 '21 07:09 pazza83

@pazza83 Regarding trades deviation - I'm not sure if it's possible to calculate it. I suppose it should be deviation based on market price in the moment of trade - not based on the current price. Unfortunately I don't think we store somewhere historical prices.

ghost avatar Sep 28 '21 10:09 ghost

Hi @xyzmaker123 the deviation is the markup (positive or negative the maker chose if choosing to trade on a percentage basis)

pazza83 avatar Oct 02 '21 21:10 pazza83

@pazza83 Yeah - I understand. But let's consider this scenario:

  1. Transaction A was made in Apr 2, 2021. Market price was 60 000, and there was transaction with price 65 000 - so deviation was +8%

  2. Today it's Oct 2, 2021. Market price is 48 000 USD/BTC. We want to display deviation of transaction A on list. I suppose +8% should be displayed, not 35% (based on current price).

Question: is it possible to know what was average market price in Apr 2, 2021 today?

ghost avatar Oct 03 '21 12:10 ghost