polyflup-history
БесплатноБез исполняемых скриптовНе проверенChronological log of system improvements and session summaries for PolyFlup.
Об этом скилле
Session Improvements Summary
2026-10-27 (Polymarket V2 migration + terminal dashboard)
- CLOB V2: Migrated to
py-clob-client-v2; the V1 client no longer works on production (cutover 2026-04-28). - pUSD: Collateral changed from USDC.e; balance reads and logs updated. CTF redeem now goes through
CtfCollateralAdapterwith a one-timesetApprovalForAll. - Data API v2:
/v2/positionsreplaces/positionsand/closed-positions(v1 retired 2026-10-24). - Fees: Corrected to
0.07 × p × (1 − p)pUSD per share for takers; makers free with a 20% rebate pool. - Fixed latent bug: settlement audit read
assetId/pnl, which never existed in the API response. - TUI: Added
uv run tui.py(Rich, read-only dashboard). - Not live-tested: relayer redeem via the adapter, and order posting (no funded wallet/credentials available in the session).
2026-01-19 (v0.6.0 Release - Atomic Hedging Overhaul)
- Atomic Hedging Strategy: Complete overhaul to simultaneous entry+hedge pairs via batch API
- Batch placement with combined price threshold (≤ $0.99) guarantees profit structure
- POST_ONLY orders by default to earn maker rebates (0.15%)
- Smart GTC fallback after 3 POST_ONLY crossing failures (Bug #10 fix)
- 120-second fill timeout with immediate cancellation of unfilled orders
- Eliminates all unhedged positions
- Time-Aware Emergency Liquidation: Progressive pricing based on time remaining
- PATIENT mode (>600s): Small drops (1¢), long waits (10-20s) - maximize recovery
- BALANCED mode (300-600s): Moderate drops (2-5¢), medium waits (6-10s)
- AGGRESSIVE mode (<300s): Rapid drops (5-10¢), short waits (5-10s) - ensure liquidation
- MIN_ORDER_SIZE Smart Hold Logic: Positions <5.0 shares held if winning, orphaned if losing
- Exchange minimum is 5.0 shares, bot adapts intelligently
- Example: 3.77 shares @ $0.31 entry, current $0.50 → HOLD (profit $0.72)
- Pre-Settlement Exit Strategy: Confidence-based early exit of losing side (T-180s to T-45s)
- Uses same strategy signals as entry logic
- Sells losing side if confidence > 80% on one side
- Keeps winning side for full $1.00 resolution profit
- Deprecated Features: Exit plan, stop loss, scale-in, hedged reversal (replaced by atomic hedging)
- Deployment: Committed bf6ba91 to production
- Documentation: Updated all docs, skills, and configuration files for atomic hedging
2026-01-12 (v0.5.0 Release)
- Bayesian Confidence Calculation: Implemented alternative confidence calculation using proper Bayesian evidence accumulation with log-odds and likelihood ratios
- Dual Calculation System: Both additive and Bayesian methods calculated simultaneously for comprehensive A/B testing capabilities
- Market Prior Integration: Bayesian method starts with Polymarket orderbook probability as prior, anchoring calculations to market reality
- Quality Factor System: Signal evidence strength modulated by per-signal quality factors (0.7-1.5x multiplier on log-likelihood)
- Database Schema Update: Migration 007 added
additive_confidence,additive_bias,bayesian_confidence,bayesian_bias,market_prior_p_upcolumns - Configuration Toggle:
BAYESIAN_CONFIDENCEflag in settings allows switching between additive and Bayesian methods - A/B Testing Workflow: Collect 100+ trades with both methods stored, then compare win rates using SQL queries
- Advantages: Bayesian method naturally handles conflicting signals (they cancel out), properly combines independent evidence, and provides better uncertainty handling
2026-01-10 (v0.4.4 Release)
- Exit Order Repair Fix: Implemented 0.05 share threshold to prevent infinite repair loops from exchange rounding differences
- Real-Time Exit Validation: Added 1-second cycle exit order size validation to catch mismatches immediately
- Balance API Cleanup: Removed noisy warnings for near-zero balance values to reduce log spam
- MIN_SIZE Display: Added "Exit skipped" status indicator for positions below 5.0 share threshold
- MIN_EDGE Enforcement: Fixed threshold enforcement to prevent low-confidence entries from bypassing filters
- Notification Logging: Improved concise format with symbol and price info for better readability
- Duplicate Log Removal: Eliminated duplicate position logging in monitoring loop for cleaner reports
2026-01-08 (v0.4.3 Release)
- Enhanced Position Reports: Implemented clean, aligned format with directional emojis (📈📉) and status indicators (⏰⏳📊)
- Professional Display: Removed debug spam and redundant logging for cleaner trading logs
- Visual Clarity: Perfect alignment with trade IDs, position sizes, and PnL percentages
- Unified Format: Consolidated position monitoring with consistent visual indicators
2026-01-08 (v0.4.2 Release)
- Confidence Algorithm: Fixed false 100% confidence signals with proper capping at 85% and enhanced validation
Установить polyflup-history в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл polyflup-history?
Chronological log of system improvements and session summaries for PolyFlup.
Как установить скилл polyflup-history?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл polyflup-history запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic