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

Offer Book chart outlier filter improved. #4892

Merged
merged 1 commit into from
Dec 4, 2020

Conversation

deusmax
Copy link
Contributor

@deusmax deusmax commented Dec 3, 2020

Outlier data filter used for the Market Offer Book chart, now accounts
for the switching display position of Buy, Sell data depending on
currency type (Crypto or Fiat).

Fixes #4871

Some of the Market Offers have values far from the main trading body (outliers). Including these points in a chart destroys any significant and useful information presented in the graph. An outlier filter, applied during the production of these charts, is used to remove such points.

The implementation of this filter did not take into account the chart differences between fiat and crypto currencies. The one in this PR does.
The recently increasing Fiat value of BTC, coupled with extreme outlier values, has exposed the limitations. This PR provides a filter that gives better results and should be much more stable.

See issue #4871 for before & after screenshots.

Outlier data filter used for the Market Offer Book chart, now accounts
for the switching display position of Buy, Sell data depending on
currency type (Crypto or Fiat).
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

ACK

Fixes the issue as expected e.g. for the CAD market right now

Before:
Bildschirmfoto 2020-12-04 um 16 53 03

After:
Bildschirmfoto 2020-12-04 um 16 53 11

@ripcurlx ripcurlx merged commit 9e3968e into bisq-network:master Dec 4, 2020
@ripcurlx ripcurlx added this to the v1.5.2 milestone Dec 9, 2020
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.

Outlier filter for Market Offer Chart removes body of offers.
2 participants