Kamis, 19 September 2013

[smf_addin] Digest Number 2777

7 New Messages

Digest #2777
2a
Turn Off Auto Sort by managerisk77
2b
Re: Turn Off Auto Sort by "Randy Harmelink" rharmelink
3a
Re: historical stock prices by "lawrence.leesh" lawrence.leesh
4a
smfpricesbetween by "Christopher" jcredline
4b
Re: smfpricesbetween by "Randy Harmelink" rharmelink

Messages

Wed Sep 18, 2013 7:48 am (PDT) . Posted by:

dmatu2000


I was up late last night and made some progress




The info that bushpilote provided helped. However, I am unable to
retrieve anything prior to 2012 for the financial statements. And
I am unable to retrieve anything prior to 2009 for the ratios.





Replying to what bushpilote said here: "In ADVFN's beta version
access to a company's financial data requires both the company
name (the name they have in their database) and ticker along
with the exchange ticker symbol."




After poking around, I've been able to get this path to work:

http://www.advfn.com/common/financial/"&Exchange&"/company-"&Tick\
er&"/full-financials?isfull=1&bsfull=1&cffull=1




Meaning the company name is not required as long as there is a
placeholder.






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


yweinstock your work is superb.





Did you have any luck with bushpilote&#39;s suggestions? I've been
trying to get it to work but still having issues.



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


Does anyone have an update on ADVFN? Are they still working on
their layout?



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





yweinstock your great work on the new ADVFN financial template is
not all for not. The reason for the errors is that in both the
annual and quartely data the url's are incorrect.




To pull in the ANNUAL data for microsoft replace in the
RCHGetTableCell formula
"http://www.advfn.com/common/financial/"&Exchange&&quot;/"&TickerADVFN&#92;
&"/financials?btn=annual_reports&mode=company_data&isfull=1&bsful&#92;
l=1&cffull=1&effull=1&vrfull=1&grfull=1&fhfull=1&prfull=1" with "




"http://www.advfn.com/common/financial/NASDAQ/microsoft-MSFT/full&#92;
-financials?isfull=1&bsfull=1&cffull=1"




and for the QUARTELY data replace
"http://www.advfn.com/exchanges/"&Exchange&&quot;/"&Ticker&"/financial&#92;
s?btn=annual_reports&mode=company_data&isfull=1&bsfull=1&cffull=1\
&effull=1&vrfull=1&grfull=1&fhfull=1&prfull=1&pm=Q"

with
"http://www.advfn.com/common/financial/NASDAQ/microsoft-MSFT/full&#92;
-financials?isfull=1&bsfull=1&cffull=1&pm=Q"




.....leave the remaining content of the RCHGetTableCell formula
as is in both cases.




Replacing "microsoft-MSFT" with "intel-INTC" will get you Intel's
financials. For IBM's financials you replace NASDAQ with NYSE and
"microsoft-MSFT" with "ibm-international-business-machines-IBM".




In ADVFN's beta version access to a company's financial data
requires both the company name (the name they have in their
database) and ticker along with the exchange ticker symbol. It
remains to be seen if the need to use the company's name will be
the new norm once they go live with their redesigned website.




Hope this helps.


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


Yeah.... Looks like I spoke too soon.

The spreadsheet returns errors now as the site reverted to the
old structure. Perhaps we caught a glimpse of an unintended
early release. Guess it's back to the waiting game..


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

Exactly. They don't seem to have their act together at all.

Makes me have second thoughts about the quality of the data!

On Wed, Sep 11, 2013 at 10:36 AM, <petekoch@...
<https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=petekoch@...>
> wrote:

It appears that AdvFN is going to be day-to-day for a while.
Consider any changes you make to be temporary.


Wed Sep 18, 2013 11:37 pm (PDT) . Posted by:

john_babcock_vc


I was impressed with yweinstock&#39;s work but found that ADVFN had
changed their structure again, making the URLs not work. I took
his spreadsheet and updated it to work with the ADVFN's new
structure. I left the URL in one cell so that if they change it
again, it will be easy to update. The resulting spr




dmatu2000's discovery of the "company-" placeholder was a big
help, but it doesn't work to pages with 10 years of financial
data. The site redirects you to the page with the company that
only shows 5 years of data. The only way that I could figure out
to work around that is to use a lookup table in Excel that lists
the ADVFN URL "company name" for each ticker symbol. So you
enter the ticker, the table populates the URL company name and
exchange, then sends the fully formed URL to ADVFN.com. I
populated it with about the top 3000 companies.




The resulting spreadsheet is uploaded to the "Upload by Forum
Members" directory. I hope that you find it helpful.



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


I was up late last night and made some progress




The info that bushpilote provided helped. However, I am unable to
retrieve anything prior to 2012 for the financial statements. And
I am unable to retrieve anything prior to 2009 for the ratios.





Replying to what bushpilote said here: "In ADVFN's beta version
access to a company's financial data requires both the company
name (the name they have in their database) and ticker along
with the exchange ticker symbol."




After poking around, I've been able to get this path to work:

http://www.advfn.com/common/financial/"&Exchange&&quot;/company-"&Tick&#92;
er&"/full-financials?isfull=1&bsfull=1&cffull=1




Meaning the company name is not required as long as there is a
placeholder.






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


yweinstock your work is superb.





Did you have any luck with bushpilote&#39;s suggestions? I've been
trying to get it to work but still having issues.



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


Does anyone have an update on ADVFN? Are they still working on
their layout?



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





yweinstock your great work on the new ADVFN financial template is
not all for not. The reason for the errors is that in both the
annual and quartely data the url's are incorrect.




To pull in the ANNUAL data for microsoft replace in the
RCHGetTableCell formula
"http://www.advfn.com/common/financial/"&Exchange&&quot;/"&TickerADVFN&#92;
&"/financials?btn=annual_reports&mode=company_data&isfull=1&bsful&#92;
l=1&cffull=1&effull=1&vrfull=1&grfull=1&fhfull=1&prfull=1" with "




"http://www.advfn.com/common/financial/NASDAQ/microsoft-MSFT/full&#92;
-financials?isfull=1&bsfull=1&cffull=1"




and for the QUARTELY data replace
"http://www.advfn.com/exchanges/"&Exchange&&quot;/"&Ticker&"/financial&#92;
s?btn=annual_reports&mode=company_data&isfull=1&bsfull=1&cffull=1\
&effull=1&vrfull=1&grfull=1&fhfull=1&prfull=1&pm=Q"

with
"http://www.advfn.com/common/financial/NASDAQ/microsoft-MSFT/full&#92;
-financials?isfull=1&bsfull=1&cffull=1&pm=Q"




.....leave the remaining content of the RCHGetTableCell formula
as is in both cases.




Replacing "microsoft-MSFT" with "intel-INTC" will get you Intel's
financials. For IBM's financials you replace NASDAQ with NYSE and
"microsoft-MSFT" with "ibm-international-business-machines-IBM".




In ADVFN's beta version access to a company's financial data
requires both the company name (the name they have in their
database) and ticker along with the exchange ticker symbol. It
remains to be seen if the need to use the company's name will be
the new norm once they go live with their redesigned website.




Hope this helps.


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


Yeah.... Looks like I spoke too soon.

The spreadsheet returns errors now as the site reverted to the
old structure. Perhaps we caught a glimpse of an unintended
early release. Guess it's back to the waiting game..


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

Exactly. They don't seem to have their act together at all.

Makes me have second thoughts about the quality of the data!

On Wed, Sep 11, 2013 at 10:36 AM, <petekoch@...
<https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=petekoch@...>
> wrote:

It appears that AdvFN is going to be day-to-day for a while.
Consider any changes you make to be temporary.


Wed Sep 18, 2013 10:35 am (PDT) . Posted by:

managerisk77

Hello, I'm new to the group and started using the
=smfGetCSVFile("http://finviz.com/export.ashx?v=151&t=9[symbol](&&#92;
c=,[#],") function to import data. Two questions regarding this:
Can I turn off the alphabetical sorting when these are imported?
I would like the order I type the symbols in to be the same as
the order they are displayed. Is this possible, and if so
how?Second, is there a way to be able to import the data and
apply a "sort & filter" function without copying the data to a
new page to get rid of the "array" which can not be edited.

Thank you

Wed Sep 18, 2013 10:47 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

The FinViz screener does allow sorting, but I don't see an "unsorted, leave
as is" option.

If you want to sort and filter, you'll have to convert the array to values.
You could have VBA do that, or do it manually. You could even have a little
macro that would fill the data onto the page AS values. For example, just
one statement:

Range("A1:D3") = smfGetCSVFile("
http://finviz.com/export.ashx?v=152&t=MMM,IBM&c=1,2,3,4", pDim1:=3,
pDim2:=4)

The two pDim variables tell the smfGetCSVFile() function how many rows and
columns to return.

On Wed, Sep 18, 2013 at 9:45 AM, <cmeehan777@gmail.com> wrote:

>
> Hello, I'm new to the group and started using the =smfGetCSVFile("
> http://finviz.com/export.ashx?v=151&t=9[symbol](&c=,[#],") function to
> import data. Two questions regarding this: Can I turn off the alphabetical
> sorting when these are imported? I would like the order I type the symbols
> in to be the same as the order they are displayed. Is this possible, and if
> so how?
> Second, is there a way to be able to import the data and apply a "sort &
> filter" function without copying the data to a new page to get rid of the
> "array" which can not be edited.
>
>
>

Wed Sep 18, 2013 11:21 am (PDT) . Posted by:

"lawrence.leesh" lawrence.leesh

Thanks.

--- In smf_addin@yahoogroups.com, Randy Harmelink <rharmelink@...> wrote:
>
> Nothing automated -- you'd have to grab them yourself, maybe with
> RCHGetTableCell() or smfGetTagContent().
>
> On Mon, Sep 16, 2013 at 6:30 PM, lawrence.leesh <lawrence.leesh@...>wrote:
>
> >
> > smfPricesByDates use Yahoo symbols, which are not available for Thailand
> > stocks. Is there another function similar to this that works with Google
> > symbols?
> >
>

Wed Sep 18, 2013 9:17 pm (PDT) . Posted by:

"Christopher" jcredline

Randy,

The add-in is amazing, thanks so much for sharing and all your support.

I was trying to get the annual high and low prices for a ticker.
INTC 2011 for example.

High Formula
=smfpricesbetween("INTC",DATE(2011,1,1),DATE(2011,12,31),"04") = $24.1826
Low Formula
=smfpricesbetween("INTC",DATE(2011,1,1),DATE(2011,12,31),"06") = $17.6912

When I pull the historical prices from the Yahoo finance pages to compare - INTC, daily for 2011, I can't find a match for my results.
This is what I find for the annual Highs and Lows.

High Values
12/07/2011 - High $25.78, Close $25.66, Adjusted Close $24.07
Low Values
08/19/2011 - Low $19.16, Close $19.19
04/04/2011 - Adjusted Close $17.81

Sorry to bother you, but I looked everywhere and I just can't figure out what the smfpricesbetween results compare to.

Thanks for any insights

All the best,
Chris


Wed Sep 18, 2013 11:54 pm (PDT) . Posted by:

"Randy Harmelink" rharmelink

I'm not seeing the problem.

On 12/07/2011 -- Adjusted high price = $25.78 * $24.07 / $25.66 = $24.1826

On 08/18/2011 -- Adjusted low price = $19.16 * $17.84 / $19.19 = $17.8121
On 04/04/2011 -- Adjusted low price = $19.36 * $17.81 / $19.49 = $17.6912

On Wed, Sep 18, 2013 at 9:17 PM, Christopher <miller@sun-capital.net> wrote:

>
> I was trying to get the annual high and low prices for a ticker.
> INTC 2011 for example.
>
> High Formula
> =smfpricesbetween("INTC",DATE(2011,1,1),DATE(2011,12,31),"04") = $24.1826
> Low Formula
> =smfpricesbetween("INTC",DATE(2011,1,1),DATE(2011,12,31),"06") = $17.6912
>
> When I pull the historical prices from the Yahoo finance pages to compare
> - INTC, daily for 2011, I can't find a match for my results.
> This is what I find for the annual Highs and Lows.
>
> High Values
> 12/07/2011 - High $25.78, Close $25.66, Adjusted Close $24.07
> Low Values
> 08/19/2011 - Low $19.16, Close $19.19
> 04/04/2011 - Adjusted Close $17.81
>
> Sorry to bother you, but I looked everywhere and I just can't figure out
> what the smfpricesbetween results compare to.
>

Tidak ada komentar:

Posting Komentar