Bitcoin Forum
April 19, 2024, 10:41:56 AM *
News: Latest Bitcoin Core release: 26.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 »
  Print  
Author Topic: SierraChart bridge - Realtime Bitcoin charts [v0.5] (MtGox, Intersango, ...)  (Read 142179 times)
macboy80
Member
**
Offline Offline

Activity: 102
Merit: 10


View Profile
November 10, 2011, 03:59:23 PM
 #181

  • 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.
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713523316
Hero Member
*
Offline Offline

Posts: 1713523316

View Profile Personal Message (Offline)

Ignore
1713523316
Reply with quote  #2

1713523316
Report to moderator
1713523316
Hero Member
*
Offline Offline

Posts: 1713523316

View Profile Personal Message (Offline)

Ignore
1713523316
Reply with quote  #2

1713523316
Report to moderator
1713523316
Hero Member
*
Offline Offline

Posts: 1713523316

View Profile Personal Message (Offline)

Ignore
1713523316
Reply with quote  #2

1713523316
Report to moderator
slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
November 10, 2011, 04:25:08 PM
 #182

Oh, damn, I forgot to upload it to new server. Fixed.

Litt
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
November 10, 2011, 06:50:24 PM
 #183

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.

Quote from: #mtgox
<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.

Quote from: code
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
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
November 20, 2011, 06:32:09 PM
 #184

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 Offline

Activity: 1386
Merit: 1097



View Profile WWW
November 20, 2011, 06:40:35 PM
 #185

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
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
November 20, 2011, 07:11:14 PM
 #186


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 Offline

Activity: 1386
Merit: 1097



View Profile WWW
November 20, 2011, 07:13:57 PM
 #187

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
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
November 20, 2011, 08:01:50 PM
 #188

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 Offline

Activity: 1386
Merit: 1097



View Profile WWW
November 20, 2011, 08:09:58 PM
 #189

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
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
November 20, 2011, 08:19:05 PM
 #190

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 Offline

Activity: 1386
Merit: 1097



View Profile WWW
November 23, 2011, 10:32:19 AM
 #191

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.exe

Pros - 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
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250



View Profile
November 23, 2011, 04:07:53 PM
 #192

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.exe

Pros - 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
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
November 23, 2011, 05:51:41 PM
 #193

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.exe

Pros - 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 Offline

Activity: 1386
Merit: 1097



View Profile WWW
November 24, 2011, 10:48:59 AM
 #194

Litt, I put it back to my signature.

P.S. I prefer wine :-).

Litt
Sr. Member
****
Offline Offline

Activity: 350
Merit: 250


View Profile
November 24, 2011, 07:10:35 PM
 #195

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 Smiley Again thanks for doing this Slush.
slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
November 24, 2011, 08:14:29 PM
 #196

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 Offline

Activity: 29
Merit: 0


View Profile
December 05, 2011, 09:09:45 AM
 #197

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

 Undecided
slush (OP)
Legendary
*
Offline Offline

Activity: 1386
Merit: 1097



View Profile WWW
December 05, 2011, 11:41:38 AM
 #198

bitcoincharts.com interface was broken, it's working again (thanks tcatm!)

czebrda
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
January 04, 2012, 03:17:06 PM
Last edit: January 04, 2012, 04:12:58 PM by czebrda
 #199

Is it just me or the feed stopped working? All I get is

Code:
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 Offline

Activity: 1386
Merit: 1097



View Profile WWW
January 04, 2012, 06:34:14 PM
 #200

Yes, streaming of mtgox from bitcoincharts is down because of recent huge trading volume on the mtgox. I believe it will work again soon...

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 »
  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!