Pages:
Author

Topic: Real Time Charting, Order Book, and Time & Sales - page 32. (Read 85520 times)

newbie
Activity: 55
Merit: 0
hero member
Activity: 548
Merit: 502
So much code.
Do not worked on my PC

Could you be more specific?
hero member
Activity: 966
Merit: 501
PredX - AI-Powered Prediction Market
Do not worked on my PC
hero member
Activity: 548
Merit: 502
So much code.
You can now choose to 'Use a Lighter Theme' under the Controls section.

Enjoy.  Grin
hero member
Activity: 966
Merit: 501
PredX - AI-Powered Prediction Market
Nice tool =)
But please-please white background switch option =)
White on black killing my eyes =(

You are the first guy ever I see complaining of white on black...

But maybe is my bias (since I LOOOOOVE white on black)
hero member
Activity: 548
Merit: 502
So much code.
I could probably cook something up  Cool
member
Activity: 88
Merit: 10
Nice tool =)
But please-please white background switch option =)
White on black killing my eyes =(
newbie
Activity: 55
Merit: 0
Hi Clark!

You can do a great WebSocket server using Node.js and Socket.io

Im doing some tests using hook.io as websocket client in Nodejs against Gox API

Here some basics https://github.com/cronopio/hook.io-ws

Grettings!!
hero member
Activity: 548
Merit: 502
So much code.
Yeah I get the "web socket closed" error also in Chrome.

When I use IE or Firefox (latest versions) I get error saying I need to upgrade to a browser that supports web sockets.

What do I do? Sad

See the discussion in this thread: https://bitcointalksearch.org/topic/realtime-mtgox-time-and-sales-11560

I'm currently working on a new way to address this issue, but it requires deploying my own WebSocket server...
legendary
Activity: 1008
Merit: 1023
Democracy is the original 51% attack
Yeah I get the "web socket closed" error also in Chrome.

When I use IE or Firefox (latest versions) I get error saying I need to upgrade to a browser that supports web sockets.

What do I do? Sad
hero member
Activity: 548
Merit: 502
So much code.
It happens only at home though. (not at work).

I am using Google Chrome on Win XP at home. (and Google Chrome on Mac OSX at work)

I believe the culprit is MtGox's choice of an early version of the WebSocket protocol (and the non-secure one at that).

I have similar issues on my home computer, in fact. I get around it by running the code in a Linux virtual machine!
hero member
Activity: 966
Merit: 501
PredX - AI-Powered Prediction Market
20:16:40 > Got 880 asks and 183 bids.
20:16:40 > WebSocket Closed
20:16:39 > Loading full depth of market table.
20:16:39 > WebSocket open.
20:16:39 > Opening WebSocket to ws://websocket.mtgox.com/mtgox


that is annoying Sad

Lame. Is it repeating that behavior each time you try to connect?

Yes...

In fact, this was the bug I was refering to.. I thought it was fixed, but it is not...

It happens only at home though. (not at work).

I am using Google Chrome on Win XP at home. (and Google Chrome on Mac OSX at work)
sr. member
Activity: 408
Merit: 261
The tick chart is now live.
Bravo!
I think kind sir it is about time for you to take a well deserved bow.
hero member
Activity: 548
Merit: 502
So much code.
20:16:40 > Got 880 asks and 183 bids.
20:16:40 > WebSocket Closed
20:16:39 > Loading full depth of market table.
20:16:39 > WebSocket open.
20:16:39 > Opening WebSocket to ws://websocket.mtgox.com/mtgox


that is annoying Sad

Lame. Is it repeating that behavior each time you try to connect?
hero member
Activity: 966
Merit: 501
PredX - AI-Powered Prediction Market
20:16:40 > Got 880 asks and 183 bids.
20:16:40 > WebSocket Closed
20:16:39 > Loading full depth of market table.
20:16:39 > WebSocket open.
20:16:39 > Opening WebSocket to ws://websocket.mtgox.com/mtgox


that is annoying Sad
hero member
Activity: 548
Merit: 502
So much code.
I've just build a realtime tick chart:




I will upload the updated code in a few hours. The tick chart is now live.
hero member
Activity: 966
Merit: 501
PredX - AI-Powered Prediction Market
Heh...

I was upset that since mtgox hack it your site never worked correctly again.

And then you return with a super new awesome version!

Totally thanks! Specially for the timing...

I returned to the forums today, with the intention of asking a alternative to your (not anymore) broken site with the intention to use it for some daytrading XD
legendary
Activity: 924
Merit: 1004
Firstbits: 1pirata
nice tool, i've been looking for some alternative because mtgox live locks to often for me, thanks. donation coming your way Wink
hero member
Activity: 548
Merit: 502
So much code.


bitcoin.clarkmoody.com

Interactive Chart
The chart updates live with new trades, and the user may interact with it. First of all, you may select the time period for each bar and the style of the chart: candlestick or line chart.

Candlesticks
The candlestick chart follows a special convention:
Green / red bars indicated a gain / loss over the previous close.
Filled bars were down for that period, with the open higher than the close. Empty bars are up for the period. Thus, you may see filled green bars or empty red bars, but for the most part, green bars are empty and red bars are filled.

Mouse Control
Click and drag - move backwards and forwards in time (tilt wheel also does this)
Double click - returns to the current time
Scroll wheel - zooms the chart to view more or less bars
Ctrl+drag - increase or decrease spacing between bars

You may resize the volume display by dragging the border. Hovering over the chart displays cross hairs. In the price/volume labels, the hovered price or volume is displayed next to the horizontal cross hair line. The time of the given bar is shown in the bottom of the price area (in UTC).

Order Book
The full order book is displayed. You may group prices for a more compact display. The book can display up to 1000 rows, so if you cannot see to the maximum extent of the book, just group prices by 0.10 or 0.25. Additions to the book show up in blue, orders that add or subtract at an existing price level show up in green or red, respectively. The sum column shows the total number of Bitcoin bid or offered up to each price.

Original Order Book thread

Time & Sales
As each trade happens, it appears in the Time & Sales list. Trades that are higher than the previous traded price show up in green. Lower trades are red. The time is the local time of the computer. The console outputs the current 'trend' or trade series as the total amount gained or lost in the direction of the recent trades. The volume of the trades in one direction is also displayed.

Original Time & Sales thread
Pages:
Jump to: