Bitcoin Forum
July 01, 2024, 01:13:32 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Beginners & Help / Re: Bitcoin market volume calculation on: June 28, 2013, 04:24:48 PM
Nevermind, i found the answer on my own.
2  Other / Beginners & Help / Bitcoin market volume calculation on: June 27, 2013, 12:32:03 PM
Hello guys,

Since i am new, i am obliged to post here but if someone could move my post in the trading section, it would be awesome !

I am currently playing with the BitcoinChart API (http://bitcoincharts.com/about/markets-api/) and need to compute the trade volume present on the charts (exemple with mtGoxUSD : http://bitcoincharts.com/markets/mtgoxUSD.html).

Here is the API output is a list of trade. The format is like this (CSV) : trade timestamp, price, quantity. Example : http://api.bitcoincharts.com/v1/trades.csv?symbol=mtgoxUSD

As you can see, there is no data available related to the market trade volume; Therefore, i need to compute it.

For me, the trade volume is the number of trade occuring for a period (1min, 1h, 1day, etc). So i tried to sum up the number of trades in the 00:00 UTC - 01:00 UTC range, but didn't have the same results as the charts volume.

You can check the data used to create the chart just under the chart. For example, for the raw data of the chart http://bitcoincharts.com/charts/mtgoxUSD#rg60ztgSzm1g10zm2g25zv, click 'load raw data'.

I hope someone here can help me to calculate the trade volume, or instead give me hints.

Sincerely,

Loufok
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!