Bitcoin Forum
May 10, 2024, 08:42:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: MtGox Matrix  (Read 4784 times)
TTBit (OP)
Legendary
*
Offline Offline

Activity: 1136
Merit: 1001


View Profile
November 17, 2010, 06:16:43 PM
 #1


http://www.taters.net/cgi-bin/btc/matrix.pl?axisinc=0.01

Should be obvious, however:
*Change your axis increment at the top.
*The Green Columns on left and right is total USD bid/offered at that level, with [Totals in brackets]
*Total coins bid/ask at that level [number of orders in brackets]

price & volume data will be included, my goal is to make a complete front-end for trading at MtGox. Above is written in Perl, and I'm reading about php - I'm stuck at the 'hello world' section  Huh

good judgment comes from experience, and experience comes from bad judgment
1715330542
Hero Member
*
Offline Offline

Posts: 1715330542

View Profile Personal Message (Offline)

Ignore
1715330542
Reply with quote  #2

1715330542
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715330542
Hero Member
*
Offline Offline

Posts: 1715330542

View Profile Personal Message (Offline)

Ignore
1715330542
Reply with quote  #2

1715330542
Report to moderator
1715330542
Hero Member
*
Offline Offline

Posts: 1715330542

View Profile Personal Message (Offline)

Ignore
1715330542
Reply with quote  #2

1715330542
Report to moderator
FreeMoney
Legendary
*
Offline Offline

Activity: 1246
Merit: 1014


Strength in numbers


View Profile WWW
November 17, 2010, 06:43:40 PM
 #2

It's really weird at this point to still not have the whole order book at mtgox. Not to mention that it is always skewed toward showing more asks than bids.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
slush
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
November 17, 2010, 07:52:50 PM
 #3

I appreciate the total USD price, it's nice.

Do you plan real-time ajax interface? I hate mtgox because it _is_ ajax, but still have to refresh for new data.

Quote
Above is written in Perl, and I'm reading about php

<OT>Maybe your mind is too much overcomplicated from perl that you don't get the beginner's kludge called 'php' ;-). If you are new in php and skilled in perl, try python instead.</OT>

TTBit (OP)
Legendary
*
Offline Offline

Activity: 1136
Merit: 1001


View Profile
November 17, 2010, 09:36:05 PM
 #4

It's really weird at this point to still not have the whole order book at mtgox. Not to mention that it is always skewed toward showing more asks than bids.

I think there are a lot of shadow bids out there. No one is going to tip their hand and display they want to buy $20k worth of coins. I think if we had the total account balance at MtGox, it would show a different picture.

good judgment comes from experience, and experience comes from bad judgment
TTBit (OP)
Legendary
*
Offline Offline

Activity: 1136
Merit: 1001


View Profile
November 17, 2010, 09:41:56 PM
 #5

I appreciate the total USD price, it's nice.

Do you plan real-time ajax interface? I hate mtgox because it _is_ ajax, but still have to refresh for new data.

Quote
Above is written in Perl, and I'm reading about php

<OT>Maybe your mind is too much overcomplicated from perl that you don't get the beginner's kludge called 'php' ;-). If you are new in php and skilled in perl, try python instead.</OT>

Thank you for the tip. I enjoy programming, and will learn as I go.

Having the matrix update real-time would be sweet.

good judgment comes from experience, and experience comes from bad judgment
FreeMoney
Legendary
*
Offline Offline

Activity: 1246
Merit: 1014


Strength in numbers


View Profile WWW
November 17, 2010, 09:48:28 PM
 #6

It's really weird at this point to still not have the whole order book at mtgox. Not to mention that it is always skewed toward showing more asks than bids.

I think there are a lot of shadow bids out there. No one is going to tip their hand and display they want to buy $20k worth of coins. I think if we had the total account balance at MtGox, it would show a different picture.

No, I only mean that it seems to cut off the chart in some odd way. So if a trade happens at 20 cents we get to see down to 16 cents and up to 40 or something. Doesn't matter, the whole book should be available somewhere.

Play Bitcoin Poker at sealswithclubs.eu. We're active and open to everyone.
TTBit (OP)
Legendary
*
Offline Offline

Activity: 1136
Merit: 1001


View Profile
November 18, 2010, 05:02:57 AM
 #7

update: Volume data was added

MtGox volume in the ticker doesn't match up with the volume I sum up from the data provided.  The 2nd row is MtGox ticker volume.

good judgment comes from experience, and experience comes from bad judgment
mpkomara
Full Member
***
Offline Offline

Activity: 183
Merit: 100



View Profile
November 18, 2010, 05:38:33 AM
 #8

TTBit-- Are you in any way affiliated with Trading Technologies (TT)?  They have a "market depth trader" or "MD trader" that looks like your newest output. 
TTBit (OP)
Legendary
*
Offline Offline

Activity: 1136
Merit: 1001


View Profile
November 18, 2010, 05:54:30 AM
 #9

TTBit-- Are you in any way affiliated with Trading Technologies (TT)?  They have a "market depth trader" or "MD trader" that looks like your newest output. 

Great catch, but no, I am not affiliated with Trading Technologies - however, I am a member of the CME, and used their software years ago. The 'TT' comes from the "taters" name which was my softball team in college.

Their format must have inspired me  Tongue

good judgment comes from experience, and experience comes from bad judgment
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 13, 2010, 04:13:51 PM
 #10

Your matrix display is so useful.  Using the 0.0025 sub-cent axis display is my favorite way to see bid/ask spread:
   http://www.taters.net/cgi-bin/btc/matrix.pl?axisinc=0.0025

There's a page-display widget that I would like to use that will periodically refresh the matrix in a window off to the side.  However, that tool doesn't like how your script doesn't return valid html -- e.g., no <html> tag, etc.

Were those tags omitted explicitly?  If not, would you consider adding them in?

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


TTBit (OP)
Legendary
*
Offline Offline

Activity: 1136
Merit: 1001


View Profile
December 13, 2010, 07:46:36 PM
 #11

Your matrix display is so useful.  Using the 0.0025 sub-cent axis display is my favorite way to see bid/ask spread:
   http://www.taters.net/cgi-bin/btc/matrix.pl?axisinc=0.0025

There's a page-display widget that I would like to use that will periodically refresh the matrix in a window off to the side.  However, that tool doesn't like how your script doesn't return valid html -- e.g., no <html> tag, etc.

Were those tags omitted explicitly?  If not, would you consider adding them in?

Thank you. I added some <html> and a <title>. Let me know if it needs anything else.

Rolling over the quantity now gives the individual orders. Works best in non-firefox browsers  Sad

good judgment comes from experience, and experience comes from bad judgment
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
December 13, 2010, 10:44:51 PM
 #12

Thanks! Getting warmer.

<html>
  <head>
    <title>The Title</title>
  </head>
  <body>
     <table>
       [...]
     </table>

     <sript>
        [...   Traffic / Analytics Stuff here ...]
     </script>
  </body>
</html>


There's a validation service that you could run the site through:
  http://validator.w3.org/

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


TTBit (OP)
Legendary
*
Offline Offline

Activity: 1136
Merit: 1001


View Profile
December 14, 2010, 01:46:43 AM
 #13

I got a bunch of green with the validator. Does it work now?

good judgment comes from experience, and experience comes from bad judgment
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
January 07, 2011, 05:10:49 PM
 #14

While it appears the page will validate properly without it, the <body></body> tags are sometimes required for the page to be properly rendered.  For instance, I had an extension in Chrome that apparently thinks this page is raw HTML source and thus wouldn't layout and render the page.  I've disabled the extension for now.  If you wanted to support the widest number of browsers, you might wish to include <body>:

<html>
  <head>
       [...]
  </head>
   <body>
     <table>
       [...]
     </table>
  </body>
</html>

BTW, this is such a useful utility.  Thank you so much!

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


TTBit (OP)
Legendary
*
Offline Offline

Activity: 1136
Merit: 1001


View Profile
January 08, 2011, 03:57:30 AM
 #15

thank you for the help. I am happy to work on it.

If anyone who knows what they are doing creates a similar page, I won't feel slighted in the least.

good judgment comes from experience, and experience comes from bad judgment
weinerk
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
April 26, 2011, 02:21:56 PM
 #16

Why the change - "Trade Volume unavailable" etc?

Thanks!!!
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
April 27, 2011, 10:14:39 PM
 #17

Why the change - "Trade Volume unavailable" etc?

The closest thing I've seen to Mt.Gox Matrix is:
  Weighted prices from:
  - http://www.bitcoinwatch.com

 and the depth chart:
  - http://bitcoincharts.com/markets/mtgoxUSD_depth.html

Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
June 04, 2011, 05:05:09 AM
 #18

Code:
The server encountered an internal error or misconfiguration
and was unable to complete your request. Your administrator
may not have enabled CGI access for this directory.

I hope the author will fix it. Will he?

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
jhansen858
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
June 04, 2011, 05:39:16 AM
 #19

I made something similar, well actually i never saw his page cause its down.

Mtgox parser with USD values added in.


http://btcbids.com/trader.php

Hi forum: 1DDpiEt36VTJsiJunyBc3XtG6CcSAnsQ4p
weinerk
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
June 05, 2011, 08:44:35 PM
 #20

Code:
The server encountered an internal error or misconfiguration
and was unable to complete your request. Your administrator
may not have enabled CGI access for this directory.

I hope the author will fix it. Will he?

I re-created something similar.
http://omnicompass.com/mtgox
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!