Groups | Search | Server Info | Login | Register


Groups > comp.sys.acorn.apps > #19596

Fetching stock market data

Path csiph.com!server.example.net!weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!gmx.de!Patric
From Patric <minim@news.invalid>
Newsgroups comp.sys.acorn.apps
Subject Fetching stock market data
Followup-To comp.sys.acorn.apps
Date Thu, 22 Jan 2026 19:19:18 +0100 (Custom)
Organization None
Message-ID <5c9f4ae136minim@news.invalid> (permalink)
Injection-Info solani.org; logging-data="549509"; mail-complaints-to="abuse@news.solani.org"
User-Agent Pluto/3.20 (RISC OS/5.31) NewsHound/v1.54
Cancel-Lock sha1:zspNifdrzc37fW2FpAtK6CeQ+u4=
X-User-ID eJwFwQkBwDAIA0BL5QlscigE/xJ6BwuJTg+EY7Gk6CBAvc3vIsf2FHQ2q6x/mFB51L0sN/gALm4RiQ==
Xref csiph.com comp.sys.acorn.apps:19596

Followups directed to: comp.sys.acorn.apps

Show key headers only | View raw


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. 

Trying to force plain text output like this:

  *curl -H "Accept-Encoding: identity" "http://rate.sx/btc?plain=1" | tr
-cd '\11\12\15\40-\176'

also fails since cURL on RISC OS doesn't seem to pass any of that on.
So that's a bit disappointing.
The only thing I could get working was:

*curl "https://stooq.com/q/l/?s=EUNL.DE&f=sd2t2ohlcv&h&e=csv" >
MSCI_World.txt

which gives:

Symbol,Date,Time,Open,High,Low,Close,Volume
EUNL.DE,2026-01-21,17:30:00,111.7,112.58,111,112.245,340009

So better than nothing obviously but very very basic really. 
Is there a better way or should I just turn on the wireless at 12.30 for
the business report?

Patric

Back to comp.sys.acorn.apps | Previous | NextNext in thread | Find similar


Thread

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