3 formatting
source | link

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
{
    "date":1342135345,
    "price":"4.77728",
    "amount":"5107.98029213",
    "price_int":"477728",
    "amount_int":"510798029213",
    "tid":"1342135345801755",
    "price_currency":"GBP",
    "item":"BTC",
    "trade_type":"bid",
    "primary":"Y",
    "properties":"market,mixed_currency" 
},

Trade #2
{
    "date":1342136454,
    "price":"4.78",
    "amount":"0.02000488",
    "price_int":"478000",
    "amount_int":"2000488",
    "tid":"1342136454726203",
    "price_currency":"GBP",
    "item":"BTC",
    "trade_type":"bid",
    "primary":"N",
    "properties":"limit,mixed_currency" 
},

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?

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
{"date":1342135345,"price":"4.77728","amount":"5107.98029213","price_int":"477728","amount_int":"510798029213","tid":"1342135345801755","price_currency":"GBP","item":"BTC","trade_type":"bid","primary":"Y","properties":"market,mixed_currency"},

Trade #2
{"date":1342136454,"price":"4.78","amount":"0.02000488","price_int":"478000","amount_int":"2000488","tid":"1342136454726203","price_currency":"GBP","item":"BTC","trade_type":"bid","primary":"N","properties":"limit,mixed_currency"},

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?

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
{
    "date":1342135345,
    "price":"4.77728",
    "amount":"5107.98029213",
    "price_int":"477728",
    "amount_int":"510798029213",
    "tid":"1342135345801755",
    "price_currency":"GBP",
    "item":"BTC",
    "trade_type":"bid",
    "primary":"Y",
    "properties":"market,mixed_currency" 
},

Trade #2
{
    "date":1342136454,
    "price":"4.78",
    "amount":"0.02000488",
    "price_int":"478000",
    "amount_int":"2000488",
    "tid":"1342136454726203",
    "price_currency":"GBP",
    "item":"BTC",
    "trade_type":"bid",
    "primary":"N",
    "properties":"limit,mixed_currency" 
},

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?

2 edited title to be in the form of a question.
| link

MTGox API property question: What is the difference between a market and limit property in the MTGox API?

    Tweeted twitter.com/#!/StackBitcoin/status/260803619144749057
1
source | link

MTGox API property question: difference between market and limit property

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
{"date":1342135345,"price":"4.77728","amount":"5107.98029213","price_int":"477728","amount_int":"510798029213","tid":"1342135345801755","price_currency":"GBP","item":"BTC","trade_type":"bid","primary":"Y","properties":"market,mixed_currency"},

Trade #2
{"date":1342136454,"price":"4.78","amount":"0.02000488","price_int":"478000","amount_int":"2000488","tid":"1342136454726203","price_currency":"GBP","item":"BTC","trade_type":"bid","primary":"N","properties":"limit,mixed_currency"},

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?