Senin, 14 Mei 2018

[smf_addin] Digest Number 4331

15 Messages

Digest #4331
1a
Re: Alternative historical data ? by "Randy Harmelink" rharmelink
1b
Re: Alternative historical data ? by "joo zhi" perseuslim11
2a
Re: Trading & Investor Rating by "Randy Harmelink" rharmelink
2b
3a
Re: Business Predictability Rank by "Randy Harmelink" rharmelink
4a
Re: smfUpdateDownloadTable resume downloading by "Randy Harmelink" rharmelink
5a
Retrieving Fiscal Month by lawrence.leesh
5b
Re: Retrieving Fiscal Month by "Randy Harmelink" rharmelink
5c
6b
Re: Morningstar retrieval for price history? by "Randy Harmelink" rharmelink
7b
Re: Windows Security Warning by "Randy Harmelink" rharmelink

Messages

Tue May 8, 2018 12:44 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

Since it requires a login, I can't answer how to grab the data. But
smfGetYahooHistory() would NOT be modified for a different data source.. But
if it allows you to download a CSV file, smfGetCSVFile() should be able to
do the trick.

On Tue, May 8, 2018 at 12:23 AM, perseuslim11@
​...
wrote:

> Hi Randy, previously I'd sent the suggestions for yahoo data but till now
> still no response whatsoever.. plus I noticed that there were more data
> discrepancies than I've expected previously, rendering the data for
> Malaysian markets unreliable..
>
> As such, I would like to know if the smfgetyahoohistory function can be
> modified to download data from investing.com instead? which I've found
> their data to be good for Malaysian stocks..
>
> Hope I can get your opinion on this, thanks! =)
>

Tue May 8, 2018 1:13 am (PDT) . Posted by:

"joo zhi" perseuslim11

yes, it does allow for csv files.. 
On Tuesday, May 8, 2018, 3:44:29 PM GMT+8, Randy Harmelink rharmelink@gmail.com [smf_addin] <smf_addin@yahoogroups.com> wrote:

 

Since it requires a login, I can't answer how to grab the data. But smfGetYahooHistory() would NOT be modified for a different data source. But if it allows you to download a CSV file, smfGetCSVFile() should be able to do the trick.
On Tue, May 8, 2018 at 12:23 AM, perseuslim11@​... wrote:

Hi Randy, previously I'd sent the suggestions for yahoo data but till now still no response whatsoever.. plus I noticed that there were more data discrepancies than I've expected previously, rendering the data for Malaysian markets unreliable..

 As such, I would like to know if the smfgetyahoohistory function can be modified to download data from investing.com instead? which I've found their data to be good for Malaysian stocks..

Hope I can get your opinion on this, thanks! =)

