3 New Messages
Digest #2858
Messages
Thu Nov 14, 2013 2:34 pm (PST) . Posted by:
racecar00
Thank you, Randy.
---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.
---In smf_addin@yahoogrou
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.
Here's how to extract the five possible definitions of beta:
=RCHGetTableCell(
4,"Best-
=RCHGetTableCell(
4,"Standard Index",
=RCHGetTableCell(
4,"Standard Index",
=RCHGetTableCell(
4,"Standard Index",
=RCHGetTableCell(
4,"Standard Index",
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.
http://performance.
http://performance.
http://performance.
http://performance.
http://performance.
http://performance.
http://performance.
http://portfolios.
http://performance.
http://performance.
http://performance.
http://performance.