Bitcoin Forum
May 07, 2024, 10:38:36 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 »
  Print  
Author Topic: Real Time Charting, Order Book, and Time & Sales  (Read 85483 times)
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
September 22, 2011, 10:57:48 PM
 #41

The connection issue is detailed a little bit here on the Chromium Bugs Google discussion:

http://groups.google.com/a/chromium.org/group/chromium-bugs/browse_thread/thread/aea7ab1fd995e78b/a8133bbe76e4067e?lnk=raot

Thanks for whoever posted it there. Apparently the MtGox frame format is old, but the handshake is new.

This link has also been posted in the websockets thread here: https://bitcointalk.org/index.php?topic=5855.msg535523#msg535523

"The nature of Bitcoin is such that once version 0.1 was released, the core design was set in stone for the rest of its lifetime." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715078316
Hero Member
*
Offline Offline

Posts: 1715078316

View Profile Personal Message (Offline)

Ignore
1715078316
Reply with quote  #2

1715078316
Report to moderator
1715078316
Hero Member
*
Offline Offline

Posts: 1715078316

View Profile Personal Message (Offline)

Ignore
1715078316
Reply with quote  #2

1715078316
Report to moderator
1715078316
Hero Member
*
Offline Offline

Posts: 1715078316

View Profile Personal Message (Offline)

Ignore
1715078316
Reply with quote  #2

1715078316
Report to moderator
322i0n
Full Member
***
Offline Offline

Activity: 196
Merit: 101


View Profile WWW
September 30, 2011, 04:26:44 PM
 #42

Has the order book been changed to show the highest bids at the bottom of the page and the lowest asks at the top of the page?

or is this an issue with safari?

Supporting The Global Insurrection Against Banker Occupation
BTC: 1C1w6t1dMkEXeCntURxDiBiWsTbdJbvTr9
NMC: N6uNpVPAdpTur4Hwr8Sqgd6kxcKPto4S2T
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
September 30, 2011, 04:38:54 PM
 #43

Has the order book been changed to show the highest bids at the bottom of the page and the lowest asks at the top of the page?

or is this an issue with safari?

Yeah, this is an issue with Firefox & Safari. I'll need to clean this up very soon!

realcoin
Sr. Member
****
Offline Offline

Activity: 364
Merit: 250


View Profile
October 07, 2011, 08:41:43 AM
 #44

Hello,

looks very nice!
Is it possible to export the Time & Sales as CSV (txt) file?  Smiley

I am not "Realcoin REC"! There were no REC when I sign up the forum...
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 07, 2011, 02:17:28 PM
 #45

Hello,

looks very nice!
Is it possible to export the Time & Sales as CSV (txt) file?  Smiley

You're going to want to check this out for that functionality: http://bitcoincharts.com/about/markets-api/

Lord F(r)og
Donator
Sr. Member
*
Offline Offline

Activity: 477
Merit: 250



View Profile
October 09, 2011, 12:56:23 PM
Last edit: October 09, 2011, 01:27:00 PM by Lord Fog
 #46

Just wanted to say thank you for the provided free services. So donation is on it's way...
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 09, 2011, 06:02:48 PM
 #47

Just wanted to say thank you for the provided free services. So donation is on it's way...

Well thank you very much!


I've been working on compatibility for the latest browsers and fixing the price grouping bug. Stay tuned for the updated code sometime soon.

Lord F(r)og
Donator
Sr. Member
*
Offline Offline

Activity: 477
Merit: 250



View Profile
October 09, 2011, 08:32:39 PM
 #48

Just wanted to say thank you for the provided free services. So donation is on it's way...

Well thank you very much!


I've been working on compatibility for the latest browsers and fixing the price grouping bug. Stay tuned for the updated code sometime soon.

Yeay, compatibility for the recent Firefox version would be hailed like the Lord. It's the "Lord's update", right?
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 10, 2011, 05:39:07 AM
 #49

Well, I've launched the updated code. I now attempt to connect to the secure WebSocket first before trying the unsecured one. Also, you shouldn't see the prices flipping around on the Bid side anymore.

