Oh, so do you see two sets of trades: buys and sells which compromise twice the volume (or the volume on both sides)?
Also, what would it appear like if someone does a market order for 1200 coins but it executes as... 400 coins at 140, 400 coins at 141, 400 coins at 142?
Hi, if your qestion is about bitcoin-analytics.com then I will answer if not, I am sorry to interrupt.
at bitcoin-analytics.com we separate all trades by their side so each trade is counted only once.
as for your example: the volume weighted average price for last traded BTC will be calculated as:
- for 10 BTC -- 142
- for 100 BTC -- 142
- for 1000 BTC -- (142 * 400 + 141 * 400 + 140 * 200) / 1000 = 141.2
please notice we count trades in backward order thus VWAP of last 1000 BTC traded
I think he was asking me...
Do I see two sets of trades comprising twice the volume?
No, there is one set of trades which is marked according to whether the buyer or seller initiated the trade when it got filled.
As to the second question, I believe that depends on whether or not mt gox trade engine executes the trades within a millisecond of each other since that is the minimum interval between timestamps. I may be wrong on this.
Genuise how do you get the Gox data and how do you know how to group the trades together if they are part of the same order being filled?