Bitcoin Forum

Economy => Service Discussion => Topic started by: mostar on July 19, 2013, 03:51:42 PM



Title: MtGox websocket private orders and trades
Post by: mostar on July 19, 2013, 03:51:42 PM
Hello,

I'm trying to receive real-time update abut my order status change and trade done,
using this PHP socketio client example: https://github.com/MtGox/websocket

I successful receive general "depth" , "trade" real time information but not "private/trade"  "private/orders" real time information.

The method:
Code:
$socketio->callBlocking('private/orders')
Give me the current status of my order, but not real time change.

The method:
Code:
$socketio->on('trade', function($msg) { var_dump($msg); });
Give me general trade in real time

But this method is not giving me any update when my order status change etc:
Code:
$socketio->on('private/orders', function($msg) { var_dump($msg); });

What am i missing?
Any help will be appreciate.

Regards,
Mostar