Kamis, 06 Juni 2019

[smf_addin] Digest Number 4551[1 Attachment]

6 Messages

Digest #4551
1.1
1.2
Re: RCHGetYahooHistory by "Higrm" higrm
1.3
Re: RCHGetYahooHistory by "Randy Harmelink" rharmelink
2b
Re: download morningstar index by "Randy Harmelink" rharmelink

Messages

Wed Jun 5, 2019 6:06 am (PDT) . Posted by:

lhassrick

About 3 weeks ago the formula gave me real results, now the result is 0. I have tested on numerous ticker symbols, including MMM


I was hoping it was a temporary Yahoo glitch, but is this method for retrieving dividend history now obsolete?


I tried changing RCHGetYahooHistory to smfGetYahooHistory and get #VALUE as a result.


Thank you,




c1=6/5/2019
q2="MMM"



=SUM(INDEX(RCHGetYahooHistory(Q2,YEAR(C1)-1,MONTH(C1),DAY(C1),YEAR(C1),MONTH(C1),DAY(C1),"v",,0,,,20,2),,2))

Wed Jun 5, 2019 8:12 am (PDT) . Posted by:

"Higrm" higrm

Your formula works for me, I get 5.6 using your criteria. 

On Wednesday, June 5, 2019, 3:11:05 PM GMT+2, lhassrick@yahoo.com [smf_addin] <smf_addin@yahoogroups.com> wrote:

 

About 3 weeks ago the formula gave me real results, now the result is 0. I have tested on numerous ticker symbols, including MMM

I was hoping it was a temporary Yahoo glitch, but is this method for retrieving dividend history now obsolete?

I tried changing RCHGetYahooHistory to smfGetYahooHistory and get #VALUE as a result.

Thank you,

c1=6/5/2019

q2="MMM"

=SUM(INDEX(RCHGetYahooHistory(Q2,YEAR(C1)-1,MONTH(C1),DAY(C1),YEAR(C1),MONTH(C1),DAY(C1),"v",,0,,,20,2),,2))
Attachment(s) from Higrm
1 of 1 Photo(s)

Wed Jun 5, 2019 9:06 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

Your formula returns $5.60 here...

I would think it'd be a lot easier to use the smfGetYahooPortfolioView(),
so that you can get multiple data items for multiple tickers in a single
Internet access, by array-entering it over a range. Or use
RCHGetElementNumber(). Both of those also allow you to get a forward
estimate of dividends instead of trailing.

smfGetYahooHistory() has different parameters and with day-to-day
processing, may no longer be able to do that.

On Wed, Jun 5, 2019 at 6:06 AM lhassrick@... wrote:

> About 3 weeks ago the formula gave me real results, now the result is 0. I
> have tested on numerous ticker symbols, including MMM
>
> I was hoping it was a temporary Yahoo glitch, but is this method for
> retrieving dividend history now obsolete?
>
> I tried changing RCHGetYahooHistory to smfGetYahooHistory and get #VALUE
> as a result.
>
>
>

Wed Jun 5, 2019 6:52 am (PDT) . Posted by:

wongkayau

Hello Randy,


Good morning.



I would like to download Hang Seng Index historical price from morningstar.. The official page is:

https://quotes.morningstar.com/indexquote/quote.html?t=0P00001FL8


The page does not have "historical price" for export. This is different from the page for stock. Here is the example for 0700.HK:
http://performance.morningstar.com/stock/performance-return.action?p=price_history_page&t=700®ion=hkg&culture=en-US http://performance.morningstar.com/stock/performance-return.action?p=price_history_page&t=700®ion=hkg&culture=en-US



By using smfGetCSVFile, I can successfully download date for 0700.HK via http://performance.morningstar.com/perform/Performance/stock/exportStockPrice.action?t= http://performance.morningstar.com/perform/Performance/stock/exportStockPrice.action?t=. However, I can't download the stock index.. Do you know how may I do it?


Thank you very much.


Cheers,
Ka Yau













Wed Jun 5, 2019 9:17 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

Since they don't have the "Export" button on the page, I would bet they
don't have a CSV file for it. However, their charting option on the page
gets the data from a URL like:

