Order Parameters
Assigned to every order in Pingu's contracts.
Parameter | Type | Description |
orderId |
| Incremental. |
user |
| User that submitted the order. |
asset |
| USDC address or |
market |
| The market this order was submitted on. |
margin |
| Collateral (real balance) tied to this order. In wei. |
size |
| The order's size (margin × leverage). In wei. |
price |
| The order's price if it's a trigger or protected order. |
fee |
| Fee amount paid. In wei. |
isLong |
| Whether the order is a buy or sell order. |
orderType |
|
|
isReduceOnly |
| Whether the order is reduce-only. |
timestamp |
|
|
expiry |
|
|
cancelOrderId |
|
|
Last updated