Jumat, 18 Agustus 2017

[smf_addin] Digest Number 4124

4 Messages

Digest #4124
1b
Re: Yahoo History messages by "Randy Harmelink" rharmelink
1d
Re: Yahoo History messages by "Randy Harmelink" rharmelink

Messages

Fri Aug 18, 2017 8:41 am (PDT) . Posted by:

mjblauer

Randy yes I am entering in a single cell not an array format. I installed the latest beta and unblocked the file.
Here are the latest problem results



=RCHGetElementNumber("Version") returns

Stock Market Functions add-in, Version 2.1.2017.08.13 (C:\Program Files\SMF Add-In; Windows (32-bit) NT 6.01; 14.0; ; ; 1)





=RCHGetYahooHistory(B495,YEAR(D495),MONTH(D495),DAY(D495),YEAR(D495),MONTH(D495),DAY(D495),"d","A",1,1,0)



Returns the message "CLOSE"


=RCHGetYahooHistory("IBM",2017,8,3,2017,8,3,"d","A",0,1,0)

Returns the message "ERROR"




=smfPricesByDates("IBM",DATE(2017,6,11))

This works correctly
the problem is the SMFpricesbydates skips certain dates that updated no problem previously.


the RCHGetYahooHistory I have used successfully no problem for 4 years until Yahoo changed their system.


Thanks for all your efforts much appreciated!!!
Regards





Fri Aug 18, 2017 9:19 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

On Fri, Aug 18, 2017 at 8:41 AM, mblauer@blauer.com [smf_addin] <
smf_addin@yahoogroups.com> wrote:

>
> Randy yes I am entering in a single cell not an array format.
> I installed the latest beta and unblocked the file.
> Here are the latest problem results
>
> =RCHGetElementNumber("Version&quot;) returns
> Stock Market Functions add-in, Version 2.1.2017.08.13 (C:\Program
> Files\SMF Add-In; Windows (32-bit) NT 6.01; 14.0; ; ; 1)
>

​Looks good.​

> =RCHGetYahooHistory(B495,YEAR(D495),MONTH(D495),DAY(D495),
> YEAR(D495),MONTH(D495),DAY(D495),"d","A",1,1,0)
>
> Returns the message "CLOSE"
>

​Yes, here too. If you just enter it into a single cell, that's what you
would get.​

> =
> ​​
> ​​
> ​​
> ​​
> ​​
> RCHGetYahooHistory("IBM",2017,8,3,2017,8,3,"d","A",0,1,0)
> Returns the message "ERROR"
>

​I get 143.42463684082​...no idea why it's not working for you? Have you
tried smfGetYahooHistory()?

​=smfGetYahooHistory("IBM",,"8/3/2017",,"c",0)​

> =smfPricesByDates("IBM",DATE(2017,6,11))
> This works correctly
> the problem is the SMFpricesbydates skips certain dates that updated no
> problem previously.
>

​Can you give an example of one with dates skipping?​

Fri Aug 18, 2017 11:15 am (PDT) . Posted by:

mjblauer

Randy, It appears that it is a data issue


As the following works =smfGetYahooHistory("IBM",,"8/3/2017",,"c",0)


And the the ticker symbol "SSO" which is an ETF does not work


=smfGetYahooHistory("SSO",,"8/3/2017",,"c",0)



Yet =smfPricesByDates() works for Ticker "SSO"


thanks



Fri Aug 18, 2017 12:00 pm (PDT) . Posted by:

"Randy Harmelink" rharmelink

Odd. This works fine here:

=smfGetYahooHistory("SSO",,"8/3/2017",,"c",0)

It might be a Yahoo glitch, where the data was incorrect or unavailable for
some reason? Try exiting and restarting EXCEL and try it again. And make
sure your Internet options are set to always get a fresh copy of the web
page before doing so.

smfPricesByDates() "fills in" if a date is missing, so I'm wondering if
that date is missing for SSO? Have you tried a full array to see if the
data is indeed being retrieved?

=smfGetYahooHistory("SSO")

Date Open High Low Close Volume Unadj
2017-08-18 $89.90 $90.81 $89.38 $90.25 1593693 $90.25
2017-08-17 $92.44 $92.70 $90.07 $90.07 2673600 $90.07
2017-08-16 $93.07 $93.43 $92.61 $92.95 1585000 $92.95
2017-08-15 $93.00 $93.00 $92.38 $92.66 1198900 $92.66
2017-08-14 $91.98 $92.86 $91.96 $92.68 1618800 $92.68
2017-08-11 $90.80 $91.38 $90.61 $90.85 1787800 $90.85
2017-08-10 $92.55 $92.63 $90.59 $90.67 2610400 $90.67
2017-08-09 $92.65 $93.31 $92.37 $93.22 1254700 $93.22
2017-08-08 $93.46 $94.54 $92.96 $93.33 1261800 $93.33
2017-08-07 $93.46 $93.76 $93.38 $93.73 752600 $93.73
2017-08-04 $93.51 $93.70 $93.10 $93.42 914700 $93.42
2017-08-03 $93.34 $93.35 $92.86 $93.13 862600 $93.13
2017-08-02 $93.49 $93.58 $92.65 $93.42 1512600 $93.42
2017-08-01 $93.47 $93.51 $93.00 $93.33 996600 $93.33
2017-07-31 $93.42 $93.50 $92.79 $92.98 1104800 $92.98

On Fri, Aug 18, 2017 at 11:15 AM, mblauer@
​...
wrote:

>
> It appears that it is a data issue
>
> As the following works =smfGetYahooHistory("IBM",,"
> 8/3/2017",,"c",0)
>
> And the the ticker symbol "SSO" which is an ETF does not work
>
> =smfGetYahooHistory("SSO",,"8/3/2017",,"c",0)
>
> Yet =smfPricesByDates() works for Ticker "SSO"
>
>
>
For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF

Tidak ada komentar:

Posting Komentar