Rabu, 21 Juni 2017

[smf_addin] Digest Number 4066

2 Messages

Digest #4066
1b
Re: Starting Date of Data Series by "Randy Harmelink" rharmelink

Messages

Wed Jun 21, 2017 6:30 am (PDT) . Posted by:

bushpilote

Hi Randy,
prior to the changes at Yahoo finance, the following formula retrieved the starting date
of closing prices for a given security (A3=ticker ^gspc) :


[=IFERROR(DATEVALUE(smfGetTagContent("http://finance.yahoo.com/q/hp?s="&A3,"option",0,"name=""a""","option selected")&" "
&smfstrExtr(RCHGetWebData("http://finance.yahoo.com/q/hp?s="&A3,"id=""startday""",100),"value=""","""")&", "
&smfstrExtr(RCHGetWebData("http://finance.yahoo.com/q/hp?s="&A3,"id=""startyear""",100),"value=""","""")),NA())]

Any suggestions how to get this work under their new set up?

Wed Jun 21, 2017 8:48 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

Try:

=smfUNIX2Date(smfStrExtr(RCHGetWebData("https://finance.yahoo.com/quote/
"&F17&"/history","firstTradeDate",50),""":",","))

On Wed, Jun 21, 2017 at 6:30 AM, bushpilote@
​...
wrote:

> prior to the changes at Yahoo finance, the following formula retrieved
> the starting date
>
> of closing prices for a given security (A3=ticker ^gspc) :
>
> [=IFERROR(DATEVALUE(smfGetTagContent("http://finance.yahoo.com/q/hp?s=
> "&A3,"option",0,"name=""a""","option selected")&" "
>
> &smfstrExtr(RCHGetWebData("http://finance.yahoo.com/q/hp?s="
> &A3,"id=""startday""",100),"value=""","""")&", "
>
> &smfstrExtr(RCHGetWebData("http://finance.yahoo.com/q/hp?s="
> &A3,"id=""startyear""",100),"value=""","""")),NA())]
>
> Any suggestions how to get this work under their new set up?
>
For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF

Tidak ada komentar:

Posting Komentar