{"id":44475977,"url":"https://github.com/chainstacklabs/polymarket-alpha-bot","last_synced_at":"2026-02-12T22:34:07.884Z","repository":{"id":334605786,"uuid":"1129553726","full_name":"chainstacklabs/polymarket-alpha-bot","owner":"chainstacklabs","description":"Seek alpha in Polymarket events","archived":false,"fork":false,"pushed_at":"2026-01-25T20:54:08.000Z","size":2266,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-26T12:08:34.376Z","etag":null,"topics":["polymarket","prediction","trading"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chainstacklabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2026-01-07T08:54:46.000Z","updated_at":"2026-01-26T06:51:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chainstacklabs/polymarket-alpha-bot","commit_stats":null,"previous_names":["chainstacklabs/polymarket-alpha-bot"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/chainstacklabs/polymarket-alpha-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Fpolymarket-alpha-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Fpolymarket-alpha-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Fpolymarket-alpha-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Fpolymarket-alpha-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chainstacklabs","download_url":"https://codeload.github.com/chainstacklabs/polymarket-alpha-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstacklabs%2Fpolymarket-alpha-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29383989,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T22:07:52.078Z","status":"ssl_error","status_checked_at":"2026-02-12T22:07:49.026Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["polymarket","prediction","trading"],"created_at":"2026-02-12T22:34:06.115Z","updated_at":"2026-02-12T22:34:07.877Z","avatar_url":"https://github.com/chainstacklabs.png","language":"Python","readme":"\u003cimg width=\"1200\" alt=\"Labs\" src=\"https://user-images.githubusercontent.com/99700157/213291931-5a822628-5b8a-4768-980d-65f324985d32.png\"\u003e\n\n\u003cp\u003e\n \u003ch3 align=\"center\"\u003eChainstack is the leading suite of services connecting developers with Web3 infrastructure\u003c/h3\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  • \u003ca target=\"_blank\" href=\"https://chainstack.com/\"\u003eHomepage\u003c/a\u003e •\n  \u003ca target=\"_blank\" href=\"https://chainstack.com/protocols/\"\u003eSupported protocols\u003c/a\u003e •\n  \u003ca target=\"_blank\" href=\"https://chainstack.com/blog/\"\u003eChainstack blog\u003c/a\u003e •\n  \u003ca target=\"_blank\" href=\"https://docs.chainstack.com/quickstart/\"\u003eBlockchain API reference\u003c/a\u003e • \u003cbr\u003e \n  • \u003ca target=\"_blank\" href=\"https://console.chainstack.com/user/account/create\"\u003eStart for free\u003c/a\u003e •\n\u003c/p\u003e\n\n\n# Alphapoly - Polymarket alpha detection platform\n\nFind covering portfolios across correlated prediction markets using predefined rules and LLM decisions. The system detects relationships between markets, classifies them to identify hedging pairs, and tracks their prices. The platform offers a smooth UI for entering detected pairs when profit opportunities exist and tracking your positions.\n\nFor a good experience, you'll need to add an LLM from OpenRouter and an RPC node (see `.env.example`).\n\n\n\n![Dashboard Screenshot](assets/dashboard-screenshot.png)\n\n## How It Works\n\n1. **Groups** - Fetches multi-outcome markets from Polymarket (e.g., \"Presidential Election Winner\")\n2. **Implications** - LLM extracts logical relationships between groups\n3. **Portfolios** - Finds position pairs that hedge each other with high coverage probability\n4. **Positions** - Tracks your purchased position pairs \n\n## Prerequisites\n\n- **Python 3.12+** with [uv](https://docs.astral.sh/uv/)\n- **Node.js 18+** via [fnm](https://github.com/Schniz/fnm), nvm, or brew\n\n## Quick Start\n\n```bash\ncp .env.example .env\n\n# With make\nmake install \u0026\u0026 make dev\n\n# Without make\ncd backend \u0026\u0026 uv sync\ncd frontend \u0026\u0026 npm install\ncd backend \u0026\u0026 uv run python -m uvicorn server.main:app --port 8000 \u0026\ncd frontend \u0026\u0026 npm run dev\n```\n\nDashboard: http://localhost:3000 · API: http://localhost:8000/docs\n\n## Commands\n\n**With make** (auto-detects fnm/nvm/volta):\n```bash\nmake install    # Install deps\nmake dev        # Start both servers\n```\n\n**Without make**:\n```bash\n# Backend\ncd backend \u0026\u0026 uv sync\ncd backend \u0026\u0026 uv run python -m uvicorn server.main:app --reload --port 8000\n\n# Frontend\ncd frontend \u0026\u0026 npm install\ncd frontend \u0026\u0026 npm run dev\n```\n\n---\n\n**Disclaimer:** This software is provided as-is for educational and research purposes only. It is not financial advice. Trading prediction markets involves risk—you may lose money. Use at your own discretion.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainstacklabs%2Fpolymarket-alpha-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchainstacklabs%2Fpolymarket-alpha-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainstacklabs%2Fpolymarket-alpha-bot/lists"}