Author

Topic: MtGox websocket private orders and trades (Read 518 times)

newbie
Activity: 21
Merit: 0
July 19, 2013, 10:51:42 AM
#1
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
Jump to: