macboy80
Member
Offline
Activity: 102
Merit: 10
|
|
November 10, 2011, 03:59:23 PM |
|
- 2. Download SierraChart feed for bitcoin markets.
The above link to sierrachartfeed-0.3.exe is giving a 404 error... I've got the actual software, just not the feed for bitcoin markets.
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
November 10, 2011, 04:25:08 PM |
|
Oh, damn, I forgot to upload it to new server. Fixed.
|
|
|
|
Litt
|
|
November 10, 2011, 06:50:24 PM |
|
Hi slush. It seems MtGox has changed how their websocket works. I'm no expert, but here is the what was said on #mtgox regarding this. For now, realtime update is not working because of this change it seems. <shockdiode> websocket is officially deprecated now? <MagicalTux> shockdiode: yep, replaced by socket.io server <MagicalTux> which is more stable <MagicalTux> but not using the same protocol <MagicalTux> client libs are however in most languages, however <shockdiode> when will that be up? <MagicalTux> [18:23:22] <shockdiode> when will that be up? <- IT IS <molecular> MagicalTux, any doc/wiki/??? on socket.io server? <MagicalTux> molecular: http://socket.io got a lot of doc <MagicalTux> it's basically the same websocket data, passed through socket.io <molecular> MagicalTux, thanks. so you merely switched the transport layer? everything else like before...? <MagicalTux> molecular: yep, switched transport layer, which will allow us to make it work in any browser When you run the bridge, this error shows up now. Exception in thread Thread-1: Traceback (most recent call last): File "threading.pyo", line 525, in __bootstrap_inner File "pywsc\receiver.pyo", line 41, in run File "sierrachartfeed.py", line 90, in ticker_update KeyError: 'channel'
|
|
|
|
StewartJ
|
|
November 20, 2011, 06:32:09 PM |
|
I am getting this error as well when running sierrachartfeed:
Exception in thread Thread-1: Traceback (most recent call last): File "threading.pyo", line 525, in __bootstrap_inner File "pywsc\receiver.pyo", line 41, in run File "sierrachartfeed.py", line 90, in ticker_update KeyError: 'channel'
Also -w fix does not work, gives http 503 error.
Any help, anyone?
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
November 20, 2011, 06:40:35 PM |
|
I don't know how to fix mtgox websocket - https://bitcointalk.org/index.php?topic=5855.msg623526#msg623526 - any help is appreciated. About 503 error - it's something on bitcoincharts. However if you leave sierrachartfeed running for some time, it will download data succesfully - I'm using feed with -w right now.
|
|
|
|
StewartJ
|
|
November 20, 2011, 07:11:14 PM |
|
About 503 error - it's something on bitcoincharts. However if you leave sierrachartfeed running for some time, it will download data succesfully - I'm using feed with -w right now.
Thanks, I cleared my gox.scid file, and am using the -w option right now, says its downloading historical data. Will wait and see.
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
November 20, 2011, 07:13:57 PM |
|
I cleared my gox.scid file
This wasn't necessary, you probably only lost some history because bitcoincharts, if I remember well, provide only last 30 days.
|
|
|
|
StewartJ
|
|
November 20, 2011, 08:01:50 PM |
|
I cleared my gox.scid file
This wasn't necessary, you probably only lost some history because bitcoincharts, if I remember well, provide only last 30 days. So it looks like still getting those intermittent http 503 errors. Have been using using the browser based charts for now. Thanks for your help. SJ
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
November 20, 2011, 08:09:58 PM |
|
As tcatm told me it's rate limiting on his side for 1rq/minute. Besides that annoying error message, it is working fine, only up to 60 second delay.
Mtgox websocket isn't working for me for some reason and nobody can give me any advice, so I'll remake code to use bitcoincharts socket interface, which is only few seconds after markets (because it is using polling to markets internally).
|
|
|
|
StewartJ
|
|
November 20, 2011, 08:19:05 PM |
|
As tcatm told me it's rate limiting on his side for 1rq/minute. Besides that annoying error message, it is working fine, only up to 60 second delay.
Mtgox websocket isn't working for me for some reason and nobody can give me any advice, so I'll remake code to use bitcoincharts socket interface, which is only few seconds after markets (because it is using polling to markets internally).
So you are building a newer version of sierrachartfeed? If so, many thanks. SJ
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
November 23, 2011, 10:32:19 AM |
|
Version 0.4 released, fixes non-working streaming from MtGox. It is now using socket interface to bitcoincharts instead of MtGox's socket.io. Download: http://mining.bitcoin.cz/media/download/sierrachartfeed-0.4.exePros - sierrachart now supports live streaming of all bitcoin charts, not just MtGox. Cons - there's currently implemented only polling between bitcoincharts and mtgox and chart updates are delayed 5 seconds in average. But tcatm is working on socket.io support on his side, so it will gets better soon. Enjoy! :-)
|
|
|
|
StewartJ
|
|
November 23, 2011, 04:07:53 PM |
|
Version 0.4 released, fixes non-working streaming from MtGox. It is now using socket interface to bitcoincharts instead of MtGox's socket.io. Download: http://mining.bitcoin.cz/media/download/sierrachartfeed-0.4.exePros - sierrachart now supports live streaming of all bitcoin charts, not just MtGox. Cons - there's currently implemented only polling between bitcoincharts and mtgox and chart updates are delayed 5 seconds in average. But tcatm is working on socket.io support on his side, so it will gets better soon. Enjoy! :-) Many thanks, works great. No more http error 503, woo hoo! SJ
|
|
|
|
Litt
|
|
November 23, 2011, 05:51:41 PM |
|
Version 0.4 released, fixes non-working streaming from MtGox. It is now using socket interface to bitcoincharts instead of MtGox's socket.io. Download: http://mining.bitcoin.cz/media/download/sierrachartfeed-0.4.exePros - sierrachart now supports live streaming of all bitcoin charts, not just MtGox. Cons - there's currently implemented only polling between bitcoincharts and mtgox and chart updates are delayed 5 seconds in average. But tcatm is working on socket.io support on his side, so it will gets better soon. Enjoy! :-) Thank you Slush for updating this. Can you add your bitcoin add to the front page so I can buy you a beer for your troubles? I think it used to in your sig, but no longer there.
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
November 24, 2011, 10:48:59 AM |
|
Litt, I put it back to my signature.
P.S. I prefer wine :-).
|
|
|
|
Litt
|
|
November 24, 2011, 07:10:35 PM |
|
Litt, I put it back to my signature.
P.S. I prefer wine :-).
I sent you a few coins out of my mining income to show my appreciation. I would like to ask others to do the same if you love using sierra chart and appreciate what Slush is doing for the bitcoin community for free. I personally prefer wine myself, but buying another guy beer just sounds more masculine? haha Again thanks for doing this Slush.
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
November 24, 2011, 08:14:29 PM |
|
Litt, thank you a lot! You actually bought me a bottle of wine instead of a glass ;-).
Today my connection to bitcoincharts freezed without raising any exception. I'll need to elaborate and then I'll release fixed version. I'm also learning Qt (for working on electrum client) so I'm considering to do small homework and remake SC bridge into small app with tray icon instead of weird hacker's tool for commandline.
|
|
|
|
czebrda
Newbie
Offline
Activity: 29
Merit: 0
|
|
December 05, 2011, 09:09:45 AM |
|
sierrachartfeed-0.4.exe Loading data file c:/SierraChart/data/mtgoxUSD.scid Downloading historical data Traceback (most recent call last): File "sierrachartfeed.py", line 132, in <module> File "sierrachartfeed.py", line 60, in __init__ Exception: Historical download failed: HTTP Error 503: Service Temporarily Unavailable, use -y to disable history
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
December 05, 2011, 11:41:38 AM |
|
bitcoincharts.com interface was broken, it's working again (thanks tcatm!)
|
|
|
|
czebrda
Newbie
Offline
Activity: 29
Merit: 0
|
|
January 04, 2012, 03:17:06 PM Last edit: January 04, 2012, 04:12:58 PM by czebrda |
|
Is it just me or the feed stopped working? All I get is sierrachartfeed-0.4.exe Loading data file c:/SierraChart/data/mtgoxUSD.scid Downloading historical data Opening streaming socket... EDIT I guess it might have sthin to do with bitcoincharts not working https://bitcointalk.org/index.php?topic=56569
|
|
|
|
slush (OP)
Legendary
Offline
Activity: 1386
Merit: 1097
|
|
January 04, 2012, 06:34:14 PM |
|
Yes, streaming of mtgox from bitcoincharts is down because of recent huge trading volume on the mtgox. I believe it will work again soon...
|
|
|
|
|