Bitcoin Forum

Economy => Securities => Topic started by: totaleclipseofthebank on June 15, 2012, 09:25:29 PM



Title: GLBSE Api delay
Post by: totaleclipseofthebank on June 15, 2012, 09:25:29 PM
Has anyone noticed that the bid/ask values posted by the API are about 5 min delayed from what it shows on the website?

I'm trying to write a MM algo and it is always late


Title: Re: GLBSE Api delay
Post by: stochastic on June 15, 2012, 10:49:24 PM
No, I have not played with the bid/ask API yet.  Do you have any data?


Title: Re: GLBSE Api delay
Post by: totaleclipseofthebank on June 15, 2012, 11:00:45 PM
you can just point your browser to

http://www.glbse.com/api/asset/GIGAMINING

and compare it to the glbse web quote for gigamining. You can see the delay when a trade is made. It's about 2 minutes.


Title: Re: GLBSE Api delay
Post by: stochastic on June 16, 2012, 12:37:35 AM
you can just point your browser to

http://www.glbse.com/api/asset/GIGAMINING

and compare it to the glbse web quote for gigamining. You can see the delay when a trade is made. It's about 2 minutes.

Maybe it is wrong because you are looking at the wrong thing.  the bid/ask api is located at:

https://glbse.com/api/depth/TICKER

So for gigamining go to https://glbse.com/api/depth/GIGAMINING.

I just tested it and it works instantly.


Title: Re: GLBSE Api delay
Post by: totaleclipseofthebank on June 16, 2012, 02:44:32 AM
Maybe the depth part (order book) is fine... but the "asset" data is still delayed. It's not the "wrong place" because highest bid and lowest ask are in the JSON variable at that location--just delayed.


Title: Re: GLBSE Api delay
Post by: stochastic on June 16, 2012, 04:22:09 AM
Maybe the depth part (order book) is fine... but the "asset" data is still delayed. It's not the "wrong place" because highest bid and lowest ask are in the JSON variable at that location--just delayed.

Yea you are right, it is delayed.  Use the bid/ask api for you money maker bot.