Bitcoin Forum
November 03, 2024, 10:09:03 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 »  All
  Print  
Author Topic: Real Time MtGox Order Book  (Read 26752 times)
toffoo
Sr. Member
****
Offline Offline

Activity: 408
Merit: 261



View Profile
August 15, 2011, 08:24:34 AM
 #61

Hi Clark,

It looks like one of your very recent changes has altered the console display at the bottom of the screen.  I can't tell if this is a bug of some kind or if you changed this on purpose, but I no longer see the order ADD/REMOVE websocket messages scrolling by in the console, only trades and a few other info messages.

I'd prefer to see them, or ideally have the option to display them.

Thanks again for this great page.

Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
August 15, 2011, 02:31:30 PM
 #62

It looks like one of your very recent changes has altered the console display at the bottom of the screen.

I'd prefer to see them, or ideally have the option to display them.

Yes, I took those away, with the intent of adding an option, but the option never happened. Until now.

Enjoy.

toffoo
Sr. Member
****
Offline Offline

Activity: 408
Merit: 261



View Profile
August 16, 2011, 04:10:53 AM
 #63

Yes, I took those away, with the intent of adding an option, but the option never happened. Until now.

Truly awesome.  Looks perfect now.
You sure know how to milk me, and I'm feeling less Bitcoin-poor today, so donation sent! to: 184FgjfDC2JB3EDWfPpYrv6uX77FzfNE5k

Thanks again Clark, please don't ever take this page down.   Wink

dserrano5
Legendary
*
Offline Offline

Activity: 1974
Merit: 1029



View Profile
August 17, 2011, 05:36:53 AM
 #64

I would gladly store a cookie in my browser so that my preferences (10-line console, no visible calculator, no visible controls, group by 0.01) were remembered Wink.
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
August 17, 2011, 05:49:49 AM
Last edit: August 17, 2011, 06:14:09 AM by Clark
 #65

I was just thinking about that as I clicked all of my preferred choices multiple times today. Stay tuned.

Edit: Of course you could also 'sponsor' the default configuration of the site  Wink

Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
August 17, 2011, 07:14:12 AM
 #66

Ok. All settings are now saved transparently in a cookie and loaded on startup.

This, of course, doesn't mean that it's too late to sponsor the default settings for newcomers.

And thanks toffoo for the great donation!

biohazord
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
August 18, 2011, 03:26:19 AM
 #67

Anyone using Chrome 14 Beta having issues?  Going from 12 to 14 seems to have broken WebSockets for me Sad

Cheers,
Kermee

I'm having the same issue one two different PCs both running Chrome 14.0.835.94 Beta-m. I'm also having the issue with the canary channel build which is currently version 15.0.855.0 canary.

Currently the site works in Firefox 5 after changing the about:config setting network.websocket.override-security-block so that's what I'm using. The same setting does not work in FF6 so don't upgrade.

Heres a quick run down on my windows box.
Not working in...
Chrome 14.0.835.94 Beta-m
Chrome 15.0.855.0 canary
Firefox 6.0 (not even with network.websocket.override-security-block set to true)
Firefox Aurora 7.0a2 (2011-08-16)

Works in...
Firefox 5 (with network.websocket.override-security-block set to true)
Chrome 13.0.782.112 m
Kermee
Full Member
***
Offline Offline

Activity: 154
Merit: 100



View Profile
August 18, 2011, 04:58:41 AM
 #68

Anyone using Chrome 14 Beta having issues?  Going from 12 to 14 seems to have broken WebSockets for me Sad

Cheers,
Kermee

I'm having the same issue one two different PCs both running Chrome 14.0.835.94 Beta-m. I'm also having the issue with the canary channel build which is currently version 15.0.855.0 canary.

Currently the site works in Firefox 5 after changing the about:config setting network.websocket.override-security-block so that's what I'm using. The same setting does not work in FF6 so don't upgrade.

Heres a quick run down on my windows box.
Not working in...
Chrome 14.0.835.94 Beta-m
Chrome 15.0.855.0 canary
Firefox 6.0 (not even with network.websocket.override-security-block set to true)
Firefox Aurora 7.0a2 (2011-08-16)

Works in...
Firefox 5 (with network.websocket.override-security-block set to true)
Chrome 13.0.782.112 m

Ah. Good to know about FFV.  Thanks.

I looked at the Dev logs... WebSockets was 'rehauled' in 14... So I'm not surprised it might of broken some things Sad

Cheers,
Kermee
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
August 18, 2011, 05:44:28 AM
 #69

I think MtGox is using an older version of the WebSocket protocol, which may or may not play a role in the incompatibility.

If the data came in over Secure WebSockets with a newer protocol, then I bet the compatibility would be more widespread.

klaus
Legendary
*
Offline Offline

Activity: 1946
Merit: 1004



View Profile
August 21, 2011, 03:40:24 PM
 #70

@Clark
send you donation for your great tool

bitmessage:BM-2D9c1oAbkVo96zDhTZ2jV6RXzQ9VG3A6f1​
threema:HXUAMT96
oakpacific
Hero Member
*****
Offline Offline

Activity: 784
Merit: 1000


View Profile
August 23, 2011, 06:18:39 PM
 #71

Not working with Firefox 6, for which Websocket is enabled by default.

https://tlsnotary.org/ Fraud proofing decentralized fiat-Bitcoin trading.
Kermee
Full Member
***
Offline Offline

Activity: 154
Merit: 100



View Profile
August 23, 2011, 08:12:36 PM
 #72

Not working with Firefox 6, for which Websocket is enabled by default.

MtGox needs to update their WebSockets 'stack'...

Cheers,
Kermee
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
August 23, 2011, 08:23:13 PM
 #73


MtGox needs to update their WebSockets 'stack'...

Cheers,
Kermee

I couldn't have said it better myself.

GeniuSxBoY
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
August 26, 2011, 05:12:30 AM
 #74

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.

Be humble!
Kermee
Full Member
***
Offline Offline

Activity: 154
Merit: 100



View Profile
August 26, 2011, 05: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
osmosis
Sr. Member
****
Offline Offline

Activity: 300
Merit: 250



View Profile
August 26, 2011, 09: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.
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
August 26, 2011, 11: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!

S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
August 27, 2011, 09: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?




Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
August 28, 2011, 12:29:35 AM
 #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.

S3052
Legendary
*
Offline Offline

Activity: 2100
Merit: 1000


View Profile
August 28, 2011, 12:36:50 AM
 #80

Thanks for the clear and prompt answer, and.. keep your great service up!

Pages: « 1 2 3 [4] 5 6 »  All
  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!