polymarket-optimizer
Automatic parameter optimizer for polymarket-executor. Reads performance_metrics.json every 6 hours, analyzes win rates and P&L per strategy, adjusts learned_config.json to improve future performance. Also builds paper trade metrics and assesses live trading readiness. Part of the Wesley Agent Ecosystem — mirrors crypto-executor-optimizer pattern.
Why use this skill?
Optimize your Polymarket trading performance automatically. The polymarket-optimizer adjusts configurations based on real-time P&L and risk data.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/georges91560/polymarket-optimizerWhat This Skill Does
The polymarket-optimizer is a specialized automated engine designed to maintain and improve the performance of the polymarket-executor. Operating on a 6-hour cron cycle within the OpenClaw ecosystem, it systematically ingests performance metrics, simulated trade records, and portfolio status. By analyzing win rates, total trade volume, and P&L data, the agent dynamically modifies the learned_config.json file. It optimizes critical trading parameters such as strategy thresholds, capital allocation weightings, and Kelly fractions. Furthermore, it acts as a gatekeeper for live trading readiness, validating performance against a strict four-factor criteria set before allowing real-money exposure.
Installation
To install the optimizer, use the OpenClaw CLI within your terminal. Ensure your workspace is correctly configured to allow the skill to read and write to the necessary executor data directories:
clawhub install openclaw/skills/skills/georges91560/polymarket-optimizer
Once installed, you can trigger a manual optimization run or verify the cron schedule by navigating to the skill directory at /data/.openclaw/workspace/skills/polymarket-optimizer and executing python3 polymarket_optimizer.py.
Use Cases
This skill is ideal for quantitative traders who are currently paper trading on Polymarket and want to automate the feedback loop between results and configuration. It is perfect for users who want to move from manual parameter tuning to a data-driven, adaptive model that self-corrects based on market volatility and strategy performance. It is specifically designed to minimize the risk of moving to live trading by providing a clear 'readiness' score.
Example Prompts
- "OpenClaw, run a manual optimization scan for the polymarket-executor and report the results to my Telegram."
- "Show me the last 5 adjustments made by the polymarket-optimizer and explain why the parity_arbitrage allocation was changed."
- "Is the portfolio currently meeting the readiness criteria for live trading? If not, what specific metrics are failing?"
Tips & Limitations
- Safety First: Always review the
optimizer_log.jsonlfile after an automated adjustment to ensure the logic aligns with your risk tolerance. - Dependencies: The optimizer relies entirely on valid JSON inputs from the executor; ensure your executor is correctly configured to write these logs.
- Limitations: This tool is an optimizer, not a strategy designer. It requires a foundational set of strategies within the executor to function. It will not create new alpha, but will refine the execution parameters of existing code.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-georges91560-polymarket-optimizer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
crypto-sniper-oracle
Institutional-grade quantitative market oracle with Order Book Imbalance (OBI), VWAP analysis, automated reports, and Telegram alerts.
anti-injection-skill
Advanced prompt injection defense with multi-layer protection, memory integrity, and tool security wrapper. OWASP LLM Top 10 2026 compliant.
polymarket-oracle
Multi-strategy arbitrage and trading bot for Polymarket prediction markets. Scans ALL markets (crypto, politics, sports, economics, entertainment) for parity arbitrage, logical arbitrage, tail-end trading, market making, and latency opportunities.
security-sentinel
Detect prompt injection, jailbreak, role-hijack, and system extraction attempts. Applies multi-layer defense with semantic analysis and penalty scoring.
crypto-executor-optimizer
Autonomous optimizer skill for Wesley — reads Binance trading performance every 6 hours, analyzes win rate and strategy metrics, then safely tunes executor.py parameters (OBI thresholds, Kelly factor, strategy mix) via backup → modify → validate → restart.