<br><br><div class="gmail_quote">On Sat, May 22, 2010 at 8:27 AM, Fernando Vilas <span dir="ltr"><<a href="mailto:fvilas@iname.com">fvilas@iname.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Friday, May 21, 2010 22:58:57 Brian Cappello wrote:<br>
[...]<br>
<div class="im">><br>
> I'm not familiar with Beta, but I can definitely add it. It's not provided<br>
> in the CSV so I'm going to need to do some research into regular<br>
> expressions/parsing websites, but that's fine, because it's needed for the<br>
> majority of these options.<br>
><br>
<br>
</div>In that case, I would just start with what is in the CSV, and make it work.<br>
Once that is done, then progress to more complexity, so design it to support<br>
both methods from the start. As Thomas mentioned, there are several examples<br>
of parsing webpages using a regex in the KMM WebPriceQuote object.<br></blockquote><div><br>Sounds like a great suggestion to me! :) <br><br>On the note of Beta, I did some more research into this, and it's definitely something I think the code should support... I owe you a beer or two :) Initially, I'm fine with just ripping it from Key Statistics, but, in the long run I think I'd like to calculate it manually because it's one of those cases where there are more than a few unknowns wrt to how the value was calculated that make values acquired from different sources non-comparable. For example, some institution might want to use weekly or even monthly data as their input because said data is closest to their time-frame of interest. Meanwhile, somebody who only holds investments for 3-6 months would probably prefer the Beta be calculated based upon daily data. It's also (apparently) typical to use the S&P500 as the volatility baseline, but this is probably not the best indication of "normal volatility" for people with international portfolios, especially those involving emerging markets, so that's another reason to support the manual calculation of Beta...<br>
<br>Soruce: <a href="http://www.investopedia.com/articles/financial-theory/09/calculating-beta.asp">http://www.investopedia.com/articles/financial-theory/09/calculating-beta.asp</a><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Thanks,<br>
Fernando Vilas<br>
<a href="mailto:fvilas@iname.com">fvilas@iname.com</a><br>
</div></div><br>_______________________________________________<br>
Kde-finance-apps mailing list<br>
<a href="mailto:Kde-finance-apps@kde.org">Kde-finance-apps@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-finance-apps" target="_blank">https://mail.kde.org/mailman/listinfo/kde-finance-apps</a><br>
<br></blockquote></div><br>