Pingu Exchange
  • INTRO
    • What's PINGU?
    • Features
    • Setting Up Your Wallet
  • SECURITY
    • Overview
    • Risk Mitigation
  • TRADE
    • Markets
      • Supported Markets
      • Market Parameters
    • Orders
      • Order Types
      • Order Settlement
      • Order Actions
      • Order Parameters
      • Cancellation Reasons
    • Positions
      • Overview
      • Position Actions
      • Position Parameters
    • History
    • One-Click Trading
  • POOL
    • Overview
    • Pool Actions
  • $PINGU TOKEN
    • PINGU Token Benefits
  • LEGAL
    • Terms of Use
    • Restricted Jurisdiction Policy
    • Risk Disclosure
  • OTHER
    • Contracts
    • Links
Powered by GitBook
On this page
  1. TRADE
  2. Positions

Position Parameters

Assigned to every position in Pingu's contracts.

Parameter

Type

Description

user

address

User that submitted the position.

asset

address

USDC address or 0x00..00 for ETH.

market

string

The market this position was submitted on.

margin

uint256

Collateral (real balance) tied to this position. In wei.

size

uint256

The position's size (margin × leverage). In wei.

price

uint256

The position's average execution price.

isLong

boolean

Whether the position is a long or short.

fundingTracker

uint256

Market funding rate tracker.

timestamp

uint256

Time at which the position was created.

​

PreviousPosition ActionsNextHistory

Last updated 1 year ago