#yiv1600953628 #yiv1600953628 -- #yiv1600953628ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv1600953628 #yiv1600953628ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv1600953628 #yiv1600953628ygrp-mkp #yiv1600953628hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv1600953628 #yiv1600953628ygrp-mkp #yiv1600953628ads {margin-bottom:10px;}#yiv1600953628 #yiv1600953628ygrp-mkp .yiv1600953628ad {padding:0 0;}#yiv1600953628 #yiv1600953628ygrp-mkp .yiv1600953628ad p {margin:0;}#yiv1600953628 #yiv1600953628ygrp-mkp .yiv1600953628ad a {color:#0000ff;text-decoration:none;}#yiv1600953628 #yiv1600953628ygrp-sponsor #yiv1600953628ygrp-lc {font-family:Arial;}#yiv1600953628 #yiv1600953628ygrp-sponsor #yiv1600953628ygrp-lc #yiv1600953628hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv1600953628 #yiv1600953628ygrp-sponsor #yiv1600953628ygrp-lc .yiv1600953628ad {margin-bottom:10px;padding:0 0;}#yiv1600953628 #yiv1600953628actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv1600953628 #yiv1600953628activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv1600953628 #yiv1600953628activity span {font-weight:700;}#yiv1600953628 #yiv1600953628activity span:first-child {text-transform:uppercase;}#yiv1600953628 #yiv1600953628activity span a {color:#5085b6;text-decoration:none;}#yiv1600953628 #yiv1600953628activity span span {color:#ff7900;}#yiv1600953628 #yiv1600953628activity span .yiv1600953628underline {text-decoration:underline;}#yiv1600953628 .yiv1600953628attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv1600953628 .yiv1600953628attach div a {text-decoration:none;}#yiv1600953628 .yiv1600953628attach img {border:none;padding-right:5px;}#yiv1600953628 .yiv1600953628attach label {display:block;margin-bottom:5px;}#yiv1600953628 .yiv1600953628attach label a {text-decoration:none;}#yiv1600953628 blockquote {margin:0 0 0 4px;}#yiv1600953628 .yiv1600953628bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv1600953628 .yiv1600953628bold a {text-decoration:none;}#yiv1600953628 dd.yiv1600953628last p a {font-family:Verdana;font-weight:700;}#yiv1600953628 dd.yiv1600953628last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv1600953628 dd.yiv1600953628last p span.yiv1600953628yshortcuts {margin-right:0;}#yiv1600953628 div.yiv1600953628attach-table div div a {text-decoration:none;}#yiv1600953628 div.yiv1600953628attach-table {width:400px;}#yiv1600953628 div.yiv1600953628file-title a, #yiv1600953628 div.yiv1600953628file-title a:active, #yiv1600953628 div.yiv1600953628file-title a:hover, #yiv1600953628 div.yiv1600953628file-title a:visited {text-decoration:none;}#yiv1600953628 div.yiv1600953628photo-title a, #yiv1600953628 div.yiv1600953628photo-title a:active, #yiv1600953628 div.yiv1600953628photo-title a:hover, #yiv1600953628 div.yiv1600953628photo-title a:visited {text-decoration:none;}#yiv1600953628 div#yiv1600953628ygrp-mlmsg #yiv1600953628ygrp-msg p a span.yiv1600953628yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv1600953628 .yiv1600953628green {color:#628c2a;}#yiv1600953628 .yiv1600953628MsoNormal {margin:0 0 0 0;}#yiv1600953628 o {font-size:0;}#yiv1600953628 #yiv1600953628photos div {float:left;width:72px;}#yiv1600953628 #yiv1600953628photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv1600953628 #yiv1600953628photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv1600953628 #yiv1600953628reco-category {font-size:77%;}#yiv1600953628 #yiv1600953628reco-desc {font-size:77%;}#yiv1600953628 .yiv1600953628replbq {margin:4px;}#yiv1600953628 #yiv1600953628ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv1600953628 #yiv1600953628ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv1600953628 #yiv1600953628ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv1600953628 #yiv1600953628ygrp-mlmsg select, #yiv1600953628 input, #yiv1600953628 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv1600953628 #yiv1600953628ygrp-mlmsg pre, #yiv1600953628 code {font:115% monospace;}#yiv1600953628 #yiv1600953628ygrp-mlmsg * {line-height:1.22em;}#yiv1600953628 #yiv1600953628ygrp-mlmsg #yiv1600953628logo {padding-bottom:10px;}#yiv1600953628 #yiv1600953628ygrp-msg p a {font-family:Verdana;}#yiv1600953628 #yiv1600953628ygrp-msg p#yiv1600953628attach-count span {color:#1E66AE;font-weight:700;}#yiv1600953628 #yiv1600953628ygrp-reco #yiv1600953628reco-head {color:#ff7900;font-weight:700;}#yiv1600953628 #yiv1600953628ygrp-reco {margin-bottom:20px;padding:0px;}#yiv1600953628 #yiv1600953628ygrp-sponsor #yiv1600953628ov li a {font-size:130%;text-decoration:none;}#yiv1600953628 #yiv1600953628ygrp-sponsor #yiv1600953628ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv1600953628 #yiv1600953628ygrp-sponsor #yiv1600953628ov ul {margin:0;padding:0 0 0 8px;}#yiv1600953628 #yiv1600953628ygrp-text {font-family:Georgia;}#yiv1600953628 #yiv1600953628ygrp-text p {margin:0 0 1em 0;}#yiv1600953628 #yiv1600953628ygrp-text tt {font-size:120%;}#yiv1600953628 #yiv1600953628ygrp-vital ul li:last-child {border-right:none !important;}#yiv1600953628

Tue May 8, 2018 12:48 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

Try:

