
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
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.
11 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
11 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
mattepiu
11 years ago
+++ 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
notz
11 years ago
Report
jpeterse
12 years ago
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
buschmann23
12 years ago
http://software.opensuse.org/search?baseproject=ALL&p=1&q=plasmoid-stocks
Report
mattepiu
12 years ago
Obviously this feature would be useful only if we could have a timestamp of the last values read...
Report
ocilent1
12 years ago
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
kappa01
12 years ago
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
notz
12 years ago
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