PDA

View Full Version : Stock Manager Plugin for SageTV7


jvl711
05-28-2010, 09:08 AM
This plugin provides stock quote data from yahoo finance. It utilizes the csv data to provide delayed stock quotes. This is a port from JVL Stock Manager for SageMC.

Use:
Adding and removing of stocks is done from the options menu. If you are removing a stock then hover of the stock you would like to remove and enter the options command. You will be given an option to remove the highlighted stock. To refresh stock data enter the options command and press the button to refresh stock data.

http://forums.sagetv.com/forums/attachment.php?attachmentid=10360&stc=1&d=1275059185

http://forums.sagetv.com/forums/attachment.php?attachmentid=10361&stc=1&d=1275059185

Version History:

6/16/2008 - Version 1.0

Initial Release


10/29/2008 - Version 2.0

Added auto refresh with an adjustable time frame between 30 and 1000 secs
Updated look and feel of main stock page
Added % Change column to the main stock page
Added quote date column to the main stock page
Added number formatting to all of the number columns
Revamped stock info download to happen in background
Fixed vertical scroll bar on the main stock page
Added left as back to the main stock page
Added a detail page that shows all of the stocks values on one page
Added news headlines from the yahoo rss feeds


5/28/2010 Version 2.1

Ported Stock Manager to SageTV7
Removed Auto Refresh functionality for now.


6/1/2010 Version 2.1.1

Increased the decimal places from 2 to 4

Brent94Z
05-31-2010, 08:51 AM
Thanks! Nice plug-in!

I noticed that you are using Yahoo Finance for your data. Originally some of my pink sheet stocks didn't work. Just an FYI for others, you need to add .pk to the end :)

And, hopefully a minor request but related to the above, is there anyway that you can check to see if there are actual numbers besides "0" out 4 decimal places and if there is to include them? On some of my stocks that are under a penny, you have it limited to show just two decimal places so the stocks are just showing as "0.00" in your plugin :) Also, for these penny stocks, the amount they change will likely be out 3 or 4 decimal places. For the main screen this is showing as an exponent... It would be nice to have this go out 4 decimal places as well.

Would the above be possible? Would love to use this but I have a few penny stocks and this isn't working well for those :)

Thanks!

jvl711
05-31-2010, 03:34 PM
Thanks! Nice plug-in!

I noticed that you are using Yahoo Finance for your data. Originally some of my pink sheet stocks didn't work. Just an FYI for others, you need to add .pk to the end :)

And, hopefully a minor request but related to the above, is there anyway that you can check to see if there are actual numbers besides "0" out 4 decimal places and if there is to include them? On some of my stocks that are under a penny, you have it limited to show just two decimal places so the stocks are just showing as "0.00" in your plugin :) Also, for these penny stocks, the amount they change will likely be out 3 or 4 decimal places. For the main screen this is showing as an exponent... It would be nice to have this go out 4 decimal places as well.

Would the above be possible? Would love to use this but I have a few penny stocks and this isn't working well for those :)

Thanks!

I will look into the decimal places for you. As long as I can make it fit comfortably I will add it.

Brent94Z
05-31-2010, 04:13 PM
That would be great! Thanks!

xxLJLxx
05-31-2010, 10:36 PM
I got this going tonight and just wanted to say thanks. It looks very good and I love how I have access to charts and the detailed info. Good job! :thumb:

tmiranda
06-01-2010, 06:04 AM
On some of my stocks that are under a penny ...

Save your money and go to Vegas, a least you'll have some fun losing it :D

Brent94Z
06-01-2010, 07:25 AM
Save your money and go to Vegas, a least you'll have some fun losing it :D

That hurt :D I've done good and bad but yeah, definitely is a bit like Vegas :)

tmiranda
06-01-2010, 09:29 AM
My real life job is a Financial Advisor, so I couldn't help sticking that comment in ;) The way things are going I may be better of advising all my clients to go to Vegas. But then again, my Berkshire Hathaway is doing just fine. :)

jvl711
06-01-2010, 05:26 PM
Thanks! Nice plug-in!

I noticed that you are using Yahoo Finance for your data. Originally some of my pink sheet stocks didn't work. Just an FYI for others, you need to add .pk to the end :)

And, hopefully a minor request but related to the above, is there anyway that you can check to see if there are actual numbers besides "0" out 4 decimal places and if there is to include them? On some of my stocks that are under a penny, you have it limited to show just two decimal places so the stocks are just showing as "0.00" in your plugin :) Also, for these penny stocks, the amount they change will likely be out 3 or 4 decimal places. For the main screen this is showing as an exponent... It would be nice to have this go out 4 decimal places as well.

Would the above be possible? Would love to use this but I have a few penny stocks and this isn't working well for those :)

Thanks!

Change has been submitted. It should be available in a little while from the plugin manager. Let me know if I missed anything.

Thanks,
Josh

Brent94Z
06-01-2010, 06:43 PM
Spectacular, Josh!!! Now all my stocks work fabulously :D

Thanks very much for taking the time to do this... very much appreciated!

This works great as is for me. If though, it isn't too much trouble (and even possible?), when you update it again in the news section the date being right before the headline (even on the same line like... date - headline) would be a nice enhancement I think.

Thanks much for your work on this and making it available for all of us!

alland
06-25-2010, 05:51 AM
Looks great !

One small problem I have is that using the HD200 remote keys, there is no option to type in some symbols such as the = which is used for a lot of currency cross rates.

