niller2005 avatar

Polymarket Trading

This is reference documentation for a high-frequency Polymarket trading bot that operates on 15-minute crypto markets. You get terminology for the specific strategies it uses (exit plans at $0.99, scale-ins at 1.5x on winning positions, midpoint stop losses), plus the actual formulas for two confidence calculation methods the bot A/B tests: an additive voting system versus a Bayesian approach with log-odds. The fee structure section is genuinely useful since selling as a taker on Polymarket can hit 3.7% at certain price points. Most valuable if you're actually running this bot or building something similar and need to understand why it places orders the way it does. The code patterns are minimal but the strategy logic is well documented.

skills.sh installs
144
GitHub stars
17
last updated
Aug 21, 2026

Install

$ npx -y skills add niller2005/polyflup --skill polymarket-trading --agent claude-code

Installs into .claude/skills of the current project.

Files

Terminology & Concepts

  • Atomic Hedging: Simultaneous entry+hedge pair placement via batch API (primary risk management).
  • Combined Price Threshold: Maximum allowed sum of entry + hedge prices (default $0.99) to guarantee profit.
  • Emergency Liquidation: Time-aware progressive pricing to recover value from partial fills.
  • Pre-Settlement Exit: Confidence-based early exit of losing side (T-180s to T-45s before resolution).
  • MIN_ORDER_SIZE Smart Hold: Hold winning positions <5.0 shares, orphan losing ones.
  • Underdog: Side trading below $0.50. Requires >40% confidence for entry.
  • Tick Size: Minimum price increment allowed for a market (e.g., 0.01 or 0.001).
  • POST_ONLY: Order type that only adds liquidity (earns maker rebates, fails if crossing).
  • GTC (Good-Til-Cancel): Order type that fills immediately as taker (pays taker fees).
  • Orphaned Position: Position <5.0 shares that cannot be sold due to exchange minimum.

Strategy Nuances

Atomic Hedging Execution (v0.6.0+)

Overview: The bot places entry+hedge pairs simultaneously to guarantee profit structure.

Sponsors

Details

Repository
github.com/niller2005/polyflup
Categories
Backend & APIs, Finance & Trading
First seen
Jun 3, 2026
1opensensenova avatarsn-da-image-captionopensensenova/sensenova-skills图片理解与数据提取 skill。当图片文件(.png/.jpg/.jpeg/.gif/.webp/.bmp)是主要输入且用户需要理解、提取数据或分析图片内容时使用。提供预配置的 caption 脚本(scripts/caption.py),通过 vision 模型将图片转为文本描述,无需额外配置 API Key。覆盖:143skills.sh installs
2cinience avataralicloud-solution-content-article-illustrator-testcinience/alicloud-skillsSmoke test for alicloud-solution-content-article-illustrator. Validate solution-skill structure, compatibility-oriented documentation, prompt-before-image workf141skills.sh installs
3hoodini avatarcopilot-sdkhoodini/ai-agents-skillsBuild agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sess139skills.sh installs
4raphaelsalaja avatarpseudo-elementsraphaelsalaja/userinterface-wikiAudit CSS for pseudo-element best practices and View Transitions API usage. Use when reviewing hover effects, decorative layers, or page transitions. Outputs fi139skills.sh installs
5samhvw8 avatarinfra-engineersamhvw8/dotfilesComprehensive infrastructure engineering covering DevOps, cloud platforms, FinOps, and DevSecOps. Platforms: AWS (EC2, Lambda, S3, ECS, EKS, RDS, CloudFormation139skills.sh installs
6fanthus avataropenclaw-expertfanthus/agent-skillsOpenClaw learning expert that retrieves and synthesizes information from official documentation (https://docs.openclaw.ai) and GitHub repository (https://github137skills.sh installs