https://mschart.morningstar.com/chartweb/defaultChart?type=getcc&secids=XIUSA0001Z;XI&dataid=8225&startdate=1900-01-01&enddate=2019-06-05¤cy=&format=1&callback=jQuery172024676469280029334_1559751064211&_=1559751096637

But it's JSON data and requires credentials, so the add-in can't use it.

On Wed, Jun 5, 2019 at 6:53 AM wongkayau@... wrote:

> I would like to download Hang Seng Index historical price from
> morningstar. The official page is:
>
> https://quotes.morningstar.com/indexquote/quote.html?t=0P00001FL8
>
> The page does not have "historical price" for export. This is different
> from the page for stock. Here is the example for 0700.HK:
>
>
> http://performance.morningstar.com/stock/performance-return.action?p=price_history_page&t=700®ion=hkg&culture=en-US
> <http://performance.morningstar.com/stock/performance-return.action?p=price_history_page&t=700®ion=hkg&culture=en-US>
>
> By using smfGetCSVFile, I can successfully download date for 0700.HK via
> http://performance.morningstar.com/perform/Performance/stock/exportStockPrice.action?t=.
> However, I can't download the stock index. Do you know how may I do it?
>
>
>

Wed Jun 5, 2019 9:34 am (PDT) . Posted by:

wongkayau

Hi Randy,



thanks a lot for your quick reply! no wonder i tried few hours and failed..



thanks again.


Cheers,
Ka Yau



For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF
READ MORE....

Minggu, 02 Juni 2019

[smf_addin] Digest Number 4550

For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF
READ MORE....

Sabtu, 01 Juni 2019

[belajar-excel] Digest Number 4777

1 Message

Digest #4777

Message

Sat Jun 1, 2019 12:27 pm (PDT) . Posted by:


"PERATURAN MILIS belajar-excel"
-------------------------------

Milis belajar-excel dibuat agar menjadi komunitas / tempat berkumpulnya
para pemakai software microsoft excel, untuk saling berbagi pengetahuan
(sharing), diskusi dan tanya-jawab hal-hal yg menyangkut MS Excel.

Setting untuk posting di milis ini masih dipertahankan = "UnModerated&quot;
(member dapat mengirim posting, tanpa melalui moderasi dan langsung
masuk ke message-list di milis).
Posting pertama & kedua dari member yg baru bergabung harus menunggu
approval dari moderators. Jika dinilai wajar, posting selanjutnya tidak
perlu approval lagi.

Hal ini adalah demi menjadikan milis lebih dinamis, posting tidak
tertunda, diskusi lebih hidup.

Tetapi konsekwensinya, kita sebagai members harus punya niat untuk
menjaga milis ini tetap bersih, enak diikuti, yaitu dengan TIDAK
mengirim posting berisi hal yg mubazir, yg di luar topik, yg "nyampah";
apalagi yg memicu timbulnya pertengkaran yg tidak perlu.

Setiap saat para Moderators akan melihat-lihat lagi msg list, dan akan
membersihkan message list dari posting sampah yg tidak perlu.

Untuk itu kita perlu kesepakatan sebagai berikut:

A. SANGAT DIHARAPKAN:
==================

(1)
Posting dari member berupa: share pengetahuan, pertanyaan, jawaban dan/
atau komentar dan tanggapan yg masih relevan dengan pertanyaan/posting;
semuanya harus sekitar atau ada hubungannya dengan Microsoft Excel.

(2)
Size Lampiran dlm rangka memperjelas kasus/penjelasan, agar diupayakan
tidak lebih dari 250KB, jika perlu dicompressed dulu.

(3)
Posting pertanyaan dialamatkan hanya kepada alamat milis, (jangan ke
alamat owner)

(4)
Semua mail dikemukakan secara santun, ceria, menyenangkan, boleh lucu,
saling menghormati, menjauhkan dari masalah SARA.

B. SANGAT TIDAK DIHARAPKAN:
========================

(1)
Mail yg isinya melecehkan, menghina fihak lain, berbahasa kasar, memicu
pertengkaran dsb.

(2)
Posting "too good to be true" misalnya "jualan" (MLM), spam, money game,
hoax, mail berantai dan iklan (tanpa lebihdulu mendapat ijin dari owner).

