Hi, Shrewd!        Login  
Shrewd'm.com 
A merry & shrewd investing community
Best Of MIBest OfAll BoardsThe Shrewd’m WeeklyLearn to InvestHow to Become Shrewd
Search
Shrewd'm.com Merry shrewd investors
Search
Best Of MIBest OfAll BoardsThe Shrewd’m WeeklyLearn to InvestHow to Become Shrewd


The week's question
In December 2024, in the thread "Re: BRK: Why Not XOM?", BreckHutHigh asked the members: "What about the long road trips with kids?" This week it is put to everyone again. The button below opens the small thread re-asking it - read what others have said so far, then give your own answer as an ordinary reply.
Answer this questionContinue to Shrewd'mThis note won't appear again
Investment Strategies / Mechanical Investing
Unthreaded | Threaded | Whole Thread (13) |
Author: ajm101   😊 😞
Number: of 6131 
Subject: Re: Retrieving Historical price Data
Date: 03/10/25 12:06 PM
Post New | Post Reply | Report Post | Recommend It!
No. of Recommendations: 4
For automation

- WSH can be good for automating native windows applications. It has been a while since I've used either, but I thought Powershell was the direction Microsoft was leaning for the future.
- BeautifulSoup can be good for automating websites and browsers. If native browsers are needed, Playwright and Selenium, which interact with browsers through management protocols. So something like "If a div element with specific test is present and visible, issue a scroll down event" is easily expressible.
- For more exotic cases, I've used to used Sikuli (https://www.sikuli.org/) which was based on OpenCV.

The latter one will use computer vision techniques capture a screenshot and recognize elements you want to interact with visually, and determine their screen coordinates dynamically. It is a little more robust for differing screen geometries or cases where simply sending an event at a particular screen coordinate is difficult for timing or precision reasons.

It has been more than a decade since I've used Sikuli and I assume better options are now available, but it represents a powerful and generic automation technique.
Post New | Post Reply | Report Post | Recommend It!
Print the post
Members reply directly to ajm101 here — and replies get answered. Reading is free; so is joining the conversation. Join Shrewd'm »
This community has written 6,106 posts about Mechanical Investing. The article-length ones it recommended most:
Dividend investing · 52 recs · 2025
Non-Mag7 screen · 34 recs · 2025
OT - Div yields and returns · 32 recs · 2024
Using AI to generate backtesting programs · 30 recs · 2025
Rankings for 19Dec2022 · 29 recs · 2022
Unthreaded | Threaded | Whole Thread (13) |


Announcements
Mechanical Investing FAQ
Contact Shrewd'm
Contact the developer of these message boards.

Best Of MI | Best Of | Favourites & Replies | All Boards | Followed Shrewds | Open Questions | Moving a community