Skip to main content
POST
Active Position

Body

application/json
page
object
required
userId
object
required

User wallet address

filter
(Numeric · object | ID · object | Group · object)[]

Filters to apply, combined with AND. Use a group for OR.

Minimum array length: 1

A single field condition. in/notIn take an array of values; matches/notMatches take one search term.

orderBy
object[]

Sort keys in priority order; the first is the primary sort. Defaults to the table's configured ranking when omitted.

searchKey
string

Free-text search over: Market (embedding + full-text relevance).

Response

List of Active Position rows

avgBuyPrice
number<double>

Average buying price of open shares

invested
number<double>

Total amount invested in the position

roi
number<double>

Return on investment percentage

shares
number<double>

Currently held shares

token
Token · object

Resolved Token row.

tokenId
string<big-integer>

The CLOB token ID representing the position.

unrealizedCurrentPrice
number<double>

Current price of the position

unrealizedPnl
number<double>

Unrealized profit and loss

value
number<double>

Current market value of held shares