Reference

CLI Reference

Complete command reference for openbroker.

CategoryCommandDescription
Setupsetup, onboardInteractive setup wizard (wallet + config + builder)
Setupapprove-builderApprove builder fee (one-time)
InfoaccountBalance, equity, margin, positions
InfopositionsDetailed positions with PnL and liquidation
InfofillsTrade fill history with fees and realized PnL
InfoordersOrder history (filled, canceled, open, etc.)
Infoorder-statusCheck status of a specific order by ID
InfofeesFee tier, maker/taker rates, volume
InfofundingFunding rates sorted by annualized rate
Infofunding-historyHistorical funding rates for an asset
InfocandlesOHLCV candlestick data
InfotradesRecent trades (tape) with buy/sell volume
InfomarketsPerp market data, prices, volume, OI
Infoall-marketsAll markets (perps, HIP-3, spot)
InfosearchSearch assets across all providers
InfospotSpot markets and token balances
Infofunding-scanCross-dex funding scanner (main + HIP-3)
Inforate-limitAPI rate limit usage and capacity
TradingbuyMarket buy (shortcut for market --side buy)
TradingsellMarket sell (shortcut for market --side sell)
TradingmarketMarket order with --side flag
TradinglimitLimit order (GTC, IOC, or ALO)
TradingtriggerTrigger order (TP/SL conditional)
TradingtpslSet TP/SL on existing position
TradingcancelCancel orders (by coin, ID, or all)
AdvancedtwapNative TWAP order (exchange-managed)
Advancedtwap-cancelCancel a running TWAP order
Advancedtwap-statusView TWAP order history and status
AdvancedscaleGrid of limit orders (linear/exp/flat)
AdvancedbracketEntry + TP + SL in one command
AdvancedchaseChase price with ALO orders
Autoauto run <script>Run a custom trading automation
Autoauto examplesList bundled examples with config schemas
Autoauto listList available automation scripts
Autoauto statusShow running automations