As far as compatibility goes, I'm not sure if there will be any progress for Chrome 14 until MtGox updates its server protocol.

Safari 5.1 and late-model Opera work just fine for me. Firefox 6.0.2 says it's connected, but it doesn't receive anything. Chrome 14 seems to do the same thing.

The error console says
Code:
One or more reserved bits are on: reserved1 = 0, reserved2 = 1, reserved3 = 0

DrKennethNoisewater
Full Member
***
Offline Offline

Activity: 125
Merit: 100



View Profile
October 11, 2011, 12:22:20 AM
 #50

The socket still shuts down using Chrome.........(and every other browser)

Only thing that works is thru the iPhone..............

To Bad, This WAS a great product...............

:<
randomguy7
Hero Member
*****
Offline Offline

Activity: 527
Merit: 500


View Profile
October 11, 2011, 12:34:43 AM
 #51

Clark, can you add support for tradehill or other exchanges? I don't know if they offer websockets but even a self updating order book (by polling the json api every minute or something) would be quite useful.
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 11, 2011, 02:50:50 PM
 #52

To Bad, This WAS a great product...............

:<

Ouch!

It still works fine in Safari 5.1 and Opera 11.10 for me. This is a lesson to all you developers out there: you MUST be in control of your own data stream! The success of my product is completely at the mercy of MtGox and its API.

Clark, can you add support for tradehill or other exchanges? I don't know if they offer websockets but even a self updating order book (by polling the json api every minute or something) would be quite useful.

That's looking like a better and better idea all the time. I should provide a polling fall back for MtGox as well as add support for the other exchanges.

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

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 12, 2011, 03:54:06 PM
Last edit: October 12, 2011, 07:40:43 PM by Clark
 #53

I pushed an update to the platform that should eliminate the order book reversal bug. I'm viewing a working platform in Opera 11.10 and Safari 5.1. Edit: It also works in Opera 11.51.

Opera manages to connect to the secure WebSocket, while Safari has a little trouble and goes with the non-secure one.

DrKennethNoisewater
Full Member
***
Offline Offline

Activity: 125
Merit: 100



View Profile
October 13, 2011, 03:42:34 AM
 #54

Chrome still not working.

Safari 5.1 not holding up either.

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

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 13, 2011, 03:45:15 AM
 #55

Chrome still not working.

Safari 5.1 not holding up either.

Safari 5.1 (7534.50) works for me. Have you tried Opera? (It's actually the second most popular browser in my logs).

And please be sure to complain to MagicalTux for breaking a service that you need to use.

DrKennethNoisewater
Full Member
***
Offline Offline

Activity: 125
Merit: 100



View Profile
October 15, 2011, 05:51:34 PM
 #56

Just installed Opera, it says it does not support websockets.
Clark (OP)
Hero Member
*****
Offline Offline

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 16, 2011, 12:43:17 PM
 #57

Just installed Opera, it says it does not support websockets.

You may have to enable support in opera:config.

DrKennethNoisewater
Full Member
***
Offline Offline

Activity: 125
Merit: 100



View Profile
October 16, 2011, 07:52:05 PM
 #58

Enabled for Opera, we're back mortimer!

Sweet...

cronopio
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
October 18, 2011, 02:04:13 PM
 #59

Here there is a Google Chrome installer for the 13 version. (Windows Version)

http://www.oldapps.com/google_chrome.php?old_chrome=6373

I download and install it (on Win7) and work great for the clark's tool.

REMEMBER: Is a good idea if you already have chrome installed, first uninstall, afterwards clean de registry (I use CClaner basicly) and when you sure google chrome is really uninstalled then install the 13 version.

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

Activity: 548
Merit: 502


So much code.


View Profile WWW
October 21, 2011, 02:50:53 PM
 #60

I've updated the code a bit to fix a few bugs.

Also, when loading the orders, we now get the entire order book, instead of just the tiny amount MtGox used to send.

You might have to refresh your browser to make sure to get the latest JavaScript code.

Pages: « 1 2 [3] 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 »
  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!