Orders and Watchlist¶
View open orders, trade history, cancel orders, and maintain a watchlist.
Orders Overview¶
The orders subcommand manages your open orders, trade history, and order cancellation. By default (no flags), it shows your current open orders.
# View open orders (default)
bullpen polymarket orders
# Trade history
bullpen polymarket orders --history
# Cancel a single real order ID
bullpen polymarket orders --cancel <ORDER_ID>
# Bulk cancel (comma-separated IDs)
bullpen polymarket orders --cancel id1,id2,id3
# Cancel ALL open orders
bullpen polymarket orders --cancel-all --yes
# Cancel all orders on a specific market
bullpen polymarket orders --cancel-market <CONDITION_ID> --yes
| Flag | Description |
|---|---|
--address |
Wallet address (used with --history) |
--history |
Show past trade history |
--cancel |
Cancel order(s) by ID; comma-separate multiple IDs |
--cancel-all |
Cancel ALL open orders |
--cancel-market |
Cancel all orders on a specific market (by condition ID) |
--yes |
Skip confirmation prompt (for cancel operations) |
Note: --history, --cancel, --cancel-all, and --cancel-market are mutually exclusive. Only one can be used at a time.
Only cancel real order IDs from successful order responses or from
bullpen polymarket orders. If a create-order command failed or JSON output is
missing result.order_id, do not pass a placeholder to cancel. The CLI rejects
obvious placeholders such as null, None, undefined, and empty comma
segments before auth or network calls.
Open Orders¶
View your current open orders (requires authentication):
Output:
Market Outcome Side Price Shares Expiration
------------------------------------------------------------------------------------
Example BTC daily price market Yes BUY 65¢ 10.00 GTC
Example ETH market cap market No SELL 42¢ 20.00 EOD
Trade History¶
View past trades:
If --address is omitted, the CLI uses your logged-in Polymarket address.
Output:
Market Outcome Side Price Size Time
------------------------------------------------------------------------------------
Example BTC daily price market Yes BUY 65¢ 10.00 2026-06-01T10:30:00Z
Example ETH market cap market No SELL 40¢ 20.00 2026-06-01T09:15:00Z
Cancel Orders¶
Cancel a Single Order¶
Output:
For direct CLOB commands, use bullpen polymarket clob cancel <ORDER_ID> for
one order and bullpen polymarket clob cancel-orders <ID1>,<ID2> for multiple
orders. The singular direct CLOB command rejects comma-separated IDs so it does
not silently cancel only the first ID.
Bulk Cancel¶
Cancel multiple orders at once by passing comma-separated IDs:
Output:
If some orders fail to cancel, the CLI reports which ones and why:
Open-order indexing can lag briefly after a successful cancel. If a just-cancelled
order still appears in bullpen polymarket orders, wait a few seconds and re-run
the command, or check the direct CLOB status:
Cancel All Orders¶
Cancel every open order on your account:
You will be prompted to confirm unless --yes is passed:
Cancel by Market¶
Cancel all orders on a specific market (by condition ID):
You will be prompted to confirm unless --yes is passed:
Watchlist¶
The watchlist is stored server-side and syncs across devices. It supports
Prediction events, Onchain Solana tokens, Hyperliquid perps, HIP-3 perps, and
Hyperliquid spot tokens. Any existing local watchlist
(~/.bullpen/watchlist.json) is migrated automatically on first access.
List Watchlist¶
Output:
Your Watchlist (3 items)
------------------------------------------------------------------------------------------------
Type Chain Item Added
------------------------------------------------------------------------------------------------
prediction Polymarket will-ronaldo-cry-at-the-world-cup-20260604013616610 2026-06-01T10:30:00+00:00
token Solana BONK 2026-06-01T10:31:00+00:00
token Hyperliquid Perp xyz:SPCX 2026-06-01T10:32:00+00:00
Add Items¶
bullpen tracker watchlist add-polymarket <event-slug>
bullpen tracker watchlist add-solana <mint-address>
bullpen tracker watchlist add-hyperliquid --symbol BTC --kind perp
bullpen tracker watchlist add-hyperliquid --symbol xyz:SPCX --kind perp
bullpen tracker watchlist add-hyperliquid --token-id <spot-token-id> --kind spot
For Polymarket entries, the CLI looks up the event slug before writing:
For Polymarket entries, the server watchlist stores event rows. If you pass a child market slug and Gamma returns its parent event, the CLI writes the parent event slug and reports both values in JSON output.
Remove Items¶
bullpen tracker watchlist remove-polymarket <event-slug>
bullpen tracker watchlist remove-solana <mint-address>
bullpen tracker watchlist remove-hyperliquid --symbol BTC --kind perp
bullpen tracker watchlist remove-hyperliquid --token-id <spot-token-id> --kind spot
Output:
JSON Output¶
bullpen tracker watchlist --output json
bullpen polymarket orders --output json
bullpen polymarket orders --history --output json
For watchlist mutations, add --output json to the same add/remove command.