Bitcoin Forum
August 19, 2018, 09:43:51 PM *
News: Latest stable version of Bitcoin Core: 0.16.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Improve the way in which excange calculate max and min value of days  (Read 859 times)
ercolinux
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.
BOUNTY PORTALS
BLOG
WHERE BOUNTY MANAGEMENT
MEETS AUTOMATION
SIGNATURE CAMPAIGNS
TWITTER
FACEBOOK
MEDIA CAMPAIGNS
AND MORE!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1534715031
Hero Member
*
Offline Offline

Posts: 1534715031

View Profile Personal Message (Offline)

Ignore
1534715031
Reply with quote  #2

1534715031
Report to moderator
1534715031
Hero Member
*
Offline Offline

Posts: 1534715031

View Profile Personal Message (Offline)

Ignore
1534715031
Reply with quote  #2

1534715031
Report to moderator
1534715031
Hero Member
*
Offline Offline

Posts: 1534715031

View Profile Personal Message (Offline)

Ignore
1534715031
Reply with quote  #2

1534715031
Report to moderator
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1001



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:  

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!