Bitcoin Forum
June 18, 2024, 05:11:35 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin market volume calculation  (Read 461 times)
loufok (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 27, 2013, 12:32:03 PM
 #1

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
DATASHOP
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 27, 2013, 02:37:53 PM
 #2

you need to spend four hours here in order to post anywhere else except newbies section.
loufok (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
June 28, 2013, 04:24:48 PM
 #3

Nevermind, i found the answer on my own.
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!