(3)
Cross-posting (mengirim 1 mail sekaligus kepada lebih dari satu milis /
address tujuan).

(4)
Mail yg ditulis dengan ukuran, bentuk/warna font dan cara yg di luar
kewajaran, sehingga menyulitkan pembacaan.

(5)
Mail tanpa judul/subject dan/atau tanpa isi, walaupun melampirkan penjelasan.

(6)
Menyertakan link yang merujuk kepada halaman yang berisi iklan produk /
informasi yang tidak berhubungan dengan Excel / pertanyaan.

C. LAIN LAIN:
========

Saran & Tips menulis mail / posting ke milis:
---------------------------------------------

(a)
Berikan subject yg isinya mewakili kasus yg akan ditulis.
Hindari subject yg tidak jelas dan terlalu general (misal "tolong",
"help", "tanya" "mohon pencerahan", dsb)

(b)
Ikuti Subject yg telah ada, (dengan meReply), hanya jika masalah yg akan
ditulis masih berkaitan.
Mengubah Subject (misal dgn menambah kata "Balasan" / "Solusi" /
"Tanggapan&quot; dsb, hanya akan merusak 'Thread&#39; (korelasi/kesinambungan)
suatu topik, oleh karena itu jangan dilakukan.

Jika anda akan mengajukan topik/kasus baru yg tidak berkaitan dengan
topik yg telah ada, buatlah Subject baru, dengan Compose / New Mail.
JANGAN dengan cara mereply subject yg ada lalu mengganti subjecnya.

(c)
Terutama pada posting pertanyaan/request, tuliskan masalah dengan jelas
di badan email. Penjelasan lebih rinci dapat ditulis pada lampiran.
Lampiran sedapat mungkin berupa workbook (file *.xls), dengan nama-file
yang spesifik.

(d)
Posting tanggapan/jawaban hendaknya ditulis secara 'top-posting&#39; (di
ATAS "quoted mail" yg ditanggapi, demi mempermudah pembacaan.

'Quoted mail' tidak harus disertakan semua, cukup 1 atau maximal 2 mail
terdahulu.

(e)
Footer yg tidak perlu hendaknya dihapus dulu sebelum mail Anda kirimkan.

Mengenai OOT dan VOOT
---------------------
Di luar 3 jenis posting di atas, yi: DISKUSI yg berisi sharing,
pertanyaan, tanggapan) akan dianggap Out of Topic (OOT) atau bahkan
VOOT (very out of topic).

Kategory OOT akan dipertimbangkan kasus-demi-kasus dengan kriteria
"manfaat positif bagi komunitas kita".

Kategory OOT atas pertimbangan khusus, misalnya demi kepentingan yg
mendesak dan penting, atau demi "kemanusiaan&quot;, tidak didelete.
Jika tidak memenuhi kriteria akan didelete dengan atau tanpa pemberi-
tahuan kpd member.

Kategory VOOT, posting akan langsung didelete, pengirim akan diberi
teguran.

VOOT kedua dari pengirim yg sama akan menyebabkan member ybs didisabled
sementara kemampuan postingnya.

Kelanjutan dari suatu diskusi tanya-jawab, masih layak diposted ke milis,
misal hanya ucapan terima kasih atau pun sejenis konfirmasi bahwa suatu
solusi sudah diterima dan dapat dipakai dsb, ini dapat golongkan sbg OOT
yg masih layak tayang.

Kelanjutan pembicaraan yg sudah tidak relevan lagi bagi member lain,
dapat anda teruskan melalui 'japri&#39; (jalur pribadi).

Kritik dan saran kepada milis 'belajar-excel'
--------------------------------------------
Kritik dan saran diluar masalah excel demi perbaikan milis ini dapat
disampaikan ke owner / moderators

Hak dan wewenang Moderators
---------------------------
Moderators berhak setelah mempertimbangkan hal-hal diatas untuk
memberikan kartu kuning atau langsung kartu merah dan/atau
mem-banned members yang melakukan pelanggaran rules milis ini.

Himbauan dari milis 'belajar excel' kpd members
-----------------------------------------------

