Info Commands

Account Info

View your balance, equity, margin, positions, and open orders. Automatically detects your account mode (standard, unified, or portfolio margin).

openbroker account              # Balance, equity, margin, positions
openbroker account --orders     # Also show open orders
openbroker account --json       # JSON output for scripting
openbroker account --address 0xabc...  # Look up another account
FlagDescriptionDefault
--ordersInclude open orders in the output
--addressLook up another account by wallet address (0x...)
--jsonOutput as JSON for scripting or piping

Positions

Detailed position view with entry/mark prices, PnL, leverage, liquidation distance, and margin used.

openbroker positions             # All open positions
openbroker positions --coin HYPE  # Single position detail
openbroker positions --json      # JSON with mark prices and liquidation distances
openbroker positions --address 0xabc...  # View another account's positions
FlagDescriptionDefault
--coinFilter to a single asset
--addressLook up another account by wallet address (0x...)
--jsonOutput as JSON

Trade Fills

View your trade executions with prices, fees, and realized PnL.

openbroker fills                          # Recent fills
openbroker fills --coin ETH               # ETH fills only
openbroker fills --coin BTC --side buy --top 50
openbroker fills --address 0xabc...       # Another account's fills
openbroker fills --json                   # JSON output
FlagDescriptionDefault
--coinFilter by coin symbol
--sideFilter by side: buy or sell
--topNumber of recent fills to show20
--addressLook up another account by wallet address (0x...)
--jsonOutput as JSON

Order History

View all historical orders including filled, canceled, and rejected. Use --open to show only currently open orders.

openbroker orders                         # Recent orders
openbroker orders --open                  # Currently open orders only
openbroker orders --open --coin ETH       # Open orders for a specific coin
openbroker orders --coin ETH --status filled
openbroker orders --top 50
openbroker orders --address 0xabc... --open  # Another account's open orders
openbroker orders --json                  # JSON output
FlagDescriptionDefault
--coinFilter by coin symbol
--statusFilter by status (filled, canceled, open, triggered, etc.)
--openShow only currently open orders (uses dedicated endpoint)
--topNumber of recent orders to show20
--addressLook up another account by wallet address (0x...)
--jsonOutput as JSON

Order Status

Look up the status of a specific order by order ID or client order ID.

openbroker order-status --oid 123456789   # By order ID
openbroker order-status --oid 0x1234...   # By client order ID
openbroker order-status --oid 123456789 --address 0xabc...  # On another account
FlagDescriptionDefault
--oidOrder ID (number) or client order ID (hex string)required
--addressLook up order on another account by wallet address (0x...)

Fee Schedule

View your fee tier, maker/taker rates, referral and staking discounts, and recent daily trading volumes.

openbroker fees                           # Your fee schedule
openbroker fees --address 0xabc...        # Another account's fees
FlagDescriptionDefault
--addressLook up another account by wallet address (0x...)

Funding Rates

openbroker funding              # Top 20 by annualized rate
openbroker funding --top 50     # Top 50
openbroker funding --coin ETH   # Single asset
openbroker funding --sort oi    # Sort by open interest
openbroker funding --include-hip3       # Include HIP-3 dex assets
openbroker funding --coin xyz:CL        # HIP-3 asset funding
openbroker funding --json                # JSON output
FlagDescriptionDefault
--topNumber of results to show20
--coinFilter to a single asset (supports dex:COIN for HIP-3)
--sortSort by: annualized, hourly, or oiannualized
--allShow all assets including low OI
--include-hip3Include HIP-3 dex assets in the output
--jsonOutput as JSON

Funding History

View historical funding rate data for an asset over time.

openbroker funding-history --coin ETH              # Last 24h
openbroker funding-history --coin BTC --hours 168  # Last 7 days
openbroker funding-history --coin xyz:CL           # HIP-3 asset
FlagDescriptionDefault
--coinAsset symbolrequired
--hoursHours of history to fetch24

Candle Data (OHLCV)

View candlestick chart data for any asset with configurable intervals.

openbroker candles --coin ETH                           # 24 hourly candles
openbroker candles --coin BTC --interval 4h --bars 48   # 48 four-hour bars
openbroker candles --coin SOL --interval 1d --bars 30   # 30 daily bars
FlagDescriptionDefault
--coinAsset symbolrequired
--intervalCandle interval: 1m, 5m, 15m, 1h, 4h, 1d, 1w, etc.1h
--barsNumber of bars to fetch24

Recent Trades (Tape)

View recent trades for an asset with buy/sell volume breakdown.

openbroker trades --coin ETH              # Last 30 trades
openbroker trades --coin BTC --top 50     # Last 50 trades
FlagDescriptionDefault
--coinAsset symbolrequired
--topNumber of recent trades30

Markets

Market data for perpetuals. Pass --coin for a detailed single-asset view with oracle price, min size, and more.

openbroker markets              # Top 30 perps by volume
openbroker markets --coin ETH   # Detailed view for ETH
openbroker markets --sort change --top 10  # Top movers
openbroker markets --include-hip3          # Include HIP-3 markets
openbroker markets --json                  # JSON output
FlagDescriptionDefault
--coinDetailed view for a single asset
--topNumber of results30
--sortSort by: volume, oi, or changevolume

All Markets

Browse all available markets across main perps, HIP-3 perps, and spot — grouped by type.

openbroker all-markets                # Everything
openbroker all-markets --type perp    # Main perps only
openbroker all-markets --type hip3    # HIP-3 perps only
openbroker all-markets --type spot    # Spot only
openbroker all-markets --top 20       # Top 20 by volume
FlagDescriptionDefault
--typeFilter: perp, spot, hip3, or allall
--topLimit to top N by volume
--verboseShow detailed output

Search Markets

Search for assets by name across all providers (perps, HIP-3, spot). Shows funding comparison when an asset is listed on multiple venues.

openbroker search --query GOLD             # Find all GOLD markets
openbroker search --query ETH --type perp  # ETH perps only
openbroker search --query PURR --type spot # PURR spot only
FlagDescriptionDefault
--querySearch term (matches coin name)required
--typeFilter: perp, spot, hip3, or allall
--verboseShow detailed output

Spot

openbroker spot                  # All spot markets
openbroker spot --balances       # Your spot token balances
openbroker spot --balances --address 0xabc...  # Another account's spot balances
openbroker spot --coin PURR      # Filter by coin
openbroker spot --top 20         # Top 20 by volume
FlagDescriptionDefault
--balancesShow your spot token balances instead of markets
--addressLook up another account's spot balances (with --balances)
--coinFilter by coin symbol
--topLimit to top N by volume
--verboseShow token metadata

Funding Rate Scanner

Scan funding rates across all dexes (main perps + HIP-3) and find arbitrage opportunities. Identifies opposing funding pairs for delta-neutral strategies.

openbroker funding-scan                          # Scan all dexes, >25% threshold
openbroker funding-scan --threshold 50 --pairs   # Show opposing funding pairs
openbroker funding-scan --hip3-only --top 20     # HIP-3 only
openbroker funding-scan --watch --interval 120   # Re-scan every 2 minutes
openbroker funding-scan --json                   # JSON output for piping
FlagDescriptionDefault
--thresholdMin annualized funding rate % to show25
--main-onlyOnly scan main perps
--hip3-onlyOnly scan HIP-3 perps
--topNumber of results to show30
--pairsShow opposing funding pairs for delta-neutral strategies
--jsonOutput as JSON for piping to alerting systems
--watchRe-scan periodically
--intervalWatch interval in seconds60

Rate Limit

Check your API rate limit usage and capacity. Shows a progress bar for usage percentage.

openbroker rate-limit