Author

Topic: Bitcoin exchange rate plasmoid for KDE (Read 2897 times)

member
Activity: 83
Merit: 10
February 13, 2011, 09:20:15 PM
#19
that's pretty cool, thanks
full member
Activity: 175
Merit: 101
February 13, 2011, 11:33:27 AM
#18
I've just uploaded a new version. It doesn't show additional info yet, but it should improve the display in some cases, and refresh faster if you turn your computer on and off a lot like I do.
full member
Activity: 175
Merit: 101
February 13, 2011, 11:31:20 AM
#17
Ah, I see, thanks.

I prefer taking the full getTrades.php file, because I compute a time-weighted average rather than the last trade. But I could use the ticker file to display additional information.
hero member
Activity: 868
Merit: 1000
February 13, 2011, 11:27:26 AM
#16
Thanks for taking a look!

Could you give the full URL for tickers.php? I haven't been able to find that page.

I think I could add the volume info as a mousover popup. I'd also like to add a trend with rate of change, but I haven't figured out yet how to estimate these robustly.

Here's the adress: http://mtgox.com/code/data/ticker.php

And the content looks like this:
Code:
{"ticker":{"high":1.08,"low":1.0103,"vol":3741,"buy":1.033,"sell":1.0599,"last":1.033}}

Pretty simple huh?

Thanks for your dev
full member
Activity: 175
Merit: 101
February 13, 2011, 10:59:16 AM
#15
Thanks for taking a look!

Could you give the full URL for tickers.php? I haven't been able to find that page.

I think I could add the volume info as a mousover popup. I'd also like to add a trend with rate of change, but I haven't figured out yet how to estimate these robustly.
hero member
Activity: 868
Merit: 1000
February 13, 2011, 09:49:44 AM
#14
Hello and thanks for the plamsoid.


I wonder, why does your script call for gettrades.php and not tickers.php? Wouldn't the last one be easier to read?

Also, could you add the volume to the plasmoid, so we can juge the liquidity of the market too?

Thank you very much
Raphy
full member
Activity: 175
Merit: 101
February 13, 2011, 04:54:24 AM
#13
Thanks to the generous anonymous donor who sent me 1.26BTC!  Smiley
full member
Activity: 175
Merit: 101
February 12, 2011, 12:57:54 PM
#12
Thanks!! I'm glad it finally worked out. Getting even a simple piece of software to work on other people's computers is hard!
hero member
Activity: 726
Merit: 500
February 12, 2011, 12:49:43 PM
#11
Indeed, I have 2.6.5.  It works great now!  I sent you a donation.
full member
Activity: 175
Merit: 101
February 12, 2011, 12:28:39 PM
#10
I think the problem is that you have python 2.6. I have uploaded a new version that should work better.
hero member
Activity: 726
Merit: 500
February 12, 2011, 11:54:33 AM
#9
Code:
> plasmoidviewer btcRate
QFont::setPointSize: Point size <= 0 (0), must be greater than 0
Traceback (most recent call last):
  File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 75, in init
    self.pyapplet.init()
  File "/home/user/.kde4/share/apps/plasma/plasmoids/btcRate/contents/code/main.py", line 29, in init
    self.compute_rate()
  File "/home/user/.kde4/share/apps/plasma/plasmoids/btcRate/contents/code/main.py", line 60, in compute_rate
    self.label.setText(u"BTC: {:.2f}$".format(rate/weights))
ValueError: zero length field name in format
full member
Activity: 175
Merit: 101
February 12, 2011, 11:11:08 AM
#8
Could you run it with the following command, and paste me any error mesages? Thanks for testing, by the way!

Code:
plasmoidviewer btcRate
hero member
Activity: 726
Merit: 500
February 12, 2011, 11:08:49 AM
#7
It installed fine, but when I went to add it to the desktop I got the following message:

Quote
This object could not be created for the following reason: Script initialization failed

I'm running OpenSUSE 11.3, KDE 4.4.4.
full member
Activity: 175
Merit: 101
February 12, 2011, 03:47:40 AM
#6
How does one install it?

Download the zip file, unzip it, and type:

Code:
plasmapkg -u btcRate

Then the plasmoid should be available when you select "Add new widgets" from the desktop or the panel. Let me know if it works!
hero member
Activity: 726
Merit: 500
February 11, 2011, 10:52:40 PM
#5
How does one install it?
full member
Activity: 175
Merit: 101
February 11, 2011, 01:53:18 PM
#4
OK, it should be fixed now.
full member
Activity: 175
Merit: 101
February 11, 2011, 01:48:27 PM
#3
It's not just you... Bummer!

Thanks for reporting, I'll look into it.
newbie
Activity: 7
Merit: 0
February 11, 2011, 01:41:27 PM
#2
I made a simple plasmoid to display the current exchange rate at Mt. Gox on KDE (a desktop environment for linux). You can download it from KDE look: http://kde-look.org/content/show.php?content=138572

Sounds great Smiley

But.. is it just me, or is the ZIP file empty?   Huh
full member
Activity: 175
Merit: 101
February 11, 2011, 11:32:22 AM
#1
I made a simple plasmoid to display the current exchange rate at Mt. Gox on KDE (a desktop environment for linux). You can download it from KDE look: http://kde-look.org/content/show.php?content=138572

Enjoy!

PS: Donations welcome! 1LZtiyC7DsUWhoQaPXyWnVPD5f6eiruZFL
Jump to: