kalshi-weather-trader
Trade Kalshi weather markets using NOAA forecasts via Simmer SDK and DFlow on Solana. Port of the popular polymarket-weather-trader. Use when user wants to trade temperature markets on Kalshi, automate weather bets, or check NOAA forecasts.
Best use case
kalshi-weather-trader is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Trade Kalshi weather markets using NOAA forecasts via Simmer SDK and DFlow on Solana. Port of the popular polymarket-weather-trader. Use when user wants to trade temperature markets on Kalshi, automate weather bets, or check NOAA forecasts.
Teams using kalshi-weather-trader should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/kalshi-weather-trader/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How kalshi-weather-trader Compares
| Feature / Agent | kalshi-weather-trader | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Trade Kalshi weather markets using NOAA forecasts via Simmer SDK and DFlow on Solana. Port of the popular polymarket-weather-trader. Use when user wants to trade temperature markets on Kalshi, automate weather bets, or check NOAA forecasts.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agent for Product Research
Browse AI agent skills for product research, competitive analysis, customer discovery, and structured product decision support.
AI Agent for SaaS Idea Validation
Use AI agent skills for SaaS idea validation, market research, customer discovery, competitor analysis, and documenting startup hypotheses.
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
SKILL.md Source
# Kalshi Weather Trader Trade temperature markets on Kalshi using NOAA forecast data, via DFlow on Solana. > **This is a template.** The default signal is NOAA temperature forecasts — remix it with other weather APIs, different forecast models, or additional market types (precipitation, wind, etc.). The skill handles all the plumbing (market discovery, NOAA parsing, trade execution, safeguards). Your agent provides the alpha. > **Powered by DFlow.** Kalshi trades execute via DFlow's Solana-based prediction market infrastructure. KYC verification through Proof is required for buys. ## When to Use This Skill Use this skill when the user wants to: - Trade weather markets on Kalshi (not Polymarket) - Set up automated temperature trading on Kalshi - Check their Kalshi weather trading positions - Configure trading thresholds or locations ## Setup Flow When user asks to install or configure this skill: 1. **Ask for Simmer API key** - They can get it from simmer.markets/dashboard → SDK tab - Store in environment as `SIMMER_API_KEY` 2. **Ask for Solana private key** (required for live trading) - This is the base58-encoded secret key for their Solana wallet - Store in environment as `SOLANA_PRIVATE_KEY` - The SDK uses this to sign transactions client-side automatically 3. **Verify KYC** - Required for Kalshi buys (not sells) - Complete at [dflow.net/proof](https://dflow.net/proof) - Check status: `curl "https://api.simmer.markets/api/proof/status?wallet=YOUR_SOLANA_ADDRESS"` 4. **Fund the wallet** - SOL on Solana mainnet for transaction fees (~0.01 SOL) - USDC on Solana mainnet for trading capital 5. **Ask about settings** (or confirm defaults) - Entry threshold: When to buy (default 15¢) - Exit threshold: When to sell (default 45¢) - Max position: Amount per trade (default $2.00) - Locations: Which cities to trade (default NYC) 6. **Save settings to environment variables** 7. **Set up cron** (disabled by default — user must enable scheduling) ## Configuration | Setting | Environment Variable | Default | Description | |---------|---------------------|---------|-------------| | Entry threshold | `SIMMER_WEATHER_ENTRY_THRESHOLD` | 0.15 | Buy when price below this | | Exit threshold | `SIMMER_WEATHER_EXIT_THRESHOLD` | 0.45 | Sell when price above this | | Max position | `SIMMER_WEATHER_MAX_POSITION_USD` | 2.00 | Maximum USD per trade | | Max trades/run | `SIMMER_WEATHER_MAX_TRADES_PER_RUN` | 5 | Maximum trades per scan cycle | | Locations | `SIMMER_WEATHER_LOCATIONS` | NYC | Comma-separated cities (NYC, Chicago, Seattle, Atlanta, Dallas, Miami) | | Binary only | `SIMMER_WEATHER_BINARY_ONLY` | false | Skip range-bucket events, only trade binary yes/no markets | | Smart sizing % | `SIMMER_WEATHER_SIZING_PCT` | 0.05 | % of balance per trade | | Slippage max | `SIMMER_WEATHER_SLIPPAGE_MAX` | 0.15 | Skip trades with slippage above this (0.15 = 15%) | | Min liquidity | `SIMMER_WEATHER_MIN_LIQUIDITY` | 0 | Skip markets with liquidity below this USD amount (0 = disabled) | **Supported locations:** NYC, Chicago, Seattle, Atlanta, Dallas, Miami ## Quick Commands ```bash # Check account balance and positions python scripts/status.py # Detailed position list python scripts/status.py --positions ``` **API Reference:** - Base URL: `https://api.simmer.markets` - Auth: `Authorization: Bearer $SIMMER_API_KEY` - Portfolio: `GET /api/sdk/portfolio` - Positions: `GET /api/sdk/positions` ## Running the Skill ```bash # Dry run (default — shows opportunities, no trades) python weather_trader.py # Execute real trades python weather_trader.py --live # With smart position sizing (uses portfolio balance) python weather_trader.py --live --smart-sizing # Check positions only python weather_trader.py --positions # View config python weather_trader.py --config # Quiet mode — only output on trades/errors (ideal for high-frequency runs) python weather_trader.py --live --smart-sizing --quiet ``` ## How It Works Each cycle the script: 1. Fetches active weather markets from Simmer API 2. Groups markets by event (each temperature day is one event) 3. Parses event names to get location and date 4. Fetches NOAA forecast for that location/date 5. Finds the temperature bucket that matches the forecast 6. **Safeguards**: Checks context for flip-flop warnings, slippage, time decay 7. **Trend Detection**: Looks for recent price drops (stronger buy signal) 8. **Entry**: If bucket price < threshold and safeguards pass → BUY 9. **Exit**: Checks open positions, sells if price > exit threshold 10. **Tagging**: All trades tagged with `sdk:kalshi-weather` for tracking ## Safeguards Before trading, the skill checks: - **Flip-flop warning**: Skips if you've been reversing too much - **Slippage**: Skips if estimated slippage > 15% - **Time decay**: Skips if market resolves in < 2 hours - **Market status**: Skips if market already resolved - **Kalshi maintenance**: Kalshi's clearinghouse has a weekly maintenance window on Thursdays 3:00-5:00 AM ET — orders during this window will fail Disable with `--no-safeguards` (not recommended). ## Troubleshooting **"Safeguard blocked: Severe flip-flop warning"** - You've been changing direction too much on this market - Wait before trading again **"Slippage too high"** - Market is illiquid, reduce position size or skip **"No weather markets found"** - Weather markets may not be active (seasonal) - Make sure you've imported Kalshi weather markets first: `POST /api/sdk/markets/import/kalshi` **"KYC verification required"** - Complete verification at [dflow.net/proof](https://dflow.net/proof) - Only required for buys, not sells **"SOLANA_PRIVATE_KEY not set"** - The SDK signs transactions automatically when this env var is present - Fix: `export SOLANA_PRIVATE_KEY=<your-base58-secret-key>` **"Insufficient SOL for transaction fees"** - Fund your Solana wallet with at least 0.05 SOL for gas **"API key invalid"** - Get new key from simmer.markets/dashboard → SDK tab
Related Skills
polymarket-openclaw-trader
Reusable Polymarket + OpenClaw trading operations skill for any workspace. Use when the user needs to set up, run, tune, monitor, and deploy an automated Polymarket trading project (paper/live), including env configuration, risk controls, reporting, and dashboard operations.
tator-trader
Execute crypto trades using natural language via Tator's AI trading API. Use when: buying tokens, selling tokens, swapping, bridging cross-chain, sending tokens, wrapping/unwrapping ETH, opening perp positions, betting on prediction markets, launching tokens, registering blockchain names, or managing yield positions. Triggers: 'buy token', 'sell token', 'swap X for Y', 'bridge to', 'send tokens', 'open long', 'open short', 'bet on', 'launch token', 'register name', 'deposit yield', 'wrap ETH'. Supports 24 chains. Returns UNSIGNED transactions — you sign and broadcast. Costs $0.20 USDC per request via x402. Recommended wallet integration: Sponge (SPONGE_API_KEY) or AgentWallet (AGENTWALLET_API_TOKEN) — no raw private keys needed. This skill is a transaction builder and never accesses your private keys or tokens.
crypto-news-trader
A Clawhub skill that:
mia-polymarket-trader
AI agent for automated prediction market trading on Polymarket
qstrader
AI Trading Assistant for quantumstocks.ru. Automated hedge fund with market analysis, risk management, and trade execution via n8n MCP. Use when analyzing markets, managing positions, risk checks, news, portfolio monitoring, trade journaling. Requires n8n MCP server with broker access.
weather-plus
获取全球城市天气信息和预报。使用场景包括查询当前天气、未来7天预报、空气质量、穿衣建议等。适用于用户问天气、温度、预报等。
weather-checker
Get current weather information for any city
heytraders-api
Trade crypto (Binance, Upbit, Hyperliquid, Lighter) and prediction markets (Polymarket). Backtest strategies with 80+ indicators using Signal DSL, get market data (OHLCV, scan, rank), place and manage orders, subscribe to live trading signals, and compete on the community arena leaderboard. Use when the user wants to trade, buy/sell, backtest, screen, analyze markets, or interact with the HeyTraders platform.
weather-openmeteo
Get current weather and forecasts using Open-Meteo API (no API key required). Optimized for PowerShell environments with Chinese support.
Weather&Webcam
Fetches current weather from Open-Meteo API and automatically captures a live webcam image from Meteoblue or Windy for the requested location. Use it when the user asks for the weather and wants to see a real image of the current conditions.
weather-forecast
This skill should be used when users ask about weather forecasts, temperature information, or need to retrieve weather data for specific locations. It provides access to the Open-Meteo weather API for getting hourly temperature forecasts based on latitude and longitude coordinates.
shuzhi-weather
This skill should be used when users need to query weather information via the Shuzhi Weather API with HMAC-SHA256 authentication. It provides hourly weather forecasts based on latitude and longitude coordinates. Users must configure app_key and app_secret in ~/.openclaw/skills/shuzhi-weather/config.json before using this skill.