Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.4: Use Google Finance for the Stocks widget' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Use Google Finance for the Stocks widget
Authored by: EdwardW on Jun 30, '06 07:30:02PM

Nice hint. I should point out that if you have mutual funds listed in your portfolio, this widget sends the string "MUTUAL:XXXXX" to Quote.com (where XXXXX is the symbol of the fund). However, neither Google nor Yahoo Finance recognizes this syntax. This requires one more little change to Stocks.js.

In the function generateSymbolStringFromStrings, I change the line:
if (exchange.length > 0) to the following:
if (exchange.length > 0 && exchange != "MUTUAL")



[ Reply to This | # ]