← 返回
未分类 Key 中文

Kalshi Politics Random Buyer Publish

Dry-run Kalshi skill that finds politics-related markets, picks a valid candidate at random, runs Simmer context checks, and proposes a trade plan without pl...
干运行Kalshi技能,查找政治相关市场,随机抽取有效候选人,执行Simmer上下文检查,并提出不实际下单的交易计划。
skybinjf skybinjf 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 需要
★ 0
Stars
📥 328
下载
💾 0
安装
1
版本
#latest

概述

Kalshi Politics Random Buyer

This skill scans Kalshi for politics-related markets, randomizes the candidate pool, checks Simmer context safeguards, and prints a manual-confirmation trade plan for one valid candidate.

> This is a template. The default signal is intentionally simple: find a politics market at random, then only keep it if context and edge checks still pass. Remix the query set, side logic, price filters, and sizing model with your own thesis.

What It Does

On each run, the skill:

  1. Searches Kalshi importable markets using politics-related queries.
  2. Falls back to a global Kalshi scan when keyword searches return nothing.
  3. Filters for politics candidates with usable tickers and URLs.
  4. Ignores markets outside a configurable price band.
  5. Randomizes the candidate list.
  6. Ensures each candidate is indexed in Simmer using check-then-import.
  7. Fetches Kalshi market context and skips risky candidates.
  8. Picks YES or NO using a simple fair-probability edge rule.
  9. Sizes the hypothetical trade with simmer_sdk.sizing.size_position().
  10. Prints a structured execution plan and reasoning for human review.

Important Limitation

This template is intentionally non-executing.

  • Passing --live is rejected.
  • No real order is sent.
  • No wallet private key is needed for the default workflow.
  • The output is a manual-review execution plan, not an order.

Required Files

  • SKILL.md
  • clawhub.json
  • trade_skill.py

Environment Variables

Credentials

  • SIMMER_API_KEY (required): Your Simmer API key.

Strategy Config

  • SEARCH_QUERIES: Comma-separated politics search terms. Default: election,president,presidency,senate,house,governor,politics,campaign,ballot,nominee,party
  • MAX_MARKETS_PER_QUERY: Maximum Kalshi results to inspect per query. Default: 50
  • MIN_PRICE: Minimum YES price allowed. Default: 0.02
  • MAX_PRICE: Maximum YES price allowed. Default: 0.98
  • FAIR_PROBABILITY: Fair YES probability for edge checks. Default: 0.55
  • MIN_EDGE: Minimum edge required to produce a plan. Default: 0.02
  • MAX_SLIPPAGE_PCT: Skip candidates with excessive slippage. Default: 0.15
  • RANDOM_SEED: Optional integer seed for reproducible selection.

Safety Model

  • Manual-confirmation only.
  • Uses Simmer context before proposing a trade.
  • Skips severe flip-flop, HOLD/SKIP recommendations, resolved markets, and excessive slippage.
  • Uses bankroll-aware sizing instead of a hard-coded stake.
  • Avoids publishing wallet identifiers in reasoning.

Local Usage

Default planning run:

export SIMMER_API_KEY="sk_live_..."
python trade_skill.py

Deterministic planning run:

export RANDOM_SEED="7"
python trade_skill.py

Custom politics search:

export SEARCH_QUERIES="president,election,governor"
export FAIR_PROBABILITY="0.60"
python trade_skill.py

Remix Ideas

  • Replace random candidate selection with volume or liquidity ranking.
  • Add event-level filters for US elections only.
  • Add position-awareness to avoid repeat exposure.
  • Convert the dry-run plan into a proposal file instead of stdout.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-07 21:04 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 843 📥 322,823
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,490 📥 553,931
professional

Threshold Trader

skybinjf
当价格偏离您设定的概率阈值时,自动交易预测市场,结合凯利准则确定仓位大小并实施安全检查。
★ 0 📥 377