← Files LongbridgeARCHIVED FILE

references/positions.md

902 Bytes · Sep 30, 2026 · 23:19 UTC

↓ Download file

# positions

```
Current stock (equity) positions across all sub-accounts

Returns: symbol, name, quantity, `available_quantity`, `cost_price`, currency, market. Example: longbridge positions --format json

Usage: longbridge positions [OPTIONS]

Options:
      --format <FORMAT>
          Output format: 'pretty' for human-readable, 'json' for AI agents and scripting
          
          [default: pretty]
          [possible values: table, json]

  -v, --verbose
          Print verbose request info (host, elapsed) to stderr, prefixed with `*` like curl -v

      --lang <LANG>
          Language for content fetched from longbridge.com: zh-CN or en. Defaults to system LANG env var, then en

  -h, --help
          Print help (see a summary with '-h')
```

## Usage

```bash
# Run with JSON output for AI agents
longbridge positions --format json

# See all options
longbridge positions --help
```

SHA-256: 798e66da12136f6e089955faaf9bffdc57362aebc41b0a88b596f8d318cda262