Skip to main content
The 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.
This command requires a connected Polymarket wallet. Connect your wallet at chat.edgefinder.io before using portfolio commands.

Syntax

Arguments

path.view
string
default:"summary"
The portfolio view to display. One of:
  • summary — overall portfolio value, PnL, and position count
  • positions — open positions with current prices and unrealized PnL
  • trades — recent trade history

Options

query.--league
string
default:"all"
Filter results by league. Accepts nfl, nba, or all. Defaults to all, which returns data across every sport.
query.--limit
number
Maximum number of results to return. Only applies to the trades view. When omitted, returns the full trade history.
query.--json
boolean
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.
After reviewing your positions, use ask to get AI analysis on whether to hold or exit a specific bet:
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.