Account commands
Manage locally stored trading accounts.account add
Interactively add a new trading account.
api-wallet or read-only), private key, alias, and default status. Private keys are encrypted at rest in ~/.decibel/data.db.
account ls
List all stored accounts.
account set-default
Set the default account used when no --account flag is provided.
alias is omitted, an interactive picker is shown.
account remove
Remove a stored account.
account info
Show account balances and equity.
Market commands
Query market data and prices.markets ls
List all available markets.
markets price
Get the current price for a market.
Displays: mark price, oracle price, funding rate, and open interest.
markets book
View the order book for a market.
Displays: color-coded bid/ask levels with size and depth bars.
Trade commands
Place orders, manage positions, and view trading history.Place orders
trade order limit
Place a limit order.
trade order market
Place a market order.
trade order stop-limit
Place a stop limit order. Triggers at the stop price and executes at the limit price.
trade order stop-market
Place a stop market order. Triggers at the stop price and executes immediately.
trade order twap
Place a TWAP (Time-Weighted Average Price) order. Splits the order into smaller sub-orders over a duration.
Cancel orders
trade cancel
Cancel a specific open order.
trade cancel-all
Cancel all open orders.
trade cancel-twap
Cancel an active TWAP order.
Close positions
trade close
Close an open position at market price.
TP/SL (Take-Profit / Stop-Loss)
trade tp-sl set
Set take-profit and/or stop-loss for a position.
trade tp-sl ls
List active TP/SL orders for a position.
trade tp-sl cancel
Cancel a TP/SL order.
Configuration
trade set-leverage
Set leverage for a market.
trade set-margin
Set the margin type for a market.
View trading data
trade positions
List open positions.
trade orders
List open orders.
trade active-twaps
List active TWAP orders.
trade history
View trade fill history.
trade order-history
View order history (all states: filled, cancelled, etc.).
trade twap-history
View TWAP order history.
trade funding-history
View funding rate payment history.
The CLI also includes a built-in MCP server for AI agent integration. See the MCP Server Tool Reference for the full list of MCP tools.

