Bitcoin Forum
May 27, 2024, 09:29:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Mtgox streaming API  (Read 485 times)
Dirk83 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
April 20, 2013, 03:02:02 PM
 #1

Hi,

I'd like to get real time price information from MtGox, I read with the HTTP API the order book has a cache delay of 10 seconds, plus when I run it, it has a very long lag time when loading it.

Is it possible to use the information from the real-time/socket API in a PHP script?

Thanks, Dirk
Dirk83 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
April 20, 2013, 03:42:38 PM
 #2

Basically, what I'd like to do is use the information from the streaming API to automatically make decisions on what orders to put in the system (which works through the HTTP API). Or in other words, I need a program that is able to use both API's (directly or indirectly).
Dirk83 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
April 20, 2013, 03:58:20 PM
 #3

Or being able to put/cancel/update orders over the Websocket API would be ok as well, anyone knows if that is possible?
bovcan
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
April 20, 2013, 04:47:33 PM
 #4

I wish I was tech savvy enough to figure out API because seems to offer some great features.
romerun
Legendary
*
Offline Offline

Activity: 1078
Merit: 1001


Bitcoin is new, makes sense to hodl.


View Profile
April 20, 2013, 04:55:55 PM
 #5

last time I tried, the streaming api is less reliable than the polling one. It broke like 20 times a day, especially on critical moment.
mostar
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
May 02, 2013, 02:06:14 PM
 #6

Hi,

I'd like to get real time price information from MtGox, I read with the HTTP API the order book has a cache delay of 10 seconds, plus when I run it, it has a very long lag time when loading it.

Is it possible to use the information from the real-time/socket API in a PHP script?

Thanks, Dirk

You got PHP example real-time data using socket API is this link:
https://github.com/MtGox/websocket

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!