Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!druck.eternal-september.org!.POSTED!not-for-mail From: druck Newsgroups: comp.sys.acorn.apps Subject: Re: Fetching stock market data Date: Fri, 23 Jan 2026 00:36:56 +0000 Organization: A noiseless patient Spider Lines: 30 Message-ID: <10kufr8$3frj3$1@druck.eternal-september.org> References: <5c9f4ae136minim@news.invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 23 Jan 2026 00:36:57 +0000 (UTC) Injection-Info: druck.eternal-september.org; posting-host="80a275c7f92734f5b5d127f7fc0887c8"; logging-data="3665507"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+x75tSYbeXHco89NYUh/Wd" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:VNwIWRjsNafOknIHYKpidnTo7Ps= Content-Language: en-GB In-Reply-To: <5c9f4ae136minim@news.invalid> Xref: csiph.com comp.sys.acorn.apps:19597 On 22/01/2026 18:19, Patric wrote: > Hi all, > > after a longer hiatus from RISC OS I'm currently exploring a few options > how to get more out of it in the modern world. Something that always > fascinated me was exploring command line stuff like fetching a weather > report from wttr.in. > I simply created an obey file using wget to fetch, delete and overwrite > weather reports as png for later viewing. Works great. > > There are similar sites like http://rate.sx for crypto currencies and > terminal-stocks.dev designed for terminal access via cURL. > Unfortunately they're next to unusable with RISC OS. Fetching works fine > but Taskwindow or Nettle (running as ANSI task) interpret all the escape > codes meant for unix xterm literally, resulting in garbage. If you want to do anything with the data rather than just displaying, the Requests module in Python3 does the same thing as curl, but Python makes it much easier to extract the relevant data. I used to manually update a Fireworkz spreadsheet every month with the fund prices of my investment, but now I use a Python script to scrape the websited and output a csv which I can import in to Fireworkz and cut'n'paste the new row in. It works on with RISC OS's Python 3.8 albeit slowly using sequential lookups, it's faster on Linux where it fetches several pages in parallel. ---druck