Diharapkan para members terus meningkatkan pengetahuannya mengenai
kelaziman cara bermilis & ber-net-ria secara umum.

Perlu selalu disadari bahwa di dunia internet, sama dengan dunia kita
sehari hari.
Jika di dunia nyata kita mengenal "etika / ettiquettes", maka di net
ada semacam etika umum yg lazim disebut "nettiquette&quot;.

Kalau anda sering tidak mengindahkan "nettiquettes&quot;, tidak akan polisi
yg menangkap anda; tetapi lama-lama anda akan dijauhi banyak rekan,
karena mereka tentu merasa tidak nyaman ber-korespondensi dengan anda.

Sebagai Members of "milis belajar-excel" dan sebagai 'netter sejati',
anda tentu tidak suka kalau harus dicap sebagai "tidak nettis" yang
artinya setara dgn "tidak etis".

--------------------------------------------[rev: 13mar2010 / ctv]-----

revisi 2: tgl 02Des2013 / dwint
# penambahan point B.6.

============================================================
Pojok Lowongan Kerja yang disediakan milis :
http://milis-belajar-excel.1048464.n5.nabble.com/Pojok-Lowongan-Kerja-f5725753.html
*** Posting lowongan kerja : ke link tersebut dan klik New Topic
============================================================
bergabung ke milis (subscribe), kirim mail kosong ke: belajar-excel-subscribe@yahoogroups.com
posting ke milis, kirimkan ke: belajar-excel@yahoogroups.com
berkunjung ke web milis : http://tech.groups.yahoo.com/group/belajar-excel/messages
melihat file archive / mendownload lampiran : http://www.mail-archive.com/belajar-excel@yahoogroups.com/
atau (sejak 25-Apr-2011) bisa juga di : http://milis-belajar-excel.1048464.n5.nabble.com/
menghubungi moderators & owners: belajar-excel-owner@yahoogroups.com
keluar dari membership milis (UnSubscribe), kirim mail kosong ke : belajar-excel-unsubscribe@yahoogroups.com
---------------------------------------------------------------------
READ MORE....

[smf_addin] Digest Number 4549

8 Messages

Digest #4549

Messages

Fri May 31, 2019 8:03 am (PDT) . Posted by:

gz_cp



I installed a fresh copy of Windows 7 Pro SP1, but SMF didn't work under the IE 8 that came with it.


I am going to update IE, but the latest IE is very large.


What is the lowest version of IE that can make SMF work? I want to get the smallest package possible because my hard drive is very small.



Thanks.




Fri May 31, 2019 11:35 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

That all depends on the website, not the add-in. Some websites don't
support older versions of IE, so they check the version and give an error
message if you're using an old version. That's completely out of the
add-in's control.

On Fri, May 31, 2019 at 8:18 AM gz_cp@... wrote:

> I installed a fresh copy of Windows 7 Pro SP1, but SMF didn't work under
> the IE 8 that came with it.
>
> I am going to update IE, but the latest IE is very large.
>
> What is the lowest version of IE that can make SMF work? I want to get the
> smallest package possible because my hard drive is very small.
>
>
>

Fri May 31, 2019 11:30 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

The data isn't delivered on the web page, but is built dynamically using
JavaScript data within the page, so you need to extract it from there. Same
JavaScript data on both web pages, so the extraction is similar other than
URL:

