Automated weather prediction market trading bot. Detects edges between GFS ensemble forecasts and Polymarket pricing, sizes positions with fractional Kelly criterion.
uv tool install git+https://github.com/Xeron2000/wedge# 1. Initialize config
wedge config init
# 2. Set API keys
wedge config set polymarket_private_key "0x..."
wedge config set polymarket_api_key "your-key"
wedge config set polymarket_api_secret "your-secret"
# 3. Run in dry-run mode
wedge run
# 4. Run in live mode
wedge run --liveWedge uses a hierarchical config system:
Priority: CLI args > env vars > config file > defaults
Locations:
- Config:
~/.config/wedge/config.toml - Database:
~/.local/share/wedge/wedge.db
wedge config init # Create config file
wedge config set <key> <value> # Set a value
wedge config show # View all settings
wedge config path # Show file locationsSee docs/CONFIG.md for full documentation.
wedge scan --city NYC
wedge run --dry-run
wedge run --dry-run --bankroll 500 --kelly 0.10
wedge run --dry-run --telegram
wedge run --live --bankroll 1000
wedge stats --days 30Config file is recommended, but env vars still work:
# Telegram (optional)
export WEDGE_TELEGRAM_TOKEN="..."
export WEDGE_TELEGRAM_CHAT_ID="..."
# Polymarket (required for --live)
export WEDGE_POLYMARKET_PRIVATE_KEY="..."
export WEDGE_POLYMARKET_API_KEY="..."
export WEDGE_POLYMARKET_API_SECRET="..."uv run pytest