Quick Start
Three realistic workflows to get you productive.
1. Find and inspect a market
# Search for active BTC marketspolygolem discover search --query "btc 5m" --limit 5
# Discover crypto markets with enrichmentpolygolem discover crypto --asset BTC --interval 5m --enrich
# Resolve the current window directly (deterministic, no search)polygolem discover crypto-window --asset BTC --interval 5m --enrich
# Get full market detailspolygolem discover market --id "0xbd31dc8a..."
# Get everything at once — Gamma metadata + CLOB tick size, fee, orderbookpolygolem discover enrich --id "0xbd31dc8a..."
# Live stream crypto market eventspolygolem stream crypto --asset BTC --interval 5m --max-messages 10
# Quick marketdata snapshots for cryptopolygolem marketdata crypto --asset ETH --limit 5
# List all 6 active 5m crypto marketspolygolem discover crypto-5m --enrich
# One-command paper trade on current windowpolygolem paper trade --asset BTC --interval 5m --side up --size 12. Onboard your deposit wallet (required for trading)
Polygolem’s only supported trading mode is deposit wallet (type 3 / POLY_1271). EOA, proxy, and Safe are blocked for new API users by CLOB V2.
# Get builder credentials (free) at polymarket.com/settings?tab=builder# Then deploy, approve, and fund in one command:POLYMARKET_PRIVATE_KEY="0x..." \POLYMARKET_BUILDER_API_KEY="..." \POLYMARKET_BUILDER_SECRET="..." \POLYMARKET_BUILDER_PASSPHRASE="..." \ polygolem deposit-wallet onboard --fund-amount 14 --json
# Sync CLOB balancepolygolem clob update-balance --asset-type collateral
# Check your balancepolygolem clob balance --asset-type collateral
# Place an orderpolygolem clob create-order \ --token "123..." \ --side buy \ --price 0.51 \ --size 10 \ --output json3. Use as a Go SDK
import "github.com/TrebuchetDynamics/polygolem/pkg/orderbook"
reader := orderbook.NewReader("")book, err := reader.OrderBook(ctx, "token-id-here")// book.Bids[0].Price = 0.51// book.Asks[0].Price = 0.53Next
- Market Discovery guide — Gamma API deep dive
- CLI Reference — every command
- Go SDK Reference — every package