Groups | Search | Server Info | Login | Register
Groups > comp.sys.acorn.apps > #19597
| From | druck <news@druck.org.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.apps |
| Subject | Re: Fetching stock market data |
| Date | 2026-01-23 00:36 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <10kufr8$3frj3$1@druck.eternal-september.org> (permalink) |
| References | <5c9f4ae136minim@news.invalid> |
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
Back to comp.sys.acorn.apps | Previous | Next — Previous in thread | Next in thread | Find similar
Fetching stock market data Patric <minim@news.invalid> - 2026-01-22 19:19 +0100
Re: Fetching stock market data druck <news@druck.org.uk> - 2026-01-23 00:36 +0000
Re: Fetching stock market data Patric <minim@news.invalid> - 2026-01-24 22:48 +0100
csiph-web