=smfStrExtr(RCHGetWebData("
https://seekingalpha.com/symbol/AAPL/dividends/scorecard
","""growth_data"""),"""dividend_growth"":",",",1)

=smfStrExtr(RCHGetWebData("
https://seekingalpha.com/symbol/AAPL/dividends/dividend-growth
","""growth_data"""),"""dividend_growth"":",",",1)

On Thu, May 30, 2019 at 11:05 PM tmallen2@... wrote:

> I'm having trouble getting the "Dividend Growth" years from this URL:
>
> https://seekingalpha.com/symbol/AAPL/dividends/scorecard
>
> The answer should be 6 Years.
>
> Or this URL:
>
> https://seekingalpha.com/symbol/AAPL/dividends/dividend-growth
>
> "Years of Growth" should be 6.
>
> Either page would be fine as the data number I am looking for is the same.
>
> Is it possible? I can't figure this one out.
>
>
>

Fri May 31, 2019 2:02 pm (PDT) . Posted by:

ridgebacksexcel

Thanks Randy.


I ran a few queries and about half of them work and half don't.


For example this works fine:


=smfStrExtr(RCHGetWebData("https://seekingalpha.com/symbol/AAPL/dividends/dividend-growth https://seekingalpha.com/symbol/AAPL/dividends/dividend-growth","""growth_data"""),"""dividend_growth"":",",",1)


The answer shows 6.


This shows a blank cell:


=smfStrExtr(RCHGetWebData("https://seekingalpha.com/symbol/JNJ/dividends/dividend-growth https://seekingalpha.com/symbol/AAPL/dividends/dividend-growth","""growth_data";""),"""dividend_growth"":",",",1)



The answer should be 57.


I see where on the source page you are trying to extract the data but playing around with the formula has not worked so far to get JNJ or the other queries to work. Perhaps a small detail is missing.






Fri May 31, 2019 9:26 pm (PDT) . Posted by:

"Randy Harmelink" rharmelink

The formula returns 57 for me when I use it...

Try it with just the RCHGetWebData() portion, to see if that is showing up.
Did you do a lot of them? It could be the Seeking Alpha website restricts
usage?

On Fri, May 31, 2019 at 3:45 PM tmallen2@... wrote:

>
> I ran a few queries and about half of them work and half don't.
>
> For example this works fine:
>
> =smfStrExtr(RCHGetWebData("
> https://seekingalpha.com/symbol/AAPL/dividends/dividend-growth
> ","""growth_data"""),"""dividend_growth"":",",",1)
>
> The answer shows 6.
>
> This shows a blank cell:
>
> =smfStrExtr(RCHGetWebData("
> https://seekingalpha.com/symbol/JNJ/dividends/dividend-growth
> <https://seekingalpha.com/symbol/AAPL/dividends/dividend-growth>
> ","""growth_data";""),"""dividend_growth"":",",",1)
>
> The answer should be 57.
>
> I see where on the source page you are trying to extract the data but
> playing around with the formula has not worked so far to get JNJ or the
> other queries to work. Perhaps a small detail is missing.
>
>

Fri May 31, 2019 11:33 am (PDT) . Posted by:

"Randy Harmelink" rharmelink

Check the page that gave you that link, then extract the URL from that web
page. Hopefully, it uses a ticker symbol?

On Thu, May 30, 2019 at 11:29 PM tmallen2@... wrote:

> I'm also trying to extract a Credit Rating from Morningstar.
>
> I can use the RCHGetTableCell function to get the credit rating from this
> URL:
>
>
> https://ratingagency.morningstar.com/MCR/ratings-surveillance/transaction-detail-corporate/d0JvWmRKSTVJU2VKWmZYVHBMJTJiYVA3ZFB6dkJ6U09FVTNkZjNWYVVxck85U2wlMmYwMW53Qm9zdyUzZCUzZA%3d%3d
>
> The problem is I have no way to reference the ticker AAPL that it refers
> to. Maybe its encoded on purpose.
>
> The Credit Rating should be: AA-
>
>
>

Fri May 31, 2019 12:31 pm (PDT) . Posted by:

ridgebacksexcel

I don't think there is any URL on the source code that links to AAPL. It looks like an encoded link.


Thanks. This one may be impossible to get to work.


Do you know any other way to look up a Company credit rating that is a free source and works with the SMF Add-in?

Fri May 31, 2019 9:23 pm (PDT) . Posted by:

"Randy Harmelink" rharmelink

I don't do anything with credit ratings, so not even sure of sources. I do
recall doing a formula before though, which is why I suggested looking
through the group's archives...

On Fri, May 31, 2019 at 1:45 PM tmallen2@... wrote:

>
> I don't think there is any URL on the source code that links to AAPL. It
> looks like an encoded link.
>
> Thanks. This one may be impossible to get to work.
>
> Do you know any other way to look up a Company credit rating that is a
> free source and works with the SMF Add-in?
>
>
>
For the Add-in, Documentation, Templates, Tips and FAQs, visit http://ogres-crypt.com/SMF
READ MORE....