Bitcoin Forum
February 25, 2017, 09:26:24 AM *
News: Latest stable version of Bitcoin Core: 0.13.2  [Torrent]. (New!)
   Home   Help Search Donate Login Register  
Pages: [1]
Author Topic: Improve the way in which excange calculate max and min value of days  (Read 809 times)
Offline Offline

Activity: 938

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

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 (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.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
Offline Offline

Activity: 1302

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

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

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
Pages: [1]
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!