Bitcoin Forum

Other => Beginners & Help => Topic started by: Dirk83 on April 20, 2013, 03:02:02 PM



Title: Mtgox streaming API
Post by: Dirk83 on April 20, 2013, 03:02:02 PM
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


Title: Re: Mtgox streaming API
Post by: Dirk83 on April 20, 2013, 03:42:38 PM
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).


Title: Re: Mtgox streaming API
Post by: Dirk83 on April 20, 2013, 03:58:20 PM
Or being able to put/cancel/update orders over the Websocket API would be ok as well, anyone knows if that is possible?


Title: Re: Mtgox streaming API
Post by: bovcan on April 20, 2013, 04:47:33 PM
I wish I was tech savvy enough to figure out API because seems to offer some great features.


Title: Re: Mtgox streaming API
Post by: romerun on April 20, 2013, 04:55:55 PM
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.


Title: Re: Mtgox streaming API
Post by: mostar on May 02, 2013, 02:06:14 PM
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