Pages:
Author

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

hero member
Activity: 548
Merit: 502
So much code.
From the API Spec:

Quote
Full Depth

https://data.mtgox.com/api/1/BTCUSD/depth/full returns full depth

WARNING : since this is a big download, there is a rate limit on how often you can get it, limit your requests to 5 / hour or you could be dropped / banned.

Since my users want the full depth pretty often, I might have to come up with some trickery to provide updated full depth data for the website.
hero member
Activity: 548
Merit: 502
So much code.
For the past few days, the Mt. Gox market depth has been incorrect, with most of the bids and asks missing, in addition to the number being incorrect.  I think Mt. Gox changed their websockets API or something.  I usually keep the depth at 1000, separated by intervals of 0.01.  The total number of bids was usually over 9,000, and the total number of asks was usually between 1,000 and 2,000.  Now, the total number of bids is about 1,000 or so, and the total number of asks is about 900 or so.  I can also see that many of the orders in the order book are missing as well.  I contacted Mt. Gox about this, and they said I would need to contact the developer (you).  How soon would you be able to solve this problem?

When MtGox made the switch to the new API, it reduced the number of calls I could make to the full depth API, and it blocked my server from receiving the data altogether. So I switched to the reduced depth data for the time being. A MtGox API block is a 48-hr penalty. I've contacted Mark, and he hasn't responded yet.
full member
Activity: 176
Merit: 106
XMR = BTC in 2010. Rise chikun.
For the past few days, the Mt. Gox market depth has been incorrect, with most of the bids and asks missing, in addition to the number being incorrect.  I think Mt. Gox changed their websockets API or something.  I usually keep the depth at 1000, separated by intervals of 0.01.  The total number of bids was usually over 9,000, and the total number of asks was usually between 1,000 and 2,000.  Now, the total number of bids is about 1,000 or so, and the total number of asks is about 900 or so.  I can also see that many of the orders in the order book are missing as well.  I contacted Mt. Gox about this, and they said I would need to contact the developer (you).  How soon would you be able to solve this problem?
hero member
Activity: 548
Merit: 502
So much code.
nice prog. but please add info about sum of bids and asks. Now i must reload you site if i need this info. Thanks.

Are you referring to the streaming order book updates?
legendary
Activity: 1753
Merit: 1007
nice prog. but please add info about sum of bids and asks. Now i must reload you site if i need this info. Thanks.
sr. member
Activity: 333
Merit: 250
Yes! You where right: I blocked in both locations 8080. Opened it = everything fine. ;-) Thank you.
hero member
Activity: 548
Merit: 502
So much code.
The whole page is looking since days like this for me:

I tried it from different computers with different browsers.
Any Idea why?


The static resources for the site are hosted on another domain (static.rtbtc.net:8080). The problem I see is that your network won't allow anything through port 8080.

You say multiple computers. Is that multiple computers in the same house/network? Have you tried on a phone?
sr. member
Activity: 333
Merit: 250
The whole page is looking since days like this for me:


I tried it from different computers with different browsers.
Any Idea why?
hero member
Activity: 548
Merit: 502
So much code.
I added a lag indicator for MtGox down in the footer of the site. It should show up within 30 seconds if you can also see the "# users" counter, as they are from the same server.

Currently, lag is 7:08.102
hero member
Activity: 548
Merit: 502
So much code.
Why is it so hard to connect to http://bitcoin.clarkmoody.com/ ?? I have to refresh the page many times until it starts ticking... Sad



I also have a hard time getting the final load and sockets running... question is: is it mtgox issue or clark moody issue?  servers not robust enough to handle the load?

Seems like MtGox API struggles everytime there's a huge load. Also the matching engine seems somewhat slow.


If you can see the order book and price chart and the site is attempting to connect to MtGox, then it is a MtGox problem.
hero member
Activity: 868
Merit: 1000
Why is it so hard to connect to http://bitcoin.clarkmoody.com/ ?? I have to refresh the page many times until it starts ticking... Sad



