Bitcoin Forum
December 03, 2016, 12:22:13 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: MtGox Matrix  (Read 4387 times)
TTBit
Legendary
*
Offline Offline

Activity: 1136


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
1480724533
Hero Member
*
Offline Offline

Posts: 1480724533

View Profile Personal Message (Offline)

Ignore
1480724533
Reply with quote  #2

1480724533
Report to moderator
1480724533
Hero Member
*
Offline Offline

Posts: 1480724533

View Profile Personal Message (Offline)

Ignore
1480724533
Reply with quote  #2

1480724533
Report to moderator
1480724533
Hero Member
*
Offline Offline

Posts: 1480724533

View Profile Personal Message (Offline)

Ignore
1480724533
Reply with quote  #2

1480724533
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480724533
Hero Member
*
Offline Offline

Posts: 1480724533

View Profile Personal Message (Offline)

Ignore
1480724533
Reply with quote  #2

1480724533
Report to moderator
1480724533
Hero Member
*
Offline Offline

Posts: 1480724533

View Profile Personal Message (Offline)

Ignore
1480724533
Reply with quote  #2

1480724533
Report to moderator
FreeMoney
Legendary
*
Offline Offline

Activity: 1246


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: 1358



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
Legendary
*
Offline Offline

Activity: 1136


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
Legendary
*
Offline Offline

Activity: 1136


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


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
Legendary
*
Offline Offline

Activity: 1136


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: 180



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
Legendary
*
Offline Offline

Activity: 1136


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: 1988



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?

TTBit
Legendary
*
Offline Offline

Activity: 1136


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: 1988



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/

TTBit
Legendary
*
Offline Offline

Activity: 1136


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: 1988



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!

TTBit
Legendary
*
Offline Offline

Activity: 1136


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


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

Why the change - "Trade Volume unavailable" etc?

Thanks!!!
Stephen Gornick
Legendary
*
Offline Offline

Activity: 1988



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

LZ
Staff
Legendary
*
Offline Offline

Activity: 1470


Satoshi everywhere!


View Profile WWW
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?

"Never invest unless you can afford to lose your entire investment." © S3052
jhansen858
Sr. Member
****
Offline Offline

Activity: 336


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


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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!