Assigned to every position in CAP's contracts.
user
address
User that submitted the position.
asset
USDC address or 0x00..00 for ETH.
0x00..00
market
string
The market this position was submitted on.
margin
uint256
Collateral (real balance) tied to this position. In wei.
size
The position's size (margin × leverage). In wei.
price
The position's average execution price.
isLong
boolean
Whether the position is a long or short.
fundingTracker
Market funding rate tracker.
timestamp
Time at which the position was created.
Last updated 2 years ago