Bitcoin Forum
May 25, 2024, 05:23:14 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Improve the way in which excange calculate max and min value of days  (Read 952 times)
ercolinux (OP)
Legendary
*
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
September 29, 2011, 03:12:09 PM
 #1

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.

Bitrated user: ercolinux.
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
September 29, 2011, 05:02:20 PM
 #2

Everyone has different ideas about what should be filtered.  Best to leave that function to the endpoint.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!