A CLI tool for browsing and trading on prediction markets. Currently supports Polymarket and Kalshi with more platforms coming soon.
- Search and browse markets across providers
- View detailed market info and pricing
- Check open positions
- Place orders (or simulate them with
--simulate) - Watch markets with price alerts
- JSON output mode for scripting (
--json)
cargo install --path .Create a .env file (or export the variables directly) with your credentials:
# Required for market data (free at https://dashboard.domeapi.io/)
DOME_API_KEY=your_dome_api_key
# Polymarket (optional — needed for trading)
POLYMARKET_PRIVATE_KEY=your_private_key
POLYMARKET_WALLET_ADDRESS=your_wallet_address
# Kalshi (optional — needed for trading)
KALSHI_API_KEY=your_api_key
KALSHI_API_KEY_ID=your_api_key_id
KALSHI_API_URL=https://trading-api.kalshi.com/trade-api/v2 # default# List markets (all providers)
pmcli markets
# Search for a topic
pmcli markets -q "election"
# Filter by provider and liquidity
pmcli markets -p polymarket --min-liquidity 10000
# View a specific market
pmcli market poly:abc123
# Check your positions
pmcli positions
pmcli positions -p kalshi --include-settled
# Place an order
pmcli order poly:abc123 yes 10.0 --price 0.65
# Simulate an order without executing
pmcli order poly:abc123 yes 10.0 --price 0.65 --simulate
# Watch a market for price changes
pmcli watch poly:abc123 --above 0.80 --below 0.20 --interval 15