Rabu, 20 November 2013

[smf_addin] Digest Number 2864

13 New Messages

Digest #2864
1b
Re: Moneycontrol Profit and loss by "Randy Harmelink" rharmelink
2a
2b
Re: Zacks Rank (element 848) by "Randy Harmelink" rharmelink
2c
3a
Re: Attention -- Earnings.com element updates by "Charles Johnson" chasjohn02
3b
Re: Attention -- Earnings.com element updates by "Randy Harmelink" rharmelink
4b
5a
5b
Re: Error / #Value! Issues by "Randy Harmelink" rharmelink

Messages

Tue Nov 19, 2013 6:48 am (PST) . Posted by:

vasim_07

Hi,


I wanted to get the profit and lose table (whole table) from the following link..


http://www.moneycontrol.com/financials/libertyshoes/consolidated-profit-loss/LS02 http://www.moneycontrol.com/financials/libertyshoes/consolidated-profit-loss/LS02



I tried,


=RCHGetHTMLTable(A1,A2,-1,"",1)

A1 = Link & A2 = Sales Turnover.



which results display on first row (not the entire table)
| Mar '12 | Mar '11 | Mar '10 |....


Any help to get the entire table please.


Tue Nov 19, 2013 8:26 am (PST) . Posted by:

"Randy Harmelink" rharmelink

You won't be able to use the RCHGetHTMLTable() function there. They don't
have the table properly coded in HTML. They have spacer rows with no ending
tag for the row. It looks like RCHGetTableCell() would work, to get the
individual cells. For example:

=RCHGetTableCell("
http://www.moneycontrol.com/financials/libertyshoes/consolidated-profit-loss/LS02",1,">Sales
Turnover")

There is an additional parameter for RCHGetHTMLTable() that I had played
around with at one point, to extract *rows* of a table instead of whole
tables. Then, the "pDir1" and "pDir2" parameters skip backwards and
forwards by rows instead of tables. If you use that parameter, you can
extract sections of the table by avoiding the improperly coded rows.

For example, you could array-enter this over a 6-column by 15-row range:

=RCHGetHTMLTable("
http://www.moneycontrol.com/financials/libertyshoes/consolidated-profit-loss/LS02",">Sales
Turnover",-1,"",15,1)

...and this over a 6-column by 23-row range:

=RCHGetHTMLTable("
http://www.moneycontrol.com/financials/libertyshoes/consolidated-profit-loss/LS02",">Operating
Profit",-1,"",23,1)

On Tue, Nov 19, 2013 at 7:12 AM, <vasim_07@yahoo.com> wrote:

>
> I wanted to get the profit and lose table (whole table) from the following
> link..
>
>
> http://www.moneycontrol.com/financials/libertyshoes/consolidated-profit-loss/LS02
>
> I tried,
>
> =RCHGetHTMLTable(A1,A2,-1,"",1)
> A1 = Link & A2 = Sales Turnover.
>
> which results display on first row (not the entire table)
> | Mar '12 | Mar '11 | Mar '10 |....
>
> Any help to get the entire table please.
>

Tue Nov 19, 2013 9:10 am (PST) . Posted by:

peteontheroad

I don't see any downloadable files from the link you gave me. http://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/24294 http://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/24294

I downloaded the add-in from the "Files" section of this group under "Add-in Files". If this is the old version then can we move it to the "Obsolete"; folder and replace it with the current version? Basically anyone who comes into this group is downloading the old add-in? http://groups.yahoo.com/neo/groups/smf_addin/files/Add-In%20Files



---In smf_addin@yahoogroups.com, <rharmelink@...> wrote:

I just tried it and it's working here.

What version of EXCEL are you using?

Do you have the updated element definitions from smf-elements-6.txt? See:

http://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/24294 http://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/24294

What do you get with:

=RCHGetElementNumber("Version&quot;)

=RCHGetElementNumber("P-URL",848)

=RCHGetElementNumber("MMM";,848)

=smfConvertData(smfstrExtr(smfGetTagContent("http://www.zacks.com/stock/quote/MMM/detailed-estimates http://www.zacks.com/stock/quote/MMM/detailed-estimates","p",-1,"Zacks Rank :"),": ","-"))

=smfGetTagContent("http://www.zacks.com/stock/quote/MMM/detailed-estimates http://www.zacks.com/stock/quote/MMM/detailed-estimates","p",-1,"Zacks Rank :")

=RCHGetTableCell("http://www.zacks.com/stock/quote/MMM/detailed-estimates http://www.zacks.com/stock/quote/MMM/detailed-estimates",1,">Premium Research",">Zacks Rank")

=smfConvertData(smfstrExtr(RCHGetWebData("http://www.zacks.com/stock/quote/MMM/detailed-estimates http://www.zacks.com/stock/quote/MMM/detailed-estimates","Zacks Rank :",30),":","-"))

On Wed, Nov 13, 2013 at 9:15 PM, <peteontheroad@... mailto:peteontheroad@...> wrote:

RCHGetelement 848 is definitely not working, it only returns errors. How can we fix this?







Tue Nov 19, 2013 9:41 am (PST) . Posted by:

"Randy Harmelink" rharmelink

Most of the recent changes are element definitions. They are not part of
the XLA file. I put them as separate files so they would be easier to
update.

I usually only update the "official"; ZIP file once or twice a year. I
prefer to be using the changes for a while before I feel comfortable with
widespread distribution.

All interim updates are in the "Works in Progress" folder of the FILES
area. If you always want to get the latest versions of everything, that's
the place to check out. It even has its own change log, so you can see if
you're interested in the changes.

On Tue, Nov 19, 2013 at 10:10 AM, <peteontheroad@yahoo.com> wrote:

>
> I don't see any downloadable files from the link you gave me.
> http://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/24294
>
> I downloaded the add-in from the "Files" section of this group under
> "Add-in Files". If this is the old version then can we move it to the
> "Obsolete"; folder and replace it with the current version? Basically
> anyone who comes into this group is downloading the old add-in?
> http://groups.yahoo.com/neo/groups/smf_addin/files/Add-In%20Files
>
>

Tue Nov 19, 2013 11:50 am (PST) . Posted by:

peteontheroad

Got it, Thank you for all you do for this group!



---In smf_addin@yahoogroups.com, <rharmelink@...> wrote:

Most of the recent changes are element definitions. They are not part of the XLA file. I put them as separate files so they would be easier to update.


I usually only update the "official"; ZIP file once or twice a year. I prefer to be using the changes for a while before I feel comfortable with widespread distribution.


All interim updates are in the "Works in Progress" folder of the FILES area. If you always want to get the latest versions of everything, that's the place to check out. It even has its own change log, so you can see if you're interested in the changes.

On Tue, Nov 19, 2013 at 10:10 AM, <peteontheroad@... mailto:peteontheroad@...> wrote:

I don't see any downloadable files from the link you gave me. http://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/24294 http://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/24294

I downloaded the add-in from the "Files" section of this group under "Add-in Files". If this is the old version then can we move it to the "Obsolete"; folder and replace it with the current version? Basically anyone who comes into this group is downloading the old add-in? http://groups.yahoo.com/neo/groups/smf_addin/files/Add-In%20Files http://groups.yahoo.com/neo/groups/smf_addin/files/Add-In%20Files








Tue Nov 19, 2013 9:35 am (PST) . Posted by:

"Charles Johnson" chasjohn02

Randy - Thanks for the update! 
The Zack's element numbers produce errors, e.g.
=RCHGetElementNumber("IBM";,849) "Error"

Thoughts?
Where should I post questions?
Thanks
 
Chuck Johnson
Cell: 520-904-8693
email: chasjohn02@yahoo.com

On Tuesday, November 5, 2013 1:42 PM, "rharmelink@gmail.com" <rharmelink@gmail.com> wrote:



I've updated the following files to the "Works in Progress" folder:

* @Change-log.html -- Shows a log of changes to the add-in since the last official release

* RCHGetElementNumber-Element-Definitions.xls -- The current documentation of element definitions, including the many recent changes. I've added a "Usage" column to indicate if an element is for Stocks ("S"), ETFs ("E"), and/or Mutual Funds ("F").

* smf-elements-8.txt -- Contains the updates of the earnings.com earnings announcement element definitions, #1286 thru #1400, with element definitions from Zacks. I replaced the old "Prev Year Actual" elements from earnings.com with the new "Reported Time" from Zacks. Otherwise, the elements mapped one-to-one. You could even open up the old earnings.com template to see the data for the new element definitions.

* SMF-Template-Zacks-Earnings-Annoucements.xls -- A new template, to display elements #1286 thru #1400 in context.
To install the updates to the element definitions, replace the smf-elements-8.txt in your SMF
add-in folder with this new file. Then, you'll either need to exit and
restart EXCEL, or run the smfForceRecalculation macro, in order for the
add-in to load the new definitions.
One thing that does concern me about the Zacks earnings announcement table is that the older quarters have an "Estimated EPS", but not a "Reported EPS". That seem a little strange to me.

These are not trivial extractions, since the data was extracted from JavaScript code. For example, the extraction formula for element #1287 looks something like:

=smfConvertData(smfstrExtr(smfstrExtr(smfWord(smfWord(","&smfstrExtr(smfGetTagContent("http://www.zacks.com/stock/research/IBM/earnings-announcements","script",-1,"Period Ending"),"""data""  : [ ","]"),1,"}"),4,","),": ","~"),"""",""""))

But once I got the pattern down, it went fairly quickly. :)

Tue Nov 19, 2013 9:45 am (PST) . Posted by:

"Randy Harmelink" rharmelink

What do you get for:

=RCHGetElementNumber("Version&quot;)
=smfGetAParms(849)
=RCHGetElementNumber("IBM";,849)
=RCHGetTableCell("
http://www.zacks.com/stock/research/IBM/brokerage-recommendations",1,">Average
Target Price")

What version of EXCEL are you running?

Can you see the data on this web page in IE?

http://www.zacks.com/stock/research/IBM/brokerage-recommendations

On Tue, Nov 19, 2013 at 10:35 AM, Charles Johnson <chasjohn02@yahoo.com>wrote:

>
> The Zack's element numbers produce errors, e.g.
> =RCHGetElementNumber("IBM";,849) "Error"
> Thoughts?
>

Tue Nov 19, 2013 10:30 am (PST) . Posted by:

racecar00

Do you happen to have the raw data URLs for stocks as well?


---In smf_addin@yahoogroups.com, <rharmelink@...> wrote:

The URL you are using *is* a dynamic web page, so you can't extract the data from there. By going over the JavaScript code, I've learned that MorningStar *does* keep the data on static pages, but then loads them onto the dynamic page. In this case, the data you want is on this page (assuming you want the 3-year beta):

http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=3&t=AFK http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=3&t=AFK


Here's how to extract the five possible definitions of beta:

=RCHGetTableCell("http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=3&t=AFK http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=3&t=AFK",
4,"Best-Fit Index","<tr","<tr")

=RCHGetTableCell("http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=3&t=AFK http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=3&t=AFK",
4,"Standard Index","<tr","<tr")

=RCHGetTableCell("http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=5&t=AFK http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=5&t=AFK",
4,"Standard Index","<tr","<tr")

=RCHGetTableCell("http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=10&t=AFK http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=10&t=AFK",
4,"Standard Index","<tr","<tr")

=RCHGetTableCell("http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=15&t=AFK http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=15&t=AFK",
4,"Standard Index","<tr","<tr")


My current status on extraction of ETF data from MorningStar has been to identify these pages as potential sources of raw data (either from their web page or because it is loaded onto a dynamic web page):

http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=3&t=AFK http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=3&t=AFK
http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=5&t=AFK http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=5&t=AFK
http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=10&t=AFK http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=10&t=AFK
http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=15&t=AFK http://performance.morningstar.com/RatingRisk/fund/mpt-statistics.action?y=15&t=AFK
http://performance.morningstar.com/RatingRisk/fund/volatility-measurements.action?y=3&t=AFK http://performance.morningstar.com/RatingRisk/fund/volatility-measurements.action?y=3&t=AFK
http://performance.morningstar.com/RatingRisk/fund/volatility-measurements.action?y=5&t=AFK http://performance.morningstar.com/RatingRisk/fund/volatility-measurements.action?y=5&t=AFK
http://performance.morningstar.com/RatingRisk/fund/volatility-measurements.action?y=10&t=AFK http://performance.morningstar.com/RatingRisk/fund/volatility-measurements.action?y=10&t=AFK
http://performance.morningstar.com/RatingRisk/fund/volatility-measurements.action?y=15&t=AFK http://performance.morningstar.com/RatingRisk/fund/volatility-measurements.action?y=15&t=AFK
http://portfolios.morningstar.com/fund/summary?t=AFK http://portfolios.morningstar.com/fund/summary?t=AFK
http://performance.morningstar.com/Performance/cef/premium-discount.action?t=AFK http://performance.morningstar.com/Performance/cef/premium-discount.action?t=AFK
http://performance.morningstar.com/Performance/cef/cost-risk.action?t=AFK http://performance.morningstar.com/Performance/cef/cost-risk.action?t=AFK
http://performance.morningstar.com/Performance/cef/performance-history.action?t=AFK http://performance.morningstar.com/Performance/cef/performance-history.action?t=AFK
http://performance.morningstar.com/Performance/cef/trailing-total-returns.action?t=AFK http://performance.morningstar.com/Performance/cef/trailing-total-returns.action?t=AFK
http://performance.morningstar.com/Performance/cef/standardized-returns.action?t=AFK http://performance.morningstar.com/Performance/cef/standardized-returns.action?t=AFK
http://portfolios.morningstar.com/fund/holdings?t=AFK http://portfolios.morningstar.com/fund/holdings?t=AFK
http://portfolios.morningstar.com/fund/ajax/holdings_tab?&t=AFK http://portfolios.morningstar.com/fund/ajax/holdings_tab?&t=AFK
http://portfolios.morningstar.com/fund/ajax/holdings_performanceChart?&t=AFK http://portfolios.morningstar.com/fund/ajax/holdings_performanceChart?&t=AFK
http://investors.morningstar.com/ownership/shareholders-overview.html?t=AFK http://investors.morningstar.com/ownership/shareholders-overview.html?t=AFK
http://investors.morningstar.com/ownership/equityOS-fund.html?t=AFK http://investors.morningstar.com/ownership/equityOS-fund.html?t=AFK
http://investors.morningstar.com/ownership/equityOS-inst.html?t=AFK http://investors.morningstar.com/ownership/equityOS-inst.html?t=AFK
http://investors.morningstar.com/ownership/owner-activity.html?t=AFK http://investors.morningstar.com/ownership/owner-activity.html?t=AFK
http://investors.morningstar.com/ownership/shareholders-concentrated.html?t=AFK http://investors.morningstar.com/ownership/shareholders-concentrated.html?t=AFK
http://investors.morningstar.com/ownership/shareholders-buying.html?t=AFK http://investors.morningstar.com/ownership/shareholders-buying.html?t=AFK
http://investors.morningstar.com/ownership/shareholders-selling.html?t=AFK http://investors.morningstar.com/ownership/shareholders-selling.html?t=AFK

On Wed, Nov 13, 2013 at 1:05 PM, <agelhausen@... mailto:agelhausen@...> wrote:

I am trying to capture risk metrics for ETFs using Morningstar&#39;s data. When using the RCHGetTableCell function & Morningstar I prefer to use the printreport pages but Morningstar seems to be trending towards the dynamic pages more and more.


I am trying to capture risj metrics using the following formula and link:


=RCHGetTableCell("http://performance.morningstar.com/funds/etf/ratings-risk.action?t= http://performance.morningstar.com/funds/etf/ratings-risk.action?t="&$C8,1,"AFK", "Beta")



I am having trouble with the syntax for identifying row and column - in this example, the beta metric for the ticker 'AFK'. There are three rows of data depending on benchmark preference.


Can you help me solve the syntax for using row 1 for ticker AFK (cell reference willbe used), column 4 titled "Beta".











Tue Nov 19, 2013 10:56 am (PST) . Posted by:

"Randy Harmelink" rharmelink

See:

http://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/22956

On Tue, Nov 19, 2013 at 11:30 AM, <agelhausen@gmail.com> wrote:

> Do you happen to have the raw data URLs for stocks as well?
>

Tue Nov 19, 2013 4:05 pm (PST) . Posted by:

racecar00

Thanks


---In smf_addin@yahoogroups.com, <rharmelink@...> wrote:

See:

http://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/22956 http://groups.yahoo.com/neo/groups/smf_addin/conversations/messages/22956

On Tue, Nov 19, 2013 at 11:30 AM, <agelhausen@... mailto:agelhausen@...> wrote:
Do you happen to have the raw data URLs for stocks as well?







Tue Nov 19, 2013 4:50 pm (PST) . Posted by:

joe.casino

Hi,


Just found this add-in today and it is absolutely incredible. Thank you for allowing me to take advantage of this remarkable resource. I've been working with it all day and I've been having a few problems that I cant solve.


I downloaded the add-in and placed them in a network folder (I attend a university with shared computers so I couldn't save it directly on the computer). I was able to manually place the add-in into excel as well as change the data link source on all of the templates I have tried to open. However on most, after data is done refreshing I get an "error" reading in all/most cells (ex. AdvFN - Financial Statements). Interestingly the Reuters Ratio file gave me some correct values, however I still got some "errors" and some "#value!" in the S&P column. Lastly, Yahoo financials was free of errors.


At this point I am just really confused and would appreciate any help/advice. I've tried changing the destination folder around / redownloaded it / restarted excel and nothing works. I even tried the version formula and got this as an answer:

Stock Market Functions add-in, Version 2.1.2012.12.29 (N:\RCH_Stock_Market_Functions-2.1.2012.12.29; 1)

Thank you all again for the incredible program and hopefully I'll be able to get this whole thing sorted out soon!

-Joe

Tue Nov 19, 2013 5:06 pm (PST) . Posted by:

"Randy Harmelink" rharmelink

There have been a lot of website changes and element definition changes
since the last official release. Take a look at the "Works in Progress"
folder for updates that have occurred. There is a change log there so you
can see what kinds of changes I've done. Note that there have been element
definition changes since the last ZIP file was created there, so just
getting the ZIP won't update everything. I've been on a tear lately trying
to fix all of the element definitions, for all of the changes. *whew*

Also, in the LINKS area of the group, you'll find notice of a change you
may need to make to your system Internet Options to make AdvFN work
properly.

There will probably be a massive update to AdvFN elements in the near
future, since they appear to be going to a completely new web page
structure.

There may be a problem with using the add-in from a network folder. Take a
look at the "Location Errors" item in the LINKS area of the group as well.
EXCEL may not resolve links when opening existing files, when the location
of the add-in is in a network folder. So, if you have a formula that has
paths to where the add-in is located, you'll need to manually resolve those.

On Tue, Nov 19, 2013 at 5:37 PM, <joe.casino@yahoo.com> wrote:

>
> Just found this add-in today and it is absolutely incredible. Thank you
> for allowing me to take advantage of this remarkable resource. I've been
> working with it all day and I've been having a few problems that I cant
> solve.
>
> I downloaded the add-in and placed them in a network folder (I attend a
> university with shared computers so I couldn't save it directly on the
> computer). I was able to manually place the add-in into excel as well as
> change the data link source on all of the templates I have tried to open.
> However on most, after data is done refreshing I get an "error" reading in
> all/most cells (ex. AdvFN - Financial Statements). Interestingly the
> Reuters Ratio file gave me some correct values, however I still got some
> "errors" and some "#value!" in the S&P column. Lastly, Yahoo financials was
> free of errors.
>
> At this point I am just really confused and would appreciate any
> help/advice. I've tried changing the destination folder around /
> redownloaded it / restarted excel and nothing works. I even tried the
> version formula and got this as an answer:
>
> Stock Market Functions add-in, Version 2.1.2012.12.29
> (N:\RCH_Stock_Market_Functions-2.1.2012.12.29; 1)
>
> Thank you all again for the incredible program and hopefully I'll be able
> to get this whole thing sorted out soon!
>

Tue Nov 19, 2013 9:36 pm (PST) . Posted by:

JCHyjun

Thank you, Randy!
I hope they finish soon.



---In smf_addin@yahoogroups.com, <rharmelink@...> wrote:

When I did AdvFN elements, I only did the quarterly and annual financials pages. I didn't do the "company data" page.


The old URL structure for getting company name would be:

=RCHGetTableCell("http://www.advfn.com/p.php?pid=financials&symbol=MMM http://www.advfn.com/p.php?pid=financials&symbol=MMM",1,"Company Name:")


The new URL structure would be:

=RCHGetTableCell("http://www.advfn.com/exchanges/NYSE/MMM/financials http://www.advfn.com/exchanges/NYSE/MMM/financials",1,"Company Name:")


I don't know what it will be when we get to the "beta" web page they have designed.



On Mon, Nov 18, 2013 at 2:12 PM, <jchyjun@... mailto:jchyjun@...> wrote:

Thank you for SMF updates, they are very useful. I know that AdvFn.com created the mess, hopefully they stabilize their WWW site and it will be more SMF-friendly. AdvFn sometimes use "non-standard&quot; symbols, e.g. JWA instead of JW-A. Is it possible to retrieve company name from AdvFn.com for a given symbol (I didn't find such SMF element)?







Tidak ada komentar:

Posting Komentar