Author

Topic: Improve the way in which excange calculate max and min value of days (Read 968 times)

kjj
legendary
Activity: 1302
Merit: 1026
Everyone has different ideas about what should be filtered.  Best to leave that function to the endpoint.
legendary
Activity: 938
Merit: 1000
I'd looked at transactions data of past weeks and sometimes prices seems to jump or dive fast during a day because of really small transaction (less than 5 BTC normally) out of market prices (I'd seen transactions at 10$ when the market is at 4/5$ or on the other side transactions at 2 when the market is at 6/7$).
Why we don't ask to exchange to put a filter in their APIs so that all the transaction prices which total of money moved is belove, let's say, 2% of total moved 'till that point are not considered for min/max/averages?
I know that this kind of transaction couldn't  move the total value on daily basis but removing them can smoothen the values, and avoid "fake" prices that make difficult calculate a conversion value for trade.
In this moment bitmarket.eu (to make an example from an exchange I use), has a last trade price of 4.8€/BTC (but only 10BTC sold), never in all the last 24hr there was another price like that but all the other transactions werw closed in the 3.7-4.1€ price range.
Jump to: