获取用户当前仓位
查询参数
User address (required) User Profile Address (0x-prefixed, 40 hex chars)
^0x[a-fA-F0-9]{40}$"0x56687bf447db6ffa42ffe2204a05edaa20f55839"
Comma-separated list of condition IDs. Mutually exclusive with eventId.
0x-prefixed 64-hex string
^0x[a-fA-F0-9]{64}$Comma-separated list of event IDs. Mutually exclusive with market.
x >= 1x >= 0Include positions in archived markets that are still active. Archived positions are excluded by default.
0 <= x <= 5000 <= x <= 10000CURRENT, INITIAL, TOKENS, CASHPNL, PERCENTPNL, TITLE, RESOLVING, PRICE, AVGPRICE ASC, DESC 100响应
Success
User Profile Address (0x-prefixed, 40 hex chars)
^0x[a-fA-F0-9]{40}$"0x56687bf447db6ffa42ffe2204a05edaa20f55839"
0x-prefixed 64-hex string
^0x[a-fA-F0-9]{64}$"0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917"
Remaining entry basis including attributed BUY fees, at six-decimal source precision. initialValue and avgPrice keep their fee-exclusive semantics, so the fee-exclusive basis is grossInitialValue - entryFeesUsdc. Optional: treat an omitted field as unavailable rather than as zero.
Attributed BUY-fee component of grossInitialValue, at six-decimal source precision. SELL fees are exit costs and are never included. Returned as an explicit 0 when the fee component is zero. Optional: treat an omitted field as unavailable rather than as zero.