TheDocumentation Index
Fetch the complete documentation index at: https://edgefinder.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
portfolio command connects to your Polymarket wallet and surfaces your sports betting portfolio data directly in the terminal. You can view a high-level summary, inspect open positions with live prices and PnL, or browse your recent trade history. All views support league filtering and JSON output for scripting.
Syntax
Arguments
The portfolio view to display. One of:
summary— overall portfolio value, PnL, and position countpositions— open positions with current prices and unrealized PnLtrades— recent trade history
Options
Filter results by league. Accepts
nfl, nba, or all. Defaults to all, which returns data across every sport.Maximum number of results to return. Only applies to the
trades view. When omitted, returns the full trade history.Output raw JSON. Portfolio commands always output JSON; this flag is accepted for script consistency and pipeline compatibility.
Examples
Views
summary
Returns high-level portfolio stats including total value, PnL, and position count.positions
Returns each open position with its current market price and unrealized PnL.trades
Returns recent executed trades. Use--limit to cap the number of results.
Portfolio data is synced from Polymarket when you run the command. If your wallet was recently connected, allow a few minutes for data to appear.