SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : Young and Older Folk Portfolio

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
Recommended by:
agniv
QTI on SI
Smart_Asset
To: QTI on SI who wrote (20819)10/1/2025 9:44:12 AM
From: R.Daneel.Olivaw3 Recommendations   of 23432
 
Re: CEF data extraction.

It would take about an hour. The R code used RSelenium to render the pages from Fidelity. I put a delay in between each request because there was/is a limit on page hits per second. The Snapshot page was quick and simple, it used HTML tables which were simple to extract. I would run it in the background and come back later to see the spreadsheet output.

I really miss the Fidelity Snapshot page, it was concise and provided great data quickly.

R code is pretty simple to port to Python, very similar. I started using it when in my last couple of years of work life. We had a fantastic intern program for A.I. before it was cool. These amazing kids, yes, kids, led me to R for stock market data. Today it would be known as A.N.I. artificial narrow intelligence, but it was fun and they kept me interested in the last years of work. (We were bought out and they paid me to hang around for my institutional knowledge, which they mostly ignored.)

I just looked at CEFConnect and the distributions are available. It's also in an HTML table if you care.
There are more efficient ways these days but i digress.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext