{"id":47516118,"url":"https://github.com/andriy-git/stocksTUI","last_synced_at":"2026-04-01T07:00:42.128Z","repository":{"id":303712172,"uuid":"1016415391","full_name":"andriy-git/stocksTUI","owner":"andriy-git","description":"StocksTUI: Real-time stock market data in your terminal.","archived":false,"fork":false,"pushed_at":"2026-02-06T02:39:35.000Z","size":1114,"stargazers_count":119,"open_issues_count":2,"forks_count":7,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-06T11:57:49.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andriy-git.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-09T01:43:04.000Z","updated_at":"2026-02-06T10:15:39.000Z","dependencies_parsed_at":"2025-07-09T03:32:49.375Z","dependency_job_id":"f8f5191c-f7b3-4068-852a-bfee2f7cc5f9","html_url":"https://github.com/andriy-git/stocksTUI","commit_stats":null,"previous_names":["andriy-git/stockstui"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/andriy-git/stocksTUI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriy-git%2FstocksTUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriy-git%2FstocksTUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriy-git%2FstocksTUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriy-git%2FstocksTUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andriy-git","download_url":"https://codeload.github.com/andriy-git/stocksTUI/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriy-git%2FstocksTUI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31269176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T06:57:45.811Z","status":"ssl_error","status_checked_at":"2026-04-01T06:57:42.389Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-27T13:00:30.246Z","updated_at":"2026-04-01T07:00:42.123Z","avatar_url":"https://github.com/andriy-git.png","language":"Python","funding_links":[],"categories":["\u003ca name=\"financial\"\u003e\u003c/a\u003eFinancial tools"],"sub_categories":[],"readme":"# stocksTUI\n\nA fast, minimalist terminal app for checking stock prices, crypto, news, and historical charts — without leaving your shell. Built with [Textual](https://github.com/textualize/textual), powered by [yfinance](https://github.com/ranaroussi/yfinance), and made for people who prefer the command line over CNBC.\n\n![stocksTUI Screenshot - Main Interface](https://raw.githubusercontent.com/andriy-git/stocksTUI/main/assets/com.png)\n![stocksTUI Screenshot - CLI Mode](https://raw.githubusercontent.com/andriy-git/stocksTUI/main/assets/cli.png)\n![stocksTUI Screenshot - FRED Data](https://raw.githubusercontent.com/andriy-git/stocksTUI/main/assets/fred.png)\n\n---\n\n## ✨ Features\n\n*   **Live-ish Price Data**\n    Watch your favorite tickers update in near real-time with configurable refresh intervals.\n\n*   **Watchlists That Make Sense**\n    Organize your assets into lists like \"Tech\", \"Crypto\", \"Dividend Traps\", or \"Memes\". Manage them entirely from the UI — no need to touch JSON unless you want to.\n\n*   **Tag-Based Filtering**\n    Assign tags (e.g., `growth`, `ev`, `semiconductor`) to your tickers and instantly filter any watchlist to see only what's relevant.\n\n*   **Charts \u0026 Tables, Your Way**\n    View historical performance from `1D` to `Max`, from a table or a chart.\n\n*   **Options Chain Support**\n    View detailed options chains with strike prices, bid/ask spreads, Greeks (Delta, Gamma, Theta, Vega), and open interest visualization. Track your positions with quantity and average cost.\n\n*   **News That Matters**\n    See the latest headlines per ticker or a combined feed — no ads, no autoplay videos, just info.\n\n*   **Economic Data (FRED)**\n    Monitor key economic indicators directly with integration for St. Louis Fed (FRED) data. Track GDP, Unemployment, CPI, and more with rolling averages and Z-score trend analysis.\n\n*   **Deep Market Context**\n    View comprehensive asset details including All Time High (ATH), % Off ATH, PE Ratio, Market Cap, and historical performance charts.\n\n*   **Quick Actions \u0026 Open Mode**\n    Instantly edit ticker aliases and notes with `e`. Use \"Open Mode\" (`o`) to quickly jump to external resources or switch between news, history, and options.\n\n*   **Keyboard-Friendly, Mouse-Optional**\n    Navigate everything with Vim-style keys or arrow keys. Bonus: lots of helpful keybindings, fully documented.\n\n*   **Custom Themes \u0026 Settings**\n    Tweak the look and feel with built-in themes or your own. Set your default tab, hide unused ones, and make it feel like *your* dashboard.\n\n*   **Smart Caching**\n    The app remembers what it can. Market-aware caching keeps startup fast and avoids pointless API calls on weekends or holidays.\n\n\u003e ⚠️ Note: All symbols follow [Yahoo Finance](https://finance.yahoo.com/) format — e.g., `AAPL` for Apple, `^GSPC` for S\\\u0026P 500, and `BTC-USD` for Bitcoin.\n\n---\n\n## 🛠 Requirements\n\n*   **Python** 3.10 or newer\n*   **OS Support:**\n\n    *   **Linux / macOS** — Fully supported\n    *   **Windows** — Use **Windows Terminal** with **WSL2**. It *won’t* work in the old `cmd.exe`.\n\n---\n\n## 🚀 Installation\n\nThe easiest way to install is with [`pipx`](https://pypa.github.io/pipx/):\n\n### 1. Install pipx (if you don’t already have it):\n\n```bash\n# Debian/Ubuntu\nsudo apt install pipx\n\n# Arch Linux\nsudo pacman -S python-pipx\n\n# macOS\nbrew install pipx\n\n# Or fallback to pip\npython3 -m pip install --user pipx\npython3 -m pipx ensurepath\n```\n\n### 2. Install stocksTUI:\n\n```bash\npipx install stocksTUI\n```\n\nDone. You can now run `stockstui` from anywhere.\n\n---\n\n## 🧭 Usage\n\nRun the app like so:\n\n```bash\nstockstui\n```\n\nNeed help?\n\n```bash\nstockstui -h          # Short help\nstockstui --man       # Full user manual\n```\n\n---\n\n### 💡 Command-Line Examples\n\nOpen on Tesla's History tab.\n```bash\nstockstui --history TSLA\n```\n\nGet combined news for NVIDIA and AMD.\n```bash\nstockstui --news \"NVDA,AMD\"\n```\n\nOpen on Apple's Options tab to view the options chain.\n```bash\nstockstui --options AAPL\n```\n\nCreate a temporary watchlist for this session only.\n```bash\nstockstui --session-list \"EV Stocks=TSLA,RIVN,LCID\"\n```\n\nLaunch a 5-day chart for Tesla.\n```bash\nstockstui --history TSLA --period 5d --chart\n```\n\nOpen directly to a specific FRED economic series (e.g., Unemployment Rate).\n```bash\nstockstui --fred UNRATE\n```\n\nCLI mode: Output \"stocks\" list, filtered by the \"tech\" tag.\n```bash\nstockstui -o stocks --tags tech\n```\n\n---\n\n## 🔑 FRED API Key\n\nTo use the Economic Data (FRED) features, you must provide a free API key from the Federal Reserve Bank of St. Louis.\n\n1.  Create a free account and request an API key at [fred.stlouisfed.org](https://fred.stlouisfed.org/docs/api/fred/v2/index.html).\n2.  Once you have your key, enter it in the app under **Configs \u003e FRED Settings**.\n3.  Click **Save** to enable FRED data fetching.\n\n## ⌨️ Keybindings\n\n*   Press `?` inside the app for a quick keybinding cheat sheet\n*   Run `stockstui --man` for the full breakdown\n\n---\n\n## 🧑‍💻 For Developers: Install from Source\n\nWant to try the bleeding-edge version or contribute?\n\n```bash\ngit clone https://github.com/andriy-git/stocksTUI.git\ncd stocksTUI\n./install.sh\n```\n\nThis sets up a virtual environment and a global `stockstui` command so you can test and develop from anywhere.\n\n---\n\n## ⚖️ License\n\nLicensed under the **GNU GPL v3.0**.\nSee `LICENSE` for the legalese.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandriy-git%2FstocksTUI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandriy-git%2FstocksTUI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandriy-git%2FstocksTUI/lists"}