I was able to do this on the server UI, but not showing up on the HD200's - are the portfolios unique to each extender ? If they are stored in text somewhere I could always edit them directly as a workaround.

Allan

alland
06-29-2010, 03:55 AM
Looks great !

One small problem I have is that using the HD200 remote keys, there is no option to type in some symbols such as the = which is used for a lot of currency cross rates.

I was able to do this on the server UI, but not showing up on the HD200's - are the portfolios unique to each extender ? If they are stored in text somewhere I could always edit them directly as a workaround.

Allan


Ok, so found that the stock list is held in each of the clients file for the extenders. Editing it there allows me to add the other stock symbols, but would be nice if there was a shared repository for all the extenders and clients.

pjpjpjpj
09-22-2010, 05:39 AM
So it appears that the Dow Jones link is no longer working. For several days, the "^DJI" has given the little "failed" symbol. Anyone seeing the same thing?

markds
09-22-2010, 12:55 PM
same here. it's been over a week. ^DJI is still showing in the yahoo finance stuff but getting no quote in sage, v7 beta nor v6.

have tried symbol delete and putting it back to no avail.

DMT
09-22-2010, 01:00 PM
Try INDU

Cheers!

markds
09-22-2010, 01:16 PM
thanks.

pjpjpjpj
09-22-2010, 06:32 PM
Since I installed the new HD300, I had to redo my list of stocks. Some others are not working either (besides just ^DJI).

Odd.

jvl711
09-22-2010, 07:06 PM
Since I installed the new HD300, I had to redo my list of stocks. Some others are not working either (besides just ^DJI).

Odd.

Stocks are configured separately for each client. When you add a new client you will need to re-add your stock symbols.

I am not sure why the ^DJI symbol stopped working. Something seems to have changed on the yahoo side. I have not upgraded anything on my side for a while, and a once working setup is now not working??? I will give it a few days and see if it starts to work again. If not I may need to make some sort of change to the stock quote library. It is odd that the news feeds and the charts are still working even though the quote is not returning.

Could you give me some other examples besides an index that is not working. I will see if I can find a common theme.

pjpjpjpj
09-23-2010, 10:11 AM
Stocks are configured separately for each client. When you add a new client you will need to re-add your stock symbols.

I am not sure why the ^DJI symbol stopped working. Something seems to have changed on the yahoo side. I have not upgraded anything on my side for a while, and a once working setup is now not working??? I will give it a few days and see if it starts to work again. If not I may need to make some sort of change to the stock quote library. It is odd that the news feeds and the charts are still working even though the quote is not returning.

Could you give me some other examples besides an index that is not working. I will see if I can find a common theme.
Yeah, I knew that it was "per client"... I didn't explain myself well there...:p

I guess I was thinking that stocks that were working before don't seem to be working now, but I have no hard proof of that. It's also possible that these stocks work sometimes, and other times they don't, regardless of client, or when they were added. Anyway, one that I entered that did not work was "MMM".

jvl711
09-23-2010, 03:25 PM
Yeah, I knew that it was "per client"... I didn't explain myself well there...:p

I guess I was thinking that stocks that were working before don't seem to be working now, but I have no hard proof of that. It's also possible that these stocks work sometimes, and other times they don't, regardless of client, or when they were added. Anyway, one that I entered that did not work was "MMM".

Unfortunately it seems that yahoo's quote service is not returning for symbol ^DJI. I do not know if they are trying to phase it out, or if there is some other reason it is not working, but I was not able to manually get a quote back from yahoo using there csv download page. The Stock Manager program is working properly, it just looks like there is some issues with yahoos service.

markds
09-23-2010, 03:55 PM
as DMT above pointed out
INDU (for djia) is working with the stock manager plugin

pjpjpjpj
02-09-2012, 09:05 AM
I don't know if anyone is still paying attention to this plugin - I hadn't checked mine in a while - and I still can't get the Dow to show up, and it doesn't seem to update automatically when I first click in (as I thought it used to do).

The initial "^DJI" that comes as a default does not work, and the suggested replacement "INDU" doesn't work for me either. Does it work for anyone else? Also, what are people using for NASDAQ and S&P500?

Curious to hear if others are still using this with no issues.

tmiranda
02-09-2012, 11:09 AM
I don't know if anyone is still paying attention to this plugin - I hadn't checked mine in a while - and I still can't get the Dow to show up, and it doesn't seem to update automatically when I first click in (as I thought it used to do).

The initial "^DJI" that comes as a default does not work, and the suggested replacement "INDU" doesn't work for me either. Does it work for anyone else? Also, what are people using for NASDAQ and S&P500?

Curious to hear if others are still using this with no issues.

I'm not using this plugin but you should be able to use:

Dow .INDU (note the dot)
S&P .SPX or .SPXUT
NASDAQ COMPO

markds
02-25-2012, 06:15 PM
All the usual(s) for the dow jones indus av do not work (INDU, .IMDU, ^DJA, ^DJIA, ^DJI2MN). This all has to do with the licensing agreement that the NYSE wanted to enforce for each and every user of the index being pushed into any ticker service. It was the reason we did not see the MSN stock ticker that we had in Vista and Win7 Beta make it into the Win7 RTM.

The work around is to use the closest most active futures contract from the CBOT.
Currently March. DJH12.CBT (H being Mar - 12 being year).

The most active(s) during the trading year are Mar (H) Jun (M) Sep (U) and Dec (Z). It will not be the same number as the cash index but will track the relative movements. The rest of the months alphabet symbols can be had on any futures information type web page but the closest month to expiration is not the most active.