Pages:
Author

Topic: Real Time MtGox Order Book - page 2. (Read 26764 times)

hero member
Activity: 548
Merit: 502
So much code.
September 24, 2011, 08:14:30 PM
#94
For one reason or another, gox and crew are dragging there feet on this 1.

I hope they're not sand bagging because they're going to launch a competing product and lock up the api.

I think thats unlikely. That would p.ss off a lot of people. The websocket is also used by bots and custom trading clients, for example. MagicalTux has had websocket on low priority, it seems, and it's been like that for a long time. It's more important to have the trading engine working first Wink


Yeah, the main issue here is the changing browser support of the WebSocket protocols. Python certainly has no problem connecting, so the bots aren't hurting.
donator
Activity: 2772
Merit: 1019
September 24, 2011, 06:57:36 PM
#93
For one reason or another, gox and crew are dragging there feet on this 1.

I hope they're not sand bagging because they're going to launch a competing product and lock up the api.

I think thats unlikely. That would p.ss off a lot of people. The websocket is also used by bots and custom trading clients, for example. MagicalTux has had websocket on low priority, it seems, and it's been like that for a long time. It's more important to have the trading engine working first Wink
full member
Activity: 125
Merit: 100
September 19, 2011, 06:03:52 PM
#92
For one reason or another, gox and crew are dragging there feet on this 1.

I hope they're not sand bagging because they're going to launch a competing product and lock up the api.
hero member
Activity: 548
Merit: 502
So much code.
September 19, 2011, 09:38:44 AM
#91
Please see my latest post here: https://bitcointalksearch.org/topic/m.533997

I address these latest connection issues there.
legendary
Activity: 2100
Merit: 1000
September 19, 2011, 06:43:07 AM
#90
This is great! Wonderful.

Just one question: Is there an issue with the connection at the moment. In my case, it disconnects within a split second after hitting the connect button.
hero member
Activity: 548
Merit: 502
So much code.
September 11, 2011, 09:19:04 PM
#89
I have launched the Time & Sales and Order Book in a combined product. Read about it here.

Or visit http://bitcoin.clarkmoody.com/

Enjoy!
legendary
Activity: 2100
Merit: 1000
August 29, 2011, 11:50:53 PM
#88
thanks.
I wish mtgox would deliver better data
hero member
Activity: 548
Merit: 502
So much code.
August 29, 2011, 06:40:32 PM
#87
Unfortunately, I am at the mercy of the getDepth API call. The data you see on my site comes from MtGox as-is.

My site reflects the most recent output of the MtGox API, which changes frequently, as you've noticed.
legendary
Activity: 2100
Merit: 1000
August 29, 2011, 06:09:00 PM
#86

Here is what happens:

Mt.Gox does not stream the full order book over the WebSocket; it streams only the changes as they come in. Therefore, the site polls the normal API at getDepth.php to get the 'whole' book. The problem is that the call to that API address seems to return only those orders within +/- $2 of the strike price. This is what you see when the order book loads initially.

As new orders come in, some lie outside of the initial 'full' book, so you get that light volume in the fringes of the book. There really is no way at this point to get an accurate representation of the entire order book.


Hi again, there is still some discrepancy between your order book completeness vs. MtGox (see here: https://mtgox.com/trade/history)

If you click on Market depth rounded, you see that the bids and ask go further than on your site. Any idea why? I remember it was better on your site days before. Anything changed?
newbie
Activity: 55
Merit: 0
August 28, 2011, 01:00:32 PM
#85
Yeah, Node.js its ideal for this. The problem is the API its a websocket interface from MtGox.

Node.js work perfectly only if mtgox be rewritten in Node.js

Here you have the relay on MtGox plataform.
hero member
Activity: 548
Merit: 502
So much code.
August 27, 2011, 09:58:11 PM
#84

Also, one last question if possible, I've been looking into Node.js, is that a wise direction?



I have no experience with Node.js, so I couldn't give you an answer one way or the other.
member
Activity: 84
Merit: 10
August 27, 2011, 09:56:45 PM
#83
@Clark, do you have any advice or directional links to code or tuts for someone who wants to explore making charts similar to these?

Learn jQuery and get familiar with the WebSocket in JavaScript. You can look on the Bitcoin Wiki for details on the messages that MtGox broadcasts on this page.

Thanks Clark!
Also, one last question if possible, I've been looking into Node.js, is that a wise direction?
hero member
Activity: 548
Merit: 502
So much code.
August 27, 2011, 09:35:45 PM
#82
@Clark, do you have any advice or directional links to code or tuts for someone who wants to explore making charts similar to these?

Learn jQuery and get familiar with the WebSocket in JavaScript. You can look on the Bitcoin Wiki for details on the messages that MtGox broadcasts on this page.
member
Activity: 84
Merit: 10
August 27, 2011, 09:20:59 PM
#81
@Clark, do you have any advice or directional links to code or tuts for someone who wants to explore making charts similar to these?
legendary
Activity: 2100
Merit: 1000
August 27, 2011, 07:36:50 PM
#80
Thanks for the clear and prompt answer, and.. keep your great service up!
hero member
Activity: 548
Merit: 502
So much code.
August 27, 2011, 07:29:35 PM
#79

One question on the depth of the order book on MtGox. Can you display the full order book or is it truncated?
If it is truncated, it should have no orders above and below a certain level.

The reason why I am asking is that there are only very small bids below 6 $ and only small asks above 12 $. What is the truth?


Here is what happens:

Mt.Gox does not stream the full order book over the WebSocket; it streams only the changes as they come in. Therefore, the site polls the normal API at getDepth.php to get the 'whole' book. The problem is that the call to that API address seems to return only those orders within +/- $2 of the strike price. This is what you see when the order book loads initially.

As new orders come in, some lie outside of the initial 'full' book, so you get that light volume in the fringes of the book. There really is no way at this point to get an accurate representation of the entire order book.
legendary
Activity: 2100
Merit: 1000
August 27, 2011, 04:35:46 PM
#78
Clark,

your site is just great.

One question on the depth of the order book on MtGox. Can you display the full order book or is it truncated?
If it is truncated, it should have no orders above and below a certain level.

The reason why I am asking is that there are only very small bids below 6 $ and only small asks above 12 $. What is the truth?



hero member
Activity: 548
Merit: 502
So much code.
August 26, 2011, 06:19:13 PM
#77
The main advantage of this whole thing is that it works on the WebSocket, which no other exchanges provide.

I am working on a few products right now that will make trading on multiple exchanges way easier. Stay tuned!
sr. member
Activity: 300
Merit: 250
August 26, 2011, 04:01:27 PM
#76
It wasnt working in Chrome in win for a google week. Websocket was failing. Im glad its back now.

Any plans to add support for other exchanges? Id love to see ExchB and Tradehill as options as well.
full member
Activity: 154
Merit: 100
August 26, 2011, 12:30:11 AM
#75
LoL....It's me again. Another bug is making itself shown


The Websocket is too sensitive and keeps disconnecting for short periods of time. I used to be able to keep it open all day, now I have to reconnect every 15 minutes or so... sometimes after just 5 minutes.

That's MtGox's side...

Cheers,
Kermee
Pages:
Jump to: