Author

Topic: Mt gox trades by order size (Read 1419 times)

hero member
Activity: 868
Merit: 1002
January 23, 2013, 06:09:16 PM
#13
Thanks for the clarification. That's what I was assuming.
hero member
Activity: 728
Merit: 500
January 23, 2013, 06:06:05 PM
#12
"Asks" are sells (Red) and "bids" are buys (Green).

For example in this trade we can see: "trade_type":"ask"
Code:
[{"date":1358416833,"price":"14.79201","amount":"0.01","price_int":"1479201","amount_int":"1000000","tid":"1358416833532259","price_currency":"USD","item":"BTC","trade_type":"ask","primary":"Y","properties":"market"},
https://mtgox.com/api/1/BTCUSD/trades?raw

They represent filled orders.
If the highest buy order on the book is 1 btc for $17 and the second highest 2 btc for 16.9, then someone who either places a market order to sell (or limit order less than $17) for .5 btc would be counted as a red sell for .5 btc.

If someone placed a limit order to sell 3 btc for $16.9 or less  it would be counted as a 1 btc sell and a 2 btc sell.
If they're filled orders, then none of them will be limit, though, or I'm not understanding you. Placing a limit order won't result in a filled order until a market order comes along and takes it.

If your "all trades" graph represents both limit and market trades, shouldn't the buy-sell amounts be identical?

You can place a limit order to sell that is less than the highest bid, which is effectively a market order. They're not identical because each trade is only counted as whichever side initiated the order that resulted in btc/$ exchanging hands.
hero member
Activity: 868
Merit: 1002
January 23, 2013, 06:02:01 PM
#11
"Asks" are sells (Red) and "bids" are buys (Green).

For example in this trade we can see: "trade_type":"ask"
Code:
[{"date":1358416833,"price":"14.79201","amount":"0.01","price_int":"1479201","amount_int":"1000000","tid":"1358416833532259","price_currency":"USD","item":"BTC","trade_type":"ask","primary":"Y","properties":"market"},
https://mtgox.com/api/1/BTCUSD/trades?raw

They represent filled orders.
If the highest buy order on the book is 1 btc for $17 and the second highest 2 btc for 16.9, then someone who either places a market order to sell (or limit order less than $17) for .5 btc would be counted as a red sell for .5 btc.

If someone placed a limit order to sell 3 btc for $16.9 or less  it would be counted as a 1 btc sell and a 2 btc sell.
If they're filled orders, then none of them will be limit, though, or I'm not understanding you. Placing a limit order won't result in a filled order until a market order comes along and takes it.

If your "all trades" graph represents both limit and market trades, shouldn't the buy-sell amounts be identical?
hero member
Activity: 728
Merit: 500
January 23, 2013, 05:52:53 PM
#10
"Asks" are sells (Red) and "bids" are buys (Green).

For example in this trade we can see: "trade_type":"ask"
Code:
[{"date":1358416833,"price":"14.79201","amount":"0.01","price_int":"1479201","amount_int":"1000000","tid":"1358416833532259","price_currency":"USD","item":"BTC","trade_type":"ask","primary":"Y","properties":"market"},
https://mtgox.com/api/1/BTCUSD/trades?raw

They represent filled orders.
If the highest buy order on the book is 1 btc for $17 and the second highest 2 btc for 16.9, then someone who either places a market order to sell (or limit order less than $17) for .5 btc would be counted as a red sell for .5 btc.

If someone placed a limit order to sell 3 btc for $16.9 or less  it would be counted as a 1 btc sell and a 2 btc sell.
hero member
Activity: 868
Merit: 1002
January 23, 2013, 05:41:40 PM
#9
So the red and green lines denote market orders only, right? The limit orders are not shown?
hero member
Activity: 728
Merit: 500
January 23, 2013, 05:31:53 PM
#8
Awesome! Now I have stat for the penny bot  Cheesy
I always like to see your data mining outcome.

Is it your penny bot?


No. Just curious.

What software are you working with? R? Or Python Matplotlib?

Its all done in R.
sr. member
Activity: 252
Merit: 250
January 23, 2013, 05:24:13 PM
#7
Awesome! Now I have stat for the penny bot  Cheesy
I always like to see your data mining outcome.

Is it your penny bot?


No. Just curious.

What software are you working with? R? Or Python Matplotlib?
legendary
Activity: 2282
Merit: 1050
Monero Core Team
January 23, 2013, 04:46:15 PM
#6
Awesome, thanks for this. If I interpret it correctly, it seems some of the old whales are taking profit. Which is what I figured was happening around 13 anyway.

There is also the different trading patterns of consumers and merchants. Consumers buying BTC to purchase good and services are more likely to generate many small trades, while the merchants or their payment processors are more likely to generate fewer large trades. As Bitcoin gets used more in commerce one would expect small trades to dominate on the buy side and large trades to dominate on the sell side.
hero member
Activity: 728
Merit: 500
January 23, 2013, 04:22:58 PM
#5
Awesome! Now I have stat for the penny bot  Cheesy
I always like to see your data mining outcome.

Is it your penny bot?

i don't have pretty pictures and it's getting late here, but the worst case scenarion is repainting the last hype/crash, maxing out below $25 and falling down to $8-$10 before bouncing back to ~13, then slowly declining.

we should see a few more days between 15 and 18 to paint a support/resistance, short-term overbought.

Awesome, thanks for this. If I interpret it correctly, it seems some of the old whales are taking profit. Which is what I figured was happening around 13 anyway.

The way I interpret it is that while price is rising, the pattern of activity looks stable since September (except penny trades). While big sell orders are increasing relative to big buy orders, keep in mind that this requires the presence of a limit order of at least that size to begin with.


Also if it makes you money send some tips: 13oEWYh1tEM6voFp2XmBoD6CCCbidkk2Xm
legendary
Activity: 1288
Merit: 1000
Enabling the maximal migration
January 23, 2013, 04:17:13 PM
#4
Awesome, thanks for this. If I interpret it correctly, it seems some of the old whales are taking profit. Which is what I figured was happening around 13 anyway.
legendary
Activity: 2058
Merit: 1005
this space intentionally left blank
January 23, 2013, 03:51:02 PM
#3
i don't have pretty pictures and it's getting late here, but the worst case scenarion is repainting the last hype/crash, maxing out below $25 and falling down to $8-$10 before bouncing back to ~13, then slowly declining.

we should see a few more days between 15 and 18 to paint a support/resistance, short-term overbought.
sr. member
Activity: 252
Merit: 250
January 23, 2013, 03:49:19 PM
#2
Awesome! Now I have stat for the penny bot  Cheesy
I always like to see your data mining outcome.
hero member
Activity: 728
Merit: 500
January 23, 2013, 03:46:21 PM
#1



Jump to: