Bitcoin Forum
May 27, 2024, 12:15:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MtGox websocket private orders and trades  (Read 490 times)
mostar (OP)
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
July 19, 2013, 03:51:42 PM
 #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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!