3 Commits
Author SHA1 Message Date
Claude ae9bbc9a6a Stock quotes: the Alpaca test runs on a fixed clock
TestAlpacaStream read the real clock, so once Monday 9 November 2026 had
passed the book called the session closed and gave Monday's quote a close.
Alpaca takes a Now clock (time.Now if nil), and the test sets it to Monday
9:33 Eastern.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSh3B3Gq4bN4yoC4QQ
2026-11-10 23:22:50 +00:00
Claude 008595d07b Live stock quotes from Alpaca's market data
[quotes] alpaca_key and alpaca_secret follow Alpaca's stream (IEX on the
free plan, every exchange on a paid one) for the symbols callers look at,
up to alpaca_symbols at a time, and fetch any other by its snapshot. The
quotes begin again with each session's first trade, so a live feed kept
over days has the right change. bbs quotes alpaca tries the keys.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTDuJZo7JNHQEC6M1Y
2026-11-09 09:33:51 +00:00
Claude d3e5960815 News feeds, each caller's weather, and stock quotes from IEX
A main menu item, News, weather, quotes (actions news, headlines,
weather, quotes for sysops' menus):

- internal/feeds: RSS 0.9x-2.0, RSS 1.0, Atom and JSON Feed read into
  read-only message areas (so also NNTP, QWK, the web forum, gopher),
  each item its headline, summary and link; conditional GETs,
  Retry-After, one post per item by a Message-ID made from its id.  A
  catalogue of 26 tested feeds: world news, business (SEC), technology,
  science (NASA, USGS), government (Federal Register, Congress.gov,
  White House, NWS).  [feeds], [feed NAME]; bbs feeds catalog|list|read.
- internal/weather: each caller's place (US ZIP codes built in from the
  Census gazetteer, towns worldwide by Open-Meteo's gazetteer, or
  lat,lon); NWS forecasts and alerts in the US, Open-Meteo forecasts
  elsewhere, USGS earthquakes near; serious warnings told at the login.
  [weather].
- internal/quotes: an IEX-TP/TOPS decoder, pcap and pcapng readers, IEX's
  free HIST file of the last session read as it downloads (16 GB, under
  five minutes, resumed when cut off) into a small snapshot, or a live
  TOPS feed over UDP multicast.  Each caller's list of symbols.
  [quotes]; bbs quotes fetch|load|show.

Docs: docs/wiki/News-Weather-and-Quotes.md, the sample, the reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRTDuJZo7JNHQEC6M1Y
2026-11-09 09:06:07 +00:00