Senin, 12 Agustus 2013

[smf_addin] Digest Number 2731

8 New Messages

Digest #2731

Messages

Sun Aug 11, 2013 8:54 am (PDT) . Posted by:

"itrade4dough" itrade4dough

It looks like ADvFN site is working again, but the getadvfnelement is still not working, as it is still displaying the last 5 qtrs only.

Any ideas?

Thanks

--- In smf_addin@yahoogroups.com, Randy Harmelink <rharmelink@...> wrote:
>
> You can get the full history on the company with:
>
> http://ih.advfn.com/common/financial/NYSE/alcoa-AA/full-financials?isfull=1&bsfull=1&cffull=1
>
> However, I see nothing for quarterly financial statements. Just the annuals.
>
> On Fri, Aug 9, 2013 at 9:27 AM, Russell M <ru88ell@...> wrote:
>
> > As I have mentioned in a previous post, ADVFN is working on it (their data
> > feed vendor upgraded to a new platform).
> >
> > This is ADVFN's latest response (August 6th):
> >
> > "Our first prototype of the new financials was release this morning. It is
> > not available in a menu, but here is a link to the page:
> >
> > NYSE:AA - Alcoa
> > http://ih.advfn.com/common/financial/NYSE/alcoa-AA/full-financials
> >
> > NYSE:IBM - IBM
> >
> > http://ih.advfn.com/common/financial/NYSE/ibm-international-business-machines-IBM/full-financials
> >
> > I tried nasdaq companies but the feed does not seem to be working for
> > these. To see financials for NYSE companies, change the url symbol just
> > before /full-financials. Hope this alpha release helps. We are working to
> > get the rest of the financials running soon as we can."
> >
> > I have not heard anything else since then.
> >
>

Sun Aug 11, 2013 9:32 am (PDT) . Posted by:

"itrade4dough" itrade4dough

new url:

http://ih.advfn.com/p.php?pid=financials&btn=istart_date&ctl00%24sb3%24tbq1=Get+Quote&as_values_IH=&ctl00%24sb3%24stb1=Search+iHub&mode=quarterly_reports&symbol=NASDAQ%3ATSLA&istart_date=7

--- In smf_addin@yahoogroups.com, "itrade4dough&quot; <itrade4dough@...> wrote:
>
> It looks like ADvFN site is working again, but the getadvfnelement is still not working, as it is still displaying the last 5 qtrs only.
>
> Any ideas?
>
> Thanks
>
> --- In smf_addin@yahoogroups.com, Randy Harmelink <rharmelink@> wrote:
> >
> > You can get the full history on the company with:
> >
> > http://ih.advfn.com/common/financial/NYSE/alcoa-AA/full-financials?isfull=1&bsfull=1&cffull=1
> >
> > However, I see nothing for quarterly financial statements. Just the annuals.
> >
> > On Fri, Aug 9, 2013 at 9:27 AM, Russell M <ru88ell@> wrote:
> >
> > > As I have mentioned in a previous post, ADVFN is working on it (their data
> > > feed vendor upgraded to a new platform).
> > >
> > > This is ADVFN's latest response (August 6th):
> > >
> > > "Our first prototype of the new financials was release this morning. It is
> > > not available in a menu, but here is a link to the page:
> > >
> > > NYSE:AA - Alcoa
> > > http://ih.advfn.com/common/financial/NYSE/alcoa-AA/full-financials
> > >
> > > NYSE:IBM - IBM
> > >
> > > http://ih.advfn.com/common/financial/NYSE/ibm-international-business-machines-IBM/full-financials
> > >
> > > I tried nasdaq companies but the feed does not seem to be working for
> > > these. To see financials for NYSE companies, change the url symbol just
> > > before /full-financials. Hope this alpha release helps. We are working to
> > > get the rest of the financials running soon as we can."
> > >
> > > I have not heard anything else since then.
> > >
> >
>

Sun Aug 11, 2013 1:07 pm (PDT) . Posted by:

"Randy Harmelink" rharmelink

Not working here. As before, it may take several days for the changes to
get rolled out to all servers.

On Sun, Aug 11, 2013 at 8:54 AM, itrade4dough <itrade4dough@yahoo.com>wrote:

> It looks like ADvFN site is working again, but the getadvfnelement is
> still not working, as it is still displaying the last 5 qtrs only.
>
> Any ideas?
>

Sun Aug 11, 2013 1:18 pm (PDT) . Posted by:

"Randy Harmelink" rharmelink

I don't get there if I go through the AdvFN web site.

However, if I use the "smf-AdvFN-Prefix.txt" file and set the prefix to
"ih", the element numbers appear to work again.

On Sun, Aug 11, 2013 at 9:32 AM, itrade4dough <itrade4dough@yahoo.com>wrote:

> new url:
>
>
> http://ih.advfn.com/p.php?pid=financials&btn=istart_date&ctl00%24sb3%24tbq1=Get+Quote&as_values_IH=&ctl00%24sb3%24stb1=Search+iHub&mode=quarterly_reports&symbol=NASDAQ%3ATSLA&istart_date=7
>

Sun Aug 11, 2013 4:23 pm (PDT) . Posted by:

"itrade4dough" itrade4dough


I would like to take a stab at getting it to work by changing the prefix as you suggested, so that I could finish the project I was working on before the site change.

So would the change have to be done in the modgetadvfnelement macro itself? Is that done in the "Sub" portion only? If you wouldn't mind pointing me in the right direction, maybe the temp fix could help me get this project done.

Thanks a bunch.

