Zicore / CrossoutMarket

Crossout Market - Prices and Graphs
55 stars 18 forks source link

Bug: Historical Price Chart Buy/Sell numbers are false when search duration is larger than 12 hours #64

Closed silvercheckmate closed 6 years ago

silvercheckmate commented 6 years ago

This is linked to #63. If the search duration is larger than 12 hours, the buy/sell count becomes inaccurate. I suspect that as data points become merged together, buy/sell numbers are added together instead of being averaged, leading to bloated inaccurate numbers.

To verify the bug, simply compare the buy/sell figures for the latest data point that 12 hrs vs 1day gives you. Numbers are bloated up.

Stiffi136 commented 6 years ago

Fixed with ed72a531dfea78b81d4d524c9cf3535e60c41411 .