Social Trends & Wellbeing Trader
This is a template.
The default signal is keyword-based market discovery combined with conviction-based sizing and policy_bias() — remix it with the data sources listed below.
The skill handles all the plumbing (market discovery, trade execution, safeguards). Your agent provides the alpha.
Strategy Overview
Social policy markets are dominated by ideologically motivated traders who bet on what they want to happen, not what evidence suggests will happen. This is the most consistent and exploitable mispricing pattern on Polymarket. The skill corrects for it with two hard-coded structural edges: issue-type ideological distortion and the US legislative calendar.
Signal Logic
Default Signal: Conviction-Based Sizing with Policy Bias
- 1. Discover active social policy and wellbeing markets on Polymarket
- Compute base conviction from distance to threshold (0% at boundary → 100% at p=0/p=1)
- Apply
policy_bias() — combines ideological motivation correction with legislative calendar - Size =
max(MIN_TRADE, conviction × bias × MAX_POSITION) — capped at MAXPOSITION - Skip markets with spread > MAXSPREAD or fewer than MIN_DAYS to resolution
Policy Bias (built-in, no API required)
Factor 1 — Ideological Motivation Correction
The dominant pricing force in social policy markets is not information — it is tribal loyalty. Each policy domain attracts a different ideological crowd, each systematically overpricing the outcome they want:
| Issue type | Multiplier | The bias to correct |
|---|
| FDA drug approval (post Phase 3 / NDA) | 1.20x | Retail applies moral judgment to a regulatory process (~85-90% NDA approval rate) |
| Social media ban / teen smartphone restriction |
1.15x | Bipartisan consensus exists — retail underprices because gridlock fatigue |
| Mental health funding / parity mandate |
1.05x | Broadly popular across party lines — retail conflates sensitive topic with opposition |
| Homelessness / poverty statistics (data release) |
1.00x | Objective HUD/Census data — no ideological signal |
| Gun control / background checks / red flag laws |
0.90x | Bidirectional overcrowding — both crowds partially cancel, more efficient |
| UBI / guaranteed income / welfare expansion |
0.75x | Progressive overcrowding — retail prices political wish, not legislative reality |
| Psychedelics outside FDA approval context |
0.72x | Clinical enthusiasm → retail overprices state/federal legalization by years |
| Cannabis / marijuana federal legalization |
0.70x | Most consistently overpriced category — advocates have dominated YES since 1970 |
The Cannabis Rule deserves emphasis: federal cannabis legalization markets have resolved NO every single time since 1970. Retail prices them at 15–40% based on polling support, confusing public opinion with legislative probability. The federal base rate is near zero. Every federal cannabis legalization market is a structural NO.
Factor 2 — US Legislative Calendar
GovTrack documents that all US bills pass at ~3–5%. But this already-low rate varies sharply by calendar:
| Condition | Multiplier | Why |
|---|
| Odd year (non-election, Jan–Dec) | 1.00x | Normal legislative session |
| Even year (election year, Jan–Jul) |
0.95x | Campaigns ramping, normal-ish |
| Even year (election year, Aug–Dec) |
0.80x | Pre-election gridlock — passage rates drop ~40–50% vs odd years |
This calendar multiplier only applies to legislative markets ("will Congress pass X", "will Senate vote on Y"). FDA approvals, HUD data releases, and similar non-legislative markets are unaffected.
The skill prints election_gridlock=True/False on startup so you always know which regime you're in. (2026 is a US midterm year — gridlock mode activates August 2026.)
Combined Examples
| Market | Issue mult | Calendar mult | Final bias |
|---|
| "Will FDA approve MDMA therapy?" | 1.20x | 1.00x (not legislative) | 1.20x |
| "Will Congress pass social media age bill?" (Sep 2026) |
1.15x | 0.80x (election gridlock) |
0.92x |
| "Will federal cannabis be legalized?" (odd year) | 0.70x | 1.00x |
0.70x |
| "Will federal cannabis be legalized?" (Sep 2026) | 0.70x | 0.80x |
0.56x → floor |
Keywords Monitored
CODEBLOCK0
Remix Signal Ideas
- - GovTrack.us API: Bill stage progression (introduced → committee → floor) — committee advancement is the single strongest predictor of passage; feed bill stage into
p to trade divergence from naive retail pricing - SAMHSA drug survey data: Annual survey release dates for drug use and policy markets — data-release markets have known calendars retail ignores
- Gallup social trends polling: Long-run public opinion series for legalization and mental health — useful for calibrating YES_THRESHOLD per issue
Safety & Execution Mode
The skill defaults to paper trading (venue="sim"). Real trades only with --live flag.
| Scenario | Mode | Financial risk |
|---|
| INLINECODE7 | Paper (sim) | None |
| Cron / automaton |
Paper (sim) | None |
|
python trader.py --live | Live (polymarket) | Real USDC |
INLINECODE9 and cron: null — nothing runs automatically until you configure it in Simmer UI.
Required Credentials
| Variable | Required | Notes |
|---|
| INLINECODE11 | Yes | Trading authority. Treat as high-value credential. |
Tunables (Risk Parameters)
All declared as tunables in clawhub.json and adjustable from the Simmer UI.
| Variable | Default | Purpose |
|---|
| INLINECODE14 | INLINECODE15 | Max USDC per trade (reached at 100% conviction) |
| INLINECODE16 |
5000 | Min market volume filter (USD) |
|
SIMMER_MAX_SPREAD |
0.12 | Max bid-ask spread (12%) — wider for niche policy markets |
|
SIMMER_MIN_DAYS |
7 | Min days until resolution |
|
SIMMER_MAX_POSITIONS |
7 | Max concurrent open positions |
|
SIMMER_YES_THRESHOLD |
0.38 | Buy YES if market price ≤ this value |
|
SIMMER_NO_THRESHOLD |
0.62 | Sell NO if market price ≥ this value |
|
SIMMER_MIN_TRADE |
5 | Floor for any trade (min USDC regardless of conviction) |
Dependency
INLINECODE30 by Simmer Markets (SpartanLabsXyz)
- - PyPI: https://pypi.org/project/simmer-sdk/
- GitHub: https://github.com/SpartanLabsXyz/simmer-sdk
技能名称: polymarket-social-trends-trader
详细描述:
社会趋势与福祉交易员
这是一个模板。
默认信号是基于关键词的市场发现,结合基于信念的头寸规模和policy_bias()——你可以使用下面列出的数据源对其进行重新组合。
该技能处理所有底层工作(市场发现、交易执行、安全防护)。你的智能体提供阿尔法收益。
策略概述
社会政策市场由受意识形态驱动的交易员主导,他们押注的是自己希望发生的结果,而非证据表明会发生的结果。这是Polymarket上最一致且可利用的错误定价模式。该技能通过两个硬编码的结构性优势来纠正这一点:议题类型的意识形态扭曲和美国立法日历。
信号逻辑
默认信号:基于信念的头寸规模与政策偏差
- 1. 在Polymarket上发现活跃的社会政策和福祉市场
- 根据与阈值的距离计算基础信念(边界处为0% → p=0或p=1时为100%)
- 应用policy_bias()——结合了意识形态动机修正与立法日历
- 头寸规模 = max(最小交易额, 信念 × 偏差 × 最大头寸)——上限为最大头寸
- 跳过价差大于最大价差或距离决议日少于最小天数的市场
政策偏差(内置,无需API)
因素1——意识形态动机修正
社会政策市场中的主导定价力量不是信息——而是部落忠诚。每个政策领域吸引不同的意识形态群体,每个群体都系统性地高估他们想要的结果的价格:
| 议题类型 | 乘数 | 需要修正的偏差 |
|---|
| FDA药物批准(III期临床/新药申请后) | 1.20倍 | 散户对监管流程施加道德判断(新药申请批准率约85-90%) |
| 社交媒体禁令/青少年智能手机限制 |
1.15倍 | 存在两党共识——散户因僵局疲劳而低估价格 |
| 心理健康资金/平等授权 |
1.05倍 | 跨党派广泛受欢迎——散户将敏感话题与反对意见混淆 |
| 无家可归/贫困统计数据(数据发布) |
1.00倍 | 客观的住房和城市发展部/人口普查数据——无意识形态信号 |
| 枪支管控/背景调查/红旗法 |
0.90倍 | 双向拥挤——两方人群部分抵消,效率更高 |
| 全民基本收入/保障收入/福利扩张 |
0.75倍 | 进步派拥挤——散户定价的是政治愿望,而非立法现实 |
| FDA批准背景外的迷幻药 |
0.72倍 | 临床热情→散户将州/联邦合法化的时间高估了数年 |
| 大麻/大麻联邦合法化 |
0.70倍 | 最持续被高估的类别——自1970年以来支持者一直主导YES |
大麻规则值得强调:自1970年以来,联邦大麻合法化市场每次都以NO告终。散户根据民调支持率将其定价在15-40%,混淆了公众意见与立法概率。联邦基准率接近于零。每个联邦大麻合法化市场都是一个结构性的NO。
因素2——美国立法日历
GovTrack记录显示,所有美国法案的通过率约为3-5%。但这个本已很低的比率会因日历而急剧变化:
| 条件 | 乘数 | 原因 |
|---|
| 奇数年(非选举年,1月-12月) | 1.00倍 | 正常立法会期 |
| 偶数年(选举年,1月-7月) |
0.95倍 | 竞选活动升温,相对正常 |
| 偶数年(选举年,8月-12月) |
0.80倍 | 选举前僵局——通过率比奇数年下降约40-50% |
此日历乘数仅适用于立法市场(国会是否会通过X、参议院是否会对Y进行投票)。FDA批准、住房和城市发展部数据发布及类似的非立法市场不受影响。
该技能在启动时会打印election_gridlock=True/False,以便你始终了解当前所处的状态。(2026年是美国中期选举年——僵局模式于2026年8月激活。)
组合示例
| 市场 | 议题乘数 | 日历乘数 | 最终偏差 |
|---|
| FDA会批准MDMA疗法吗? | 1.20倍 | 1.00倍(非立法) | 1.20倍 |
| 国会会通过社交媒体年龄法案吗?(2026年9月) |
1.15倍 | 0.80倍(选举僵局) |
0.92倍 |
| 联邦大麻会合法化吗?(奇数年) | 0.70倍 | 1.00倍 |
0.70倍 |
| 联邦大麻会合法化吗?(2026年9月) | 0.70倍 | 0.80倍 |
0.56倍 → 下限 |
监控的关键词
心理健康, 自杀率, 毒品合法化, 大麻, 迷幻药,
孤独感, 社交媒体禁令, 青少年智能手机, TikTok禁令, 枪支管控,
大麻, 裸盖菇素, FDA心理健康, 全民基本收入, UBI,
贫困率, 无家可归, 阿片类药物, 芬太尼, 毒品非刑事化,
安全注射, 枪支暴力, 背景调查, 红旗法,
攻击性武器, 补充营养援助计划, 福利, 医疗补助扩展, 医疗保健可及性
可重新组合的信号思路
- - GovTrack.us API:法案阶段进展(提出→委员会→全院表决)——委员会推进是法案通过的最强单一预测指标;将法案阶段输入p以交易与散户天真定价的背离
- SAMHSA药物调查数据:药物使用和政策市场的年度调查发布日期——数据发布市场有散户忽略的已知日历
- 盖洛普社会趋势民调:关于合法化和心理健康的长期公众舆论系列——有助于校准每个议题的YES阈值
安全与执行模式
该技能默认为模拟交易(venue=sim)。仅在使用--live标志时进行真实交易。
| 场景 | 模式 | 财务风险 |
|---|
| python trader.py | 模拟 | 无 |
| 定时任务/自动化程序 |
模拟 | 无 |
| python trader.py --live | 真实(Polymarket) | 真实USDC |
autostart: false和cron: null——在你通过Simmer UI配置之前,不会自动运行任何内容。
所需凭证
| 变量 | 必需 | 备注 |
|---|
| SIMMERAPIKEY | 是 | 交易授权。请视为高价值凭证。 |
可调参数(风险参数)
全部在clawhub.json中声明为tunables,并可从Simmer UI进行调整。
| 变量 | 默认值 | 用途 |
|---|
| SIMMERMAXPOSITION | 25 | 每笔交易最大USDC(在100%信念时达到) |
| SIMMERMINVOLUME |
5000 | 最小市场成交量过滤器(美元) |
| SIMMER
MAXSPREAD | 0.12 | 最大买卖价差(12%)——针对小众政策市场放宽 |
| SIMMER
MINDAYS | 7 | 距离决议日的最小天数 |
| SIMMER
MAXPOSITIONS | 7 | 最大并发持仓数量 |
| SIMMER
YESTHRESHOLD | 0.38 | 如果市场价格≤此值,则买入YES |
| SIMMER
NOTHRESHOLD | 0.62 | 如果市场价格≥此值,则卖出NO |
| SIMMER
MINTRADE | 5 | 任何交易的最低金额(无论信念如何的最小USDC) |
依赖项
simmer-sdk by Simmer Markets (SpartanLabsXyz)
- - PyPI: https://pypi.org/project/simmer-sdk/
- GitHub: https://github.com/SpartanLabsXyz/simmer-sdk