Bitcoin Forum
May 07, 2024, 04:48:08 PM *
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 951 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.
1715100488
Hero Member
*
Offline Offline

Posts: 1715100488

View Profile Personal Message (Offline)

Ignore
1715100488
Reply with quote  #2

1715100488
Report to moderator
1715100488
Hero Member
*
Offline Offline

Posts: 1715100488

View Profile Personal Message (Offline)

Ignore
1715100488
Reply with quote  #2

1715100488
Report to moderator
1715100488
Hero Member
*
Offline Offline

Posts: 1715100488

View Profile Personal Message (Offline)

Ignore
1715100488
Reply with quote  #2

1715100488
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, which will follow the rules of the network no matter what miners do. Even if every miner decided to create 1000 bitcoins per block, full nodes would stick to the rules and reject those blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715100488
Hero Member
*
Offline Offline

Posts: 1715100488

View Profile Personal Message (Offline)

Ignore
1715100488
Reply with quote  #2

1715100488
Report to moderator
1715100488
Hero Member
*
Offline Offline

Posts: 1715100488

View Profile Personal Message (Offline)

Ignore
1715100488
Reply with quote  #2

1715100488
Report to moderator
1715100488
Hero Member
*
Offline Offline

Posts: 1715100488

View Profile Personal Message (Offline)

Ignore
1715100488
Reply with quote  #2

1715100488
Report to moderator
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!