Repository navigation
Releases
QuantPilot 0.1.1 — security release
A security release, an hour after 0.1.0. If you cloned 0.1.0, take this
instead.
What was wrong
The article reader takes a story id rather than a URL, precisely so that it
cannot be pointed at an arbitrary address. It looked the URL up, validated
it — and then handed it to a fetch that followed redirects on its own. So
the address that was checked and the address that was fetched were not
required to be the same one. A publisher in the news feed, or anyone who
could get a link into it, could answer with
302 Location: http://127.0.0.1:8900/api/screen
and the terminal would fetch its own API, or anything else reachable from
your machine, and render the result in the reader.
The guard now runs on every hop, and the chain is cut at five.
Two more from the same sweep:
- The blocked-address check was a regex over the text of the hostname, so
127.0.0.1was blocked while2130706433,0177.0.0.1,127.1and
[::ffff:127.0.0.1]— the same machine, differently spelled — were not,
and0.0.0.0, IPv6 link-local and unique-local, and the 100.64/10 carrier
range were never listed. It now asksipaddress, resolves names, checks
every address a name stands for, and fails closed on a name that will not
resolve. - The SEC user-agent, which carries the contact address you put in your own
config, was selected withendswith("sec.gov")— a string that also
matchesnotsec.gov.
Found by CodeQL, which was switched on in the same session. tests/test_article.py
holds the whole table plus the three redirect cases, and fails nine ways
against 0.1.0.
Also in this release
CodeQL on both languages, ruff in CI against a pinned version, the live
news and article suites added to the matrix, and the community health files
— a SECURITY.md with the actual threat model, a code of conduct, issue forms
and a PR checklist. Plus two visible fixes: the header still said
PILOT MARKETS, and the index strip's clock stretched across the futures
strip because its CSS rule had lost its declaration block.
Full notes: CHANGELOG.md.
QuantPilot 0.1.0
The first tagged release. The terminal has been working for a while; this is
the point at which it is worth someone else's afternoon.
git clone https://github.com/Ben05-sys/QuantPilot
cd QuantPilot
pip install -r requirements.txt && python pilot.pyPython 3.11+. No account, no API key, no monthly bill. The browser opens on
its own and the first run builds the universe snapshot — about 7,000 symbols
in 20–35 seconds.
What is in it
- Screener over the whole listed US universe, filtered locally in pandas
with no network in the hot path. Fifteen Finviz-style dropdowns and a
command line that compile to the same expression, so anything you can click
you can type, save and reload. - An expression language parsed with
astunder a node allowlist —
eval()is never called on user text, and neither isDataFrame.query. - Time-adjusted relative volume, measured against what a normal session
would have traded by now, so momentum screens return something before
noon. - Extended and overnight sessions as first-class data, without ever
overwriting the regular-sessionLASTwith a print from another session. - Heatmap, world map, ADRs, earnings calendar, ticker detail with SEC
filings and news, screen diffs, alerts, watchlist with P&L. - Live news: the US finance networks embedded from their own YouTube
channels, liveness read per channel rather than assumed, with the tickers
the current headlines are about priced alongside.
Two house rules run through all of it: nothing claims live data over stale
data — lag is measured per response and rendered — and a field that
cannot be computed stays null rather than being defaulted into looking like
a fact.
Tested on Linux, macOS and Windows across Python 3.11 and 3.13, plus CodeQL
analysis and a jsdom smoke test that boots the whole UI.
Full notes: CHANGELOG.md.
Licensed AGPL-3.0 — run a modified version as a network service and you
publish your source.
A caveat worth reading: Yahoo's endpoints are undocumented and its terms
prohibit automated access and monetization. That is fine for a single-user
terminal on your own machine and not fine as the basis of anything
published or sold.
