Polymarket Agent

B+ 86 completed
Cli Tool
cli / python · small
89
Files
13,468
LOC
2
Frameworks
6
Languages

Pipeline State

completed
Run ID
#370016
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
54.33
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #48437
Member of a group with 1 similar repo(s) — canonical #78650 view group →
Top concepts (2)
Project DescriptionWeb Backend
Repobility (the analyzer behind this table) · https://repobility.com

AI Prompt

Create an agent-friendly auto-trading pipeline for Polymarket prediction markets using Python. I need a CLI interface that can handle live and paper trading. The system should support pluggable strategies like SignalTrader, MarketMaker, and Arbitrageur. Key features to include are typed Python APIs wrapping the Polymarket CLI, conditional orders (like stop-loss), position sizing based on Kelly criterion, and a robust backtesting module that uses historical CSV data to calculate metrics like Sharpe ratio. It should also feature an auto-tuning loop that periodically evaluates performance and adjusts parameters using configuration hot-reloading from a YAML file.
python cli fastapi trading automation quant polymarket backtesting pydantic sqlite
Generated by gemma4:latest

Catalog Information

This project provides an agent-friendly auto-trading pipeline for Polymarket.

Description

Polymarket-Agent is a Python-based tool that enables automated trading on Polymarket. It's designed to be user-friendly and efficient, allowing users to create custom trading pipelines without extensive programming knowledge. The agent can monitor market conditions, execute trades based on predefined rules, and provide real-time updates.

الوصف

هذا المشروع يقدم مسار تجاري تلقائي مريح لل एजنت لپوليماركت. يعتمد على البرمجة في البايثون ويتوفر أداة سهلة الاستخدام ومجديرة لإنشاء خطوط تجارية مخصصة دون الحاجة إلى المعرفة الواسعة من البرمجة. يمكن للAGENT مراقبة ظروف السوق، تنفيذ الصفقات وفقًا لقواعد محددة، وتزويد المستخدمين بتحديثات سريعة.

Novelty

5/10

Tags

auto-trading polymarket trading-pipeline agent-friendly automated-execution

Technologies

anthropic fastapi pydantic typer uvicorn

Claude Models

claude-opus-4.6

Quality Score

B+
86.1/100
Structure
83
Code Quality
89
Documentation
79
Testing
85
Practices
84
Security
100
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (88% test-to-source ratio)
  • Code linting configured (ruff (possible))
  • Consistent naming conventions (snake_case)
  • Good security practices \u2014 no major issues detected
  • Containerized deployment (Docker)

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • 226 duplicate lines detected \u2014 consider DRY refactoring
  • 2 'god files' with >500 LOC need decomposition

Recommendations

  • Add a LICENSE file (MIT recommended for open source)

Security & Health

4.6h
Tech Debt (A)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (1)
Want fix-PRs on findings? Install Repobility's GitHub App · github.com/apps/repobility-bot
MIT
License
3.0%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

python
63.5%
markdown
32.3%
html
2.1%
yaml
1.0%
toml
0.9%
shell
0.2%

Frameworks

FastAPI pytest

Concepts (2)

Repobility · the analyzer behind every row · https://repobility.com
CategoryNameDescriptionConfidence
Repobility · code-quality intelligence platform · https://repobility.com
auto_descriptionProject DescriptionAgent-friendly auto-trading pipeline for Polymarket prediction markets.80%
auto_categoryWeb Backendweb-backend70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/94220.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV