Oracle3
Open-source trading engine and MCP server for prediction markets. Fee-aware no-arbitrage trading across related contracts, live on Kalshi, Polymarket and Solana or on paper.
A fast, keyboard-driven terminal client for Polymarket. Browse markets, watch live order books, chart prices, track your portfolio, and place orders without leaving the terminal.
FinanceHTML · PythonGitHub @byronxlgOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Fast, keyboard-driven terminal client for Polymarket: live order books, charts, portfolio, and order placement
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
A fast, keyboard-driven terminal client for Polymarket:
browse markets, watch live order books and trades, chart prices, track your
portfolio and P&L, follow traders, and place orders - without leaving the
terminal.
▶ Watch the interactive demo - browse markets, open a live book, chart, search.
▶ Watch the 20-second launch video - the live book, order entry, the dry-run toast.
Built with Python 3.12 and Textual.
PyPI (installs the CLI in an isolated environment):
One-line install (installs uv if missing,
then installs polymarket-tui as a uv tool):Read the full README ↗A fast, keyboard-driven terminal client for Polymarket: browse markets, watch live order books and trades, chart prices, track your portfolio and P&L, follow traders, and place orders - without leaving the terminal.
▶ Watch the interactive demo - browse markets, open a live book, chart, search.
▶ Watch the 35-second launch video - one real session, the camera on the book, the order ticket, the dry-run toast, the chart.
Built with Python 3.12 and Textual.
PyPI (installs the CLI in an isolated environment):
uv tool install polymarket-tui # or: pipx install polymarket-tui / pip install polymarket-tui
One-line install (installs uv if missing,
then installs polymarket-tui as a uv tool):
curl -sSL https://raw.githubusercontent.com/byronxlg/polymarket-tui/main/install.sh | bash
Homebrew (one command - auto-taps and installs):
brew install byronxlg/tap/polymarket-tui
Add --HEAD to track main instead of the latest release.
From source (for development):
git clone https://github.com/byronxlg/polymarket-tui
cd polymarket-tui
uv sync
uv run polymarket-tui
Then run polymarket-tui.
No credentials needed to browse: markets, books, charts, trades, comments, and any trader's public positions all work read-only.
A static landing page lives in site/ and deploys to GitHub Pages
(https://polymarket-tui.botsmith.dev/). Its hero plays the 35-second launch
video and nothing else - one real session, the camera moving between the top
market, the live book, a dry-run buy, the chart, the NO flip, the trade tape and
search. It is cut by the shorts pipeline (scripts/shorts/, landscape canvas). Preview it locally with
python3 -m http.server -d site 8000. The footage behind the GIF above is
site/assets/demo.cast, re-recorded with bash scripts/record_demo.sh; the
video records its own session from scripts/shorts/beats/launch-tour.json.
See site/README.md.
Press A in the app (a pop-out - esc drops you back where you were):
Funder address only -> observer mode: your positions, P&L, activity. This is the wallet address shown on your polymarket.com profile (also your USDC deposit address).
Funder + private key -> trading mode. Where the key comes from depends on how you log in to Polymarket:
Applied credentials are saved to
~/.config/polymarket-tui/credentials.toml (chmod 600, plaintext - treat
the file like the key itself). POLYMARKET_* env vars override the file.
Note: accounts created since Polymarket switched to Privy embedded wallets export only a threshold-key share; the trading API (and therefore this client) does not support them yet.
Orders are dry-run until you go live: fully validated and signed but
never posted. Live posting requires the L toggle (confirmed) or
POLYMARKET_EXECUTION_LIVE=1; the choice persists across sessions and a
LIVE start is announced.
Every placed/cancelled order is appended to
~/.local/share/polymarket-tui/orders.jsonl.
Deposits, withdrawals, token approvals, and redemption of resolved positions are on-chain operations this client does not perform - use the website.
One scheme everywhere - press ? in the app for the full reference:
up/down flow into adjacent panels (category bar,
chart inspect, search box); right/enter open; left/esc step out
one level (order panel -> expanded view -> screen -> previous screen)b/s order entry under the live book (price in cents,
empty = market order, up/down = tick), y/n book side, a expand the
inline trades to full width (right opens the trader), i rules,
c comments, e parent event/ search (markets and traders), p portfolio, w watchlist, A auth,
L toggle DRY/LIVE for the session (going live asks for confirmation),
q quitPublic Polymarket APIs: gamma-api.polymarket.com (markets, events, search,
comments), clob.polymarket.com (order books, price history, orders),
data-api.polymarket.com (positions, trades, activity),
user-pnl-api.polymarket.com (profit history). Trading uses
py-clob-client-v2 for CLOB V2 order signing.
.claude/rules/design-principles.md - the UX/code principles this app followsdocs/architecture.md - layers, async model, cachingdocs/api-reference.md - the four API surfaces, verified shapes, quirksdocs/trading.md - the money path: validation, confirmation, auditdocs/config-and-auth.md - credentials, capability modesRemaining work is tracked in GitHub issues.
Unofficial client, not affiliated with Polymarket. It can place real orders with real money when you explicitly enable LIVE mode; you are responsible for your trades. No warranty.