I'm using the MTGox API to get data about historic trades.

When I run https://mtgox.com/api/1/BTCGBP/public/trades?since={trade_id}, I get the latest 500 trades since that {trade_id}.

Now I have for example these two trades returned:

Trade #1

Trade #2

Note the different properties: "market,mixed_currency" & "limit,mixed_currency".

  1. What is the difference between a market and a limit property? What do both mean? (I couldn't find it here https://en.bitcoin.it/wiki/MtGox/API/HTTP/v1)

  2. what does it mean for a trade to be mixed_currency?

  3. Bitcoincharts does seem to include all trades regardless of the limit/market/mixed currency, is this the right approach if you want to have a honest view of all markets?


A limit order is an order to buy or sell at a specific price or better. As in "sell these coins if I can get at least X USD per bitcoin."

A market order is an order to buy or sell at the best available price. As in "sell these coins for whatever people are willing to pay right now."

Not 100% sure about this, but I believe mixed_currency means the buyer and seller are using different currencies. If you buy bitcoins using EUR from someone selling for USD then MtGox will do a conversion.

And yes, the best view of the market would be with all trades included.

  • 2
    Actually, this doesn't quite answer the question in the given context. Yes, market vs limit is explained, but what does it mean in the context of a MtGox trade entry. Isn't there typically a market order and a limit order that are matched in order to create a trade? – Dustin Graham Apr 15 '13 at 8:39
  • @DustinGraham quite obviously it means that that trade was done with a limit order or with a market order. Limit orders stay in the order book if not cleared immediately, while market orders are always filled unless the market is empty. – o0'. Apr 19 '13 at 14:52
  • Quite obviously. :) – Dustin Graham Apr 20 '13 at 17:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.