--- In smf_addin@yahoogroups.com, Randy Harmelink <rharmelink@...> wrote:
>
> I don't get there if I go through the AdvFN web site.
>
> However, if I use the "smf-AdvFN-Prefix.txt" file and set the prefix to
> "ih", the element numbers appear to work again.
>
> On Sun, Aug 11, 2013 at 9:32 AM, itrade4dough <itrade4dough@...>wrote:
>
> > new url:
> >
> >
> > http://ih.advfn.com/p.php?pid=financials&btn=istart_date&ctl00%24sb3%24tbq1=Get+Quote&as_values_IH=&ctl00%24sb3%24stb1=Search+iHub&mode=quarterly_reports&symbol=NASDAQ%3ATSLA&istart_date=7
> >
>

Sun Aug 11, 2013 4:40 pm (PDT) . Posted by:

"itrade4dough" itrade4dough

OOPS, got ahead of myself with last post.
I created a txt file to add the prefix, which is far easier. I'm new here, didn't realize how well thought out your creation is.

Truly beautiful! Thanks Randy

--- In smf_addin@yahoogroups.com, Randy Harmelink <rharmelink@...> wrote:
>
> I don't get there if I go through the AdvFN web site.
>
> However, if I use the "smf-AdvFN-Prefix.txt" file and set the prefix to
> "ih", the element numbers appear to work again.
>
> On Sun, Aug 11, 2013 at 9:32 AM, itrade4dough <itrade4dough@...>wrote:
>
> > new url:
> >
> >
> > http://ih.advfn.com/p.php?pid=financials&btn=istart_date&ctl00%24sb3%24tbq1=Get+Quote&as_values_IH=&ctl00%24sb3%24stb1=Search+iHub&mode=quarterly_reports&symbol=NASDAQ%3ATSLA&istart_date=7
> >
>

Sun Aug 11, 2013 4:50 pm (PDT) . Posted by:

"Randy Harmelink" rharmelink

What you need to do is create a file in the same folder as add-in, called
"smf-AdvFN-Prefix.txt", All the file should contain is the two letters
"ih". You can create the file with Notepad. This file overrides the add-in
default, and the add-in will then use the "ih" version of the URL instead
of the default "www" version of the URL.

Either exit and restart EXCEL, or run the smfForceRecalculation macro to
have it pick up the new prefix.

Just delete the file when you want to go back to the default.

I added this as an external file, so people wouldn't need to go in and edit
the VBA every time a new release was available.

On Sun, Aug 11, 2013 at 4:23 PM, itrade4dough <itrade4dough@yahoo.com>wrote:

>
> I would like to take a stab at getting it to work by changing the prefix
> as you suggested, so that I could finish the project I was working on
> before the site change.
>
> So would the change have to be done in the modgetadvfnelement macro
> itself? Is that done in the "Sub" portion only? If you wouldn't mind
> pointing me in the right direction, maybe the temp fix could help me get
> this project done.
>

Sun Aug 11, 2013 2:11 pm (PDT) . Posted by:

"Jacob Jose" pepecan47

Randy, all I can say, You are amazing!!!
 
Thank you very much!!

Regards,
Jose L. Jacob

________________________________
From: Randy Harmelink <rharmelink@gmail.com>
To: smf_addin@yahoogroups.com
Sent: Saturday, August 10, 2013 3:03:03 PM
Subject: Re: [smf_addin] Getting last dividend increase from yahoo history

 
Yes, the formula in B2 needs to be array-entered into the single cell. It is an array-processing formula -- note the B12:B142 and B13:B143 ranges. When the formula is array entered, it will cycle through those two arrays, doing all the necessary comparisons to see if the dividend changed.  That is, B12 vs B13, then B13 vs B14, ..., and finally B142 vs B143. If the comparison is true it sets the result of that comparison to the row number. Otherwise, is sets the result to 999. Then the MIN() function finds the minimum row number, which would be the most recent dividend change.

If you don't array-enter it, it will give you a #VALUE error.

Yes, the RCHGetYahooHistory() function is also array-entered. But over a range. And for a different purpose.

If you really want to see what is happening internally, array-enter the inner part of the formula:

=IF(B12:B142>B13:B143,ROW(B12:B142),999)

...over the C12:C142 range. That will show you the result of each individual comparison the formula is doing, showing either 999 or the row number, depending on whether there was a dividend increase. But I just want a single value, so I use a MIN() function on that array. Since the MIN() returns a single value, I only need to enter it into a single cell. However, I still need the function to do the array processing, so I need to array-enter it into that single cell.

Date
Dividends
Increase?
2013-05-22 $0.64 999
2013-02-13 $0.64 13
2012-11-20 $0.59 999
2012-08-22 $0.59 999
2012-05-16 $0.59 999
2012-02-15 $0.59 17
2011-11-22 $0.55 999
2011-08-17 $0.55 999
2011-05-18 $0.55 999
2011-02-16 $0.55 21
2010-11-17 $0.53 999
2010-08-18 $0.53 999
2010-05-19 $0.53 999
2010-02-17 $0.53 25
2009-11-18 $0.51 999
2009-08-19 $0.51 999
Array-entered formulas of this type can be extremely powerful. And frustrating.

On Sat, Aug 10, 2013 at 9:26 AM, Jacob Jose <pepecan47@yahoo.ca> wrote:
Hi Randy, I don't know how to tell you how grateful I am.
>
>
>I am using MMM as a ticker. When I enter in B2 the formula =MIN(IF(B12:B142>B13:B143,ROW(B12:B142),999))
>I get #VALUE!
>I don't undertand what you mean by "needs to be array-entered". Are you referring to the cell B2?
>I use =RCHGetYahooHistory(A2,,,,,,,"v") and it is array entered. Is this giving me the dividends with stock splits?

Tidak ada komentar:

Posting Komentar