=smfStrExtr(smfGetTagContent("
http://www.4-traders.com/PLATFORM-SPECIALTY-PRODUC-15590086/","td",1,">Trading
Rating"),"""","""",1)
=smfStrExtr(smfGetTagContent("
http://www.4-traders.com/PLATFORM-SPECIALTY-PRODUC-15590086/","td",1,">Investor
Rating"),"""","""",1)

On Mon, May 7, 2018 at 7:03 PM, lawrence.leesh@
​...
wrote:

> Are you able to extract Trading Rating of 25% and Investor Rating of 22%
> from this page?
>
> http://www.4-traders.com/PLATFORM-SPECIALTY-PRODUC-15590086/
>
> It is shown as number of stars but actual number is available when you
> view page source.
>
>
>

Tue May 8, 2018 12:54 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

Try:

=smfStrExtr(smfGetTagContent("https://www.gurufocus.com/stock/AAPL","font",-1,"Predictability
rank:"),": ","-",1)

On Mon, May 7, 2018 at 7:56 PM, lawrence.leesh@
​...
wrote:

> Are you able to extract Business Predictability Rank of 2.5 from this page?
>
> https://www.gurufocus.com/stock/AAPL
>
> It is also displayed as stars rather than number in a table.
>
>
>

Tue May 8, 2018 1:14 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

Sigh. This is precisely the type of message that makes me regret sharing
the add-in, and fuel me to stop helping people access such data. The add-in
is not intended for building databases off the backs of free data services.
If you need that level of detail for that many stocks, you should be using
a paid service.

Such usage of the free data sources just encourage them to take steps to
prevent access to the data.

On Mon, May 7, 2018 at 8:38 PM, boo1712@
​...
wrote:

>
> I am downloading financial statements from www.shareinvestor.com for a
> long list of companies.
> The website recently started to block IPs temporary when I do too many
> requests.
> I cannot complete the download of my table everytime.
> How to set the function to resume the download from the last error cell?
> Thanks alot for reading my msg.
>
>

Wed May 9, 2018 3:21 am (PDT) . Posted by:

lawrence.leesh

Hi Randy


Could you pls help me to extract "Fiscal Period December" from this page?


http://www.4-traders.com/THK-CO-LTD-6491755/financials/ http://www.4-traders.com/THK-CO-LTD-6491755/financials/


thanks






Wed May 9, 2018 3:57 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

Try either:

=smfGetTagContent("http://www.4-traders.com/THK-CO-LTD-6491755/financials/","td",-1,"Fiscal
Period",,,,1)
=smfGetTagContent("http://www.4-traders.com/THK-CO-LTD-6491755/financials/","b",1,"Fiscal
Period")

On Wed, May 9, 2018 at 3:21 AM, lawrence.leesh@
​...
wrote:

> Could you pls help me to extract "Fiscal Period December" from this page?
>
> http://www.4-traders.com/THK-CO-LTD-6491755/financials/
>
>
>

Sat May 12, 2018 12:46 am (PDT) . Posted by:

perseuslim11

Hi Randy, would like to know whether there's any way to retrieve price history info on morningstar?


http://performance.morningstar.com/stock/performance-return.action?p=price_history_page&t=7087®ion=mys&culture=en-US http://performance.morningstar.com/stock/performance-return.action?p=price_history_page&t=7087®ion=mys&culture=en-US



Sat May 12, 2018 7:31 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

Just use their export file:

=smfGetCSVFile("
http://performance.morningstar.com/perform/Performance/stock/exportStockPrice.action?t=7087&pd=custom&freq=d&sd=01/01/2018&ed=05/11/2018
")

However, the data is not adjusted for dividends.

On Sat, May 12, 2018 at 12:45 AM, perseuslim11@
​...
wrote:

> Hi Randy, would like to know whether there's any way to retrieve price
> history info on morningstar?
>
> http://performance.morningstar.com/stock/performance-return.action?p=
> price_history_page&t=7087®ion=mys&culture=en-US
>
>
>

Mon May 14, 2018 4:40 am (PDT) . Posted by:

jeffesch

Hi,


Today when I opened my excel with the SMF formulas, I got this pop up saying "Windows Security Warning" with message "This page is accessing information that is not under its control. This poses a security risk. Do you want to continue?"



I tried click yes or no and the next pop up will come up again until the process is 100%...anyone know what I can do to remove this message or even determine what RCH element(s) are causing the message?


Mon May 14, 2018 8:58 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

That shouldn't normally be possible unless you are using the pType
parameter and having the IE object render the page. Most add-in functions
only retrieve the source code of a web page, so there should be no "page"
that would be accessing information elsewhere.

Other than trial and error, I'm not sure how to determine the source of the
message.

Based on some Google searches, it may be related to the "Access data
sources across domains" setting under the security section of Internet
Options. That's usually necessary if a web page is being redirected -- it
was originally needed for AdvFN data items. You could disable that option
if it's enabled, and see if something stops working?

On Mon, May 14, 2018 at 4:33 AM, jeffesch@
​...
wrote:

>
> ​​
> Today when I opened my excel with the SMF formulas, I got this pop up
> saying "Windows Security Warning" with message "This page is accessing
> information that is not under its control. This poses a security risk. Do
> you want to continue?"
>
> I tried click yes or no and the next pop up will come up again until the
> process is 100%...anyone know what I can do to remove this message or even
> determine what RCH element(s) are causing the message?
>
For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF

Tidak ada komentar:

Posting Komentar