
Stocks
Source (link to git-repo or to original if based on someone elses unmodified work):
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.
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
Ratings & Comments
8 Comments
--- 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})
it seems you have downloaded the 4.1 version...
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?
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
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...
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?
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.
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