I also have a hard time getting the final load and sockets running... question is: is it mtgox issue or clark moody issue?  servers not robust enough to handle the load?

Seems like MtGox API struggles everytime there's a huge load. Also the matching engine seems somewhat slow.
legendary
Activity: 1876
Merit: 1000
Why is it so hard to connect to http://bitcoin.clarkmoody.com/ ?? I have to refresh the page many times until it starts ticking... Sad



I also have a hard time getting the final load and sockets running... question is: is it mtgox issue or clark moody issue?  servers not robust enough to handle the load?

hero member
Activity: 763
Merit: 500
hi, i haven't read this thread, so sorry if it is a duplicate:

i suggest to make the volume bars optionally logarithmic (i.e. log base 10 and 0 as a special case). for example, the latest large 15k dump makes all the other bars invisible. also, logarithmic measures for the "volume" are much more natural. of course, it's a bit more work than just applying this function, also the labeling on the right needs to be changed to 10, 100, 1000, 10000 ...

I hope you see the necessity in this!
hero member
Activity: 548
Merit: 502
So much code.
I want to report a bug. It seems like my order is not visible in the orderbook displayed at http://bitcoin.clarkmoody.com/

It was recently visible, a little bit of it was taken, and now it's gone from the orderbok there. On MtGox it is listed as Bid - Open, and it's not filled yet. It's not cancelled. Any idea of what's going on ?

It should be fixed now. There was a server-side glitch in my order book fetching script.
hero member
Activity: 868
Merit: 1000
I want to report a bug. It seems like my order is not visible in the orderbook displayed at http://bitcoin.clarkmoody.com/

It was recently visible, a little bit of it was taken, and now it's gone from the orderbok there. On MtGox it is listed as Bid - Open, and it's not filled yet. It's not cancelled. Any idea of what's going on ?
hero member
Activity: 548
Merit: 502
So much code.
Why is it so hard to connect to http://bitcoin.clarkmoody.com/ ?? I have to refresh the page many times until it starts ticking... Sad



If you're getting the page to display, then you're connecting to the site just fine  Wink

What you're experiencing is MtGox connection difficulties. You can refresh the page or try the 'Reconnect' button at the top.
full member
Activity: 237
Merit: 100
Hi, very strange that the beautiful chart appears well on Firefox, but is not displayed on Google Chrome on Fedora 18. All ad blockers are turned off.
Version Chrome: 25.0.1364.97
Version FireFox: 18.0.2
OS: Linux 3.7.9-201.fc18.x86_64 #1 SMP Mon Feb 18 21:07:56 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Anyone else problems with (any) chart on Google Chrome under Linux?
Thanks in advance

Found the answer myself: I had to clear all the browser history / cookies etc....
member
Activity: 74
Merit: 10
Why is it so hard to connect to http://bitcoin.clarkmoody.com/ ?? I have to refresh the page many times until it starts ticking... Sad

full member
Activity: 237
Merit: 100
Hi, very strange that the beautiful chart appears well on Firefox, but is not displayed on Google Chrome on Fedora 18. All ad blockers are turned off.
Version Chrome: 25.0.1364.97
Version FireFox: 18.0.2
OS: Linux 3.7.9-201.fc18.x86_64 #1 SMP Mon Feb 18 21:07:56 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Anyone else problems with (any) chart on Google Chrome under Linux?
Thanks in advance
hero member
Activity: 548
Merit: 502
So much code.
In what channel this timestamp is provided?


From the MtGox public data API.

Code:
{"result":"success","return":{"asks":[{"price":29.79999,"amount":9.1649916,"price_int":"2979999","amount_int":"916499160","stamp":"1361479711579718"}, ...


MtGox sends the 'now' parameter in the streaming depth data. I'm assuming that both of those are stamped from the same server.
Pages:
Jump to: