Position Parameters
Assigned to every position in Pingu's contracts.
Parameter | Type | Description |
user |
| User that submitted the position. |
asset |
| USDC address or |
market |
| The market this position was submitted on. |
margin |
| 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 |
| Whether the position is a long or short. |
fundingTracker |
| Market funding rate tracker. |
timestamp |
| Time at which the position was created. |
Last updated