Description:

Displays stock quotes on your plasma enabled desktop. this plasmoid is derived from StockWidget from playground and Stockoid from kde-look.org.

For finding the ticker symbols you have to go to finance.yahoo.com and search for your symbols (IE: ^DJI, ^IXIC).

Main differences to Stockoid:
* uses a data engine which collects data in background (no annoying popup window)
* no fixed size

This plasmoid uses a data engine for stocks which is not yet included in kde.

Changelog:

7 years ago

0.4:
* KDE 4.3 compatible
* Update interval is now 5 minutes

0.3:
* KDE 4.2 compatible
* Calculate correct minimum height if plasma theme has a glow on the bottom
* Fixed parsing error in engine (thanks to Jan Petersen)

0.2:
* Improved internal data handling
* Fixed deletion of stock symbols
* Fixed wrong order after editing stocks
* Don't show changes if there aren't any
* Hide stock name if widget size < 120 pixel

0.1:
Initial release

8 years ago

mattepiu

--- CMakeLists.txt.orig 2009-01-26 00:20:38.000000000 +0100
+++ CMakeLists.txt 2009-01-26 00:20:50.000000000 +0100
@@ -2,7 +2,6 @@

find_package(KDE4 REQUIRED)
include(KDE4Defaults)
-find_package(Plasma REQUIRED)

add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
@@ -12,7 +11,7 @@
kde4_add_ui_files(stock_quote_SRCS plasma_stock_quote_config.ui)
kde4_add_plugin(plasma_applet_stock_quote ${stock_quote_SRCS})
target_link_libraries(plasma_applet_stock_quote
- ${PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})
+ ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KIO_LIBS})

install(TARGETS plasma_applet_stock_quote
DESTINATION ${PLUGIN_INSTALL_DIR})

Report

8 years ago

notz

it seems you have downloaded the 4.1 version...

Report

8 years ago

jpeterse

Hi

Great plasmoid - I love it.
It does appear to have a small bug though.
It will not display the stock price for NetGear (NTGR). It just keeps displaying "Waiting for data..."

Here's the output from plasmoidviewer:

plasmoidviewer(20034) StocksEngine::StocksEngine: Created StocksEngine instance
plasmoidviewer(20034) Stocks::init: Loaded stocks dataEngine.
plasmoidviewer(20034) StocksEngine::sourceRequestEvent: name=' "NTGR" '
plasmoidviewer(20034) Stocks::sltNewSource: source = "NTGR"
plasmoidviewer(20034) StocksEngine::updateSourceEvent: GET "/d/quotes.csv?f=snl1d1t1c1ohgv&e=.csv&s=NTGR"
plasmoidviewer(20034) Stocks::paintInterface: Number of Stocks to draw: 1
plasmoidviewer(20034) Stocks::paintInterface: Number of Stocks to draw: 1
plasmoidviewer(20034) StocksEngine::sltRequestFinished: Got "NTGR" : ""NTGR","NETGEAR, Inc.",11.63,"1/13/2009","12:59pm",+0.05,11.54,11.69,11.42,68011
"
plasmoidviewer(20034) StocksEngine::parseCSVLine: 0 : ""NTGR""
plasmoidviewer(20034) StocksEngine::parseCSVLine: 1 : ""NETGEAR"
plasmoidviewer(20034) StocksEngine::parseCSVLine: 2 : " Inc.""
plasmoidviewer(20034) StocksEngine::parseCSVLine: 3 : "11.63"
plasmoidviewer(20034) StocksEngine::parseCSVLine: 4 : ""1/13/2009""
plasmoidviewer(20034) StocksEngine::parseCSVLine: 5 : ""12:59pm""
plasmoidviewer(20034) StocksEngine::parseCSVLine: 6 : "+0.05"
plasmoidviewer(20034) StocksEngine::parseCSVLine: 7 : "11.54"
plasmoidviewer(20034) StocksEngine::parseCSVLine: 8 : "11.69"
plasmoidviewer(20034) StocksEngine::parseCSVLine: 9 : "11.42"
plasmoidviewer(20034) StocksEngine::parseCSVLine: 10 : "68011
"
OldValue: 1.00, Value: 0.00, Change: 0.00, PercentChange 0.00%
plasmoidviewer(20034) StocksEngine::parseCSVLine: Calling DataEngine::setData for source "NTGR"
plasmoidviewer(20034) Stocks::dataUpdated: source = "NTGR"
plasmoidviewer(20034) Stocks::dataUpdated: Updating Value = 0
plasmoidviewer(20034) Stocks::paintInterface: Number of Stocks to draw: 1


Looks like maybe the "," in the company name is causing the issue?

Report

8 years ago

buschmann23

I have build packages for openSUSE 10.3 and newer, you can find them here:

http://software.opensuse.org/search?baseproject=ALL&p=1&q=plasmoid-stocks

Report

8 years ago

mattepiu

Is it possible to keep last data until new data is downloaded? I'm not 100% of the time connected to the web (both desktop and notebook) and it would help to keep the data instead than havinf the "download" message.

Obviously this feature would be useful only if we could have a timestamp of the last values read...

Report

8 years ago

ocilent1

Thanks for this great plasmoid! Its one of my favourite new additions to my plasma desktop :-)

I have a feature request, is it possible to add a configurable backend so that it could source data from either finance.yahoo.com or finance.google.com?

Report

8 years ago

kappa01

I installed w/ no problem on kubuntu.

How do I get the widget to automatically update quotes? The displayed quote remains static from the time I add the ticker symbol via the settings dialog.

Also, removing a ticker from the settings dialog doesn't remove it from the displayed window.

Report

8 years ago

notz

hy, in 0.2 the deletion bug is fixed.
i have installed the plasmoid on 3 pc's, and on all the values are updated correctly (every 10 minutes).

you should give the plasmoidviewer a try. here you will get some debugging output:
"plasmoidviewer plasma_applet_stocks"

notz

Report

Supporters

Recent Donations

Be the first to donate
Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 63%
63.00 Likes
37 Dislikes

0 Supporters for Stocks:

Recent Donations:

Be the first to donate
show all
Details
version
0.4
updated Aug 20 2009
added Aug 12 2008
downloads
page views 292
support notz
For The Product
Stocks
5 - 10 - 25 - 50 - 100 - 200 - 500