Skip to main content

Sovereign quantitative-finance terminal — local SEC scrape, Warren-Voice structural analysis, Portfolio Shock Matrix, Ghost-Watcher daemon. Free at the surface, PQC-sealed at the wall.

Project description

gammaqc-terminal

Sovereign quantitative-finance CLI. Free at the surface. PQC-sealed at the wall.

curl -sL https://gammaqc.com/install | bash
# or, from any of the 500 sovereign mesh domains, e.g.
curl -sL https://tech-earnings-cli.xyz/install | bash

Then:

gamma analyze NVDA
gamma shock --portfolio ./holdings.csv --event "Fed raises rates 50bps"
gamma watch NVDA --trigger "volume_spike > 3.0"

Why this exists

Bloomberg costs $2,400/month. The free tools (Yahoo, TradingView) are passive lookup engines. Quants and independent RIAs have neither budget for the former nor patience for the latter.

gamma is the missing layer: a local terminal that does the active things those tools won't. It pulls public SEC filings + quote data directly to your machine, runs a Warren-Voice structural read on what it sees, stress-tests your local portfolio CSV against macro events, and runs a Ghost-Watcher daemon while you sleep.

The free tier is genuinely useful standalone. The Pro tier (gammaqc.com/pro) adds the institutional layer — 10-Seat Sacred Council consensus voting, PQC-sealed compliance receipts, Algorithmic Hedge Strategy generation.


Commands

Command What it does Free Pro
gamma analyze <TICKER> SEC filings + quote + Warren-Voice + Trader Card Local rule-based bullets, ASCII card Backend council bullets + sealed card
gamma scrape <TICKER> Raw JSON to stdout (pipe-friendly)
gamma card <TICKER> Trader Card render only Locked council, redacted receipt Full council split, PQC witness receipt
gamma shock -p <CSV> -e <EVENT> Portfolio Shock Matrix → Blast Radius Report Per-position β + bleeders surfaced + Algorithmic Hedge Strategy
gamma watch <TICKER> -t <EXPR> Headless Ghost-Watcher daemon Native notification + webhook on fire + Auto-generated PQC trade-prep receipt
gamma login --api-key <KEY> Bind to backend
gamma logout Clear local key
gamma status Show config + auth state

Privacy contract

Three honesty boundaries:

  1. Your holdings CSV NEVER leaves your machine in free mode. shock parses it locally and computes Blast Radius locally. No telemetry, no uploads. Run with the network off — it still works.
  2. The install script does not phone home. The only network call is the package download (PyPI or the GAMMAQC_INSTALL_URL override).
  3. API keys are stored at the OS-native config dir (platformdirs) with 0600 perms on POSIX. Never logged, never echoed, never sent anywhere except Authorization: Bearer ... over TLS to your configured backend (default api.gammaqc.com).

Trigger expressions (Ghost-Watcher)

Single-clause expressions, format: <metric> <op> <value>.

Metric Tier Description
price Free Last regular-market price (USD)
pct_change Free Intraday % change vs prior close
volume_spike Free Current volume / 3-month average
options_volume_spike Pro Options volume / 30-day average (CBOE feed)

Operators: >, <, >=, <=, ==.

gamma watch NVDA --trigger "pct_change < -3.0" --interval 60
gamma watch SPY  --trigger "volume_spike > 2.0" --webhook https://discord.com/api/webhooks/...
gamma watch TSLA --trigger "options_volume_spike > 3.0"   # Pro tier

CSV format (gamma shock)

Required column: ticker (or symbol).

Required ONE of:

  • value (or market_value / mkt_value) — dollar position size
  • qty + price (or quantity / shares + last_price)

Optional column: sector — improves Blast Radius accuracy when the ticker isn't in the built-in classification table.

ticker,value,sector
NVDA,15000,tech
JPM,8000,financials
XOM,5000,energy

See examples/holdings.sample.csv.


Architecture

┌──────────────────────────────────────────────┐
│ gammaqc-terminal (this repo, Apache-2.0)     │
│ ┌────────┐ ┌────────┐ ┌──────┐ ┌──────────┐  │
│ │analyze │ │scrape  │ │shock │ │watch     │  │
│ └────┬───┘ └────┬───┘ └──┬───┘ └────┬─────┘  │
│      │          │        │           │        │
│   scraper.py  scraper  shock.py   watch.py    │
│      │                              │         │
│   voice.py  (local Warren rules)    │         │
│      └────────┬──────────┬──────────┘         │
│         (optional)  auth.py                    │
└─────────────────────┼─────────────────────────┘
                      │ HTTPS + Bearer key
                      ▼
        ┌─────────────────────────────────┐
        │ api.gammaqc.com (sovereign)     │
        │  /oracle/voice/warren           │
        │  /oracle/card/sealed            │
        │  /oracle/shock/hedge            │
        │  /oracle/watch/receipt          │
        │  /oracle/auth/validate          │
        └─────────────────────────────────┘

Development

git clone https://github.com/NoirLynX-Intelligence/gammaqc-terminal
cd gammaqc-terminal
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev,watch]"
pytest

Tests are intentionally offline-only (no network calls in CI). Backend integration is exercised via the live api.gammaqc.com staging environment, gated behind GAMMAQC_BACKEND_URL.


License

Apache-2.0. The CLI is free as in beer AND free as in speech. The backend is sovereign-tier proprietary; the API contract is documented publicly so the CLI can talk to any compatible implementation.


Get a Pro key

https://gammaqc.com/pro

$49/mo unlocks the Council + sealed receipts. $1,995/mo unlocks institutional rate limits + dedicated compliance attestation chain.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gammaqc_terminal-0.2.0.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gammaqc_terminal-0.2.0-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file gammaqc_terminal-0.2.0.tar.gz.

File metadata

  • Download URL: gammaqc_terminal-0.2.0.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gammaqc_terminal-0.2.0.tar.gz
Algorithm Hash digest
SHA256 31aa4c5427fb45a4df140f37f443fc72f61a20c51ef0894d410367e7f45556f1
MD5 8040f4775562429a181a84765bc81d1c
BLAKE2b-256 328d4ac48bd1ed196800c01e2651bce797706647ce6e9e8df80fe76652c68b5f

See more details on using hashes here.

File details

Details for the file gammaqc_terminal-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gammaqc_terminal-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e732eeadce83aa2d706ea45565e1fd6d64c3271f2fcaf2703592ca708ab2117
MD5 5c5df6de6bbbdcd259daecf6a9766afe
BLAKE2b-256 c33737d746fc911c2e5203d6faad486efa58c6066e99dbb8158c2f250d53162b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page