Title: Websocket API: Unknown mtgox message type: op Post by: slmt on April 21, 2013, 08:43:26 AM Here's a bit of node.js code:
Code: var WebSocket = require('ws'); When this client sends Code: {"op": "mtgox.subscribe", "type": "depth.BTCUSD" } The API returns Code: {"message":"Unknown mtgox message type","op":"remark","success":false} What am I doing wrong? Title: Re: Websocket API: Unknown mtgox message type: op Post by: pescador on April 25, 2013, 04:12:32 PM Try subscribing to "depth" ( or "ticker" or "trades" ). See https://en.bitcoin.it/wiki/MtGox/API/Streaming#mtgox.subscribe (https://en.bitcoin.it/wiki/MtGox/API/Streaming#mtgox.subscribe). I also find it difficult to understand why you have to subscribe and unsubscribe with different names.
|