Title: Bitcoin market volume calculation Post by: loufok 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/ (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 (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 (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 Title: Re: Bitcoin market volume calculation Post by: DATASHOP on June 27, 2013, 02:37:53 PM you need to spend four hours here in order to post anywhere else except newbies section.
Title: Re: Bitcoin market volume calculation Post by: loufok on June 28, 2013, 04:24:48 PM Nevermind, i found the answer on my own.
|