agentleFS
SpartanLabsXyzSpartanLabsXyz/simmer-sdk/skills/polymarket-dca-eval-trader/SKILL.md

polymarket-dca-eval-trader

Skill56 starsChanged 10 days agoMITView on GitHub

Build and optionally execute a three-tranche Polymarket DCA plan with prop-firm-shaped evaluation envelope checks. Use when the user wants a Bubbles/Roya-style staged averaging template for one thesis, with paper mode by default and explicit live opt-in.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read DISCLAIMER.md before connecting funds.

    line 15
  2. Very specific:

    Every journaled event includes source=sdk:polymarket-dca-eval-trader.

    line 23
  3. Distinctive:

    No claim is made that this passes Propr or any prop challenge.

    line 26
  4. Distinctive:

    Before a live order, the skill reports whether the executable tranche size would remain inside:

    line 65
  5. Distinctive:

    Do not use this skill for:

    line 115

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Polymarket DCA Eval Trader

Three-tranche Polymarket DCA template for a single selected thesis. It is modeled as a Bubbles/Roya-style staged averaging framework, not as a guarantee of passing any evaluation.

Read DISCLAIMER.md before connecting funds.

Safety Rails

  • Paper mode is the default. Real orders require --live.
  • Exactly 3 tranches are supported. This is intentional so sizing and risk checks stay inspectable.
  • Per-market and daily exposure caps are enforced before any live order.
  • SDK preflight runs before live trading.
  • Every journaled event includes source=sdk:polymarket-dca-eval-trader.
  • SDK risk monitors are attached only when market duration supports them. Short markets may resolve before monitor cadence can act.
  • Defaults are configurable, not a pass guarantee.
  • No claim is made that this passes Propr or any prop challenge. Partnership or marketing claims remain blocked on a separate Adrian decision.

Strategy Shape

The skill enters one thesis through exactly three averaging levels:

TrancheDefault triggerDefault weight
10.0% price displacement or 0h elapsed34%
22.5% adverse price displacement or 24h elapsed33%
35.0% adverse price displacement or 48h elapsed33%

Schedule format:

SIMMER_DCA_EVAL_TRANCHE_SCHEDULE="0:0:0.34,2.5:24:0.33,5:48:0.33"

Each entry is:

displacement_pct:elapsed_hours:size_weight

A tranche is eligible when either its adverse price displacement or elapsed-time trigger fires.

Default SL/TP

The default stop-loss and take-profit thresholds follow the requested Roya/Bubbles reference shape:

KnobDefault
SIMMER_DCA_EVAL_STOP_LOSS_PCT2.5
SIMMER_DCA_EVAL_TAKE_PROFIT_PCT4.5

The thresholds are calculated from weighted average selected-token entry price. They are configurable defaults, not evidence that the strategy is profitable.

Eval Envelope

Before a live order, the skill reports whether the executable tranche size would remain inside:

ConstraintDefault
Profit target10%
Static drawdown6%
Daily drawdown3%

The envelope assumes a full loss on the proposed executable tranche. Passing the envelope only means the proposed size fits those constraints. It does not predict trade outcome, skill profitability, or prop challenge approval.

Quick Start

# Paper plan only
python dca_eval_trader.py --market MARKET_ID --side yes --anchor-price 0.55

# Paper plan with current price and elapsed time
python dca_eval_trader.py --market MARKET_ID --side yes --anchor-price 0.55 --current-price 0.52 --elapsed-hours 25

# Live trading after reviewing the JSON plan
python dca_eval_trader.py --market MARKET_ID --side yes --anchor-price 0.55 --current-price 0.52 --elapsed-hours 25 --live

Configuration

Env varDefaultDescription
SIMMER_DCA_EVAL_TOTAL_BUDGET30Total intended cost across all 3 tranches
SIMMER_DCA_EVAL_PER_MARKET_CAP50Max exposure on one market
SIMMER_DCA_EVAL_DAILY_CAP100Max new exposure per UTC day
SIMMER_DCA_EVAL_TRANCHE_SCHEDULE0:0:0.34,2.5:24:0.33,5:48:0.33Three tranche rules
SIMMER_DCA_EVAL_STOP_LOSS_PCT2.5Stop-loss percent from average entry
SIMMER_DCA_EVAL_TAKE_PROFIT_PCT4.5Take-profit percent from average entry
SIMMER_DCA_EVAL_ACCOUNT_SIZE10000Eval-envelope account size
SIMMER_DCA_EVAL_TARGET_PCT10Profit target percentage
SIMMER_DCA_EVAL_STATIC_DRAWDOWN_PCT6Static drawdown percentage
SIMMER_DCA_EVAL_DAILY_DRAWDOWN_PCT3Daily drawdown percentage

Journal

Default journal path:

~/.simmer/polymarket-dca-eval-trader/journal.jsonl

The journal records paper plans and live trades so repeated runs can enforce daily cap usage.

When Not To Use

Do not use this skill for:

  • Multi-market baskets.
  • Martingale sizing.
  • Fast markets where monitors cannot act before resolution unless the position is sized as if no exit automation exists.
  • Any public claim that this passes a prop-firm challenge.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.