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=mtgoxUSDAs 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