GMX · Schema

PositionResponse

DeFiPerpetual ExchangeDEXTradingLeverageLiquidity PoolsGLPGM TokensGLVArbitrumAvalancheWeb3

Properties

Name Type Description
relatedOrders array
pendingClaimableFundingFeesUsd string
pendingFundingFeesUsd string
uiFeeUsd string
closingFeeUsd string
netValue string
leverageWithoutPnl string
leverageWithPnl string
leverage string
closePriceImpactDeltaUsd string
pendingImpactUsd string
priceImpactDiffUsd string
netPriceImapctDeltaUsd string
pnlAfterAllFeesPercentage string
pnlAfterAllFees string
netValueAfterAllFees string
pnlAfterFeesPercentage string
pnlAfterFees string
pnlPercentage string
hasLowCollateral boolean
remainingCollateralAmount string
remainingCollateralUsd string
collateralUsd string
liquidationPrice string
entryPrice string
markPrice string
poolName string
indexName string
data string
pendingImpactAmount string
uiFeeAmount string
traderDiscountAmount string
positionFeeAmount string
pnl string
isOpening boolean
claimableShortTokenAmount string
claimableLongTokenAmount string
fundingFeeAmount string
isLong boolean
decreasedAtTime string
increasedAtTime string
pendingBorrowingFeesUsd string
collateralAmount string
sizeInTokens string
sizeInUsd string
collateralTokenAddress string
marketAddress string
account string
contractKey string
key string
View JSON Schema on GitHub

JSON Schema

PositionResponse.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/gmx/json-schema/PositionResponse.json",
  "title": "PositionResponse",
  "properties": {
    "relatedOrders": {
      "items": {
        "$ref": "#/components/schemas/OrderResponse"
      },
      "type": "array"
    },
    "pendingClaimableFundingFeesUsd": {
      "type": "string"
    },
    "pendingFundingFeesUsd": {
      "type": "string"
    },
    "uiFeeUsd": {
      "type": "string"
    },
    "closingFeeUsd": {
      "type": "string"
    },
    "netValue": {
      "type": "string"
    },
    "leverageWithoutPnl": {
      "type": "string"
    },
    "leverageWithPnl": {
      "type": "string"
    },
    "leverage": {
      "type": "string"
    },
    "closePriceImpactDeltaUsd": {
      "type": "string"
    },
    "pendingImpactUsd": {
      "type": "string"
    },
    "priceImpactDiffUsd": {
      "type": "string"
    },
    "netPriceImapctDeltaUsd": {
      "type": "string"
    },
    "pnlAfterAllFeesPercentage": {
      "type": "string"
    },
    "pnlAfterAllFees": {
      "type": "string"
    },
    "netValueAfterAllFees": {
      "type": "string"
    },
    "pnlAfterFeesPercentage": {
      "type": "string"
    },
    "pnlAfterFees": {
      "type": "string"
    },
    "pnlPercentage": {
      "type": "string"
    },
    "hasLowCollateral": {
      "type": "boolean"
    },
    "remainingCollateralAmount": {
      "type": "string"
    },
    "remainingCollateralUsd": {
      "type": "string"
    },
    "collateralUsd": {
      "type": "string"
    },
    "liquidationPrice": {
      "type": "string"
    },
    "entryPrice": {
      "type": "string"
    },
    "markPrice": {
      "type": "string"
    },
    "poolName": {
      "type": "string"
    },
    "indexName": {
      "type": "string"
    },
    "data": {
      "type": "string"
    },
    "pendingImpactAmount": {
      "type": "string"
    },
    "uiFeeAmount": {
      "type": "string"
    },
    "traderDiscountAmount": {
      "type": "string"
    },
    "positionFeeAmount": {
      "type": "string"
    },
    "pnl": {
      "type": "string"
    },
    "isOpening": {
      "type": "boolean"
    },
    "claimableShortTokenAmount": {
      "type": "string"
    },
    "claimableLongTokenAmount": {
      "type": "string"
    },
    "fundingFeeAmount": {
      "type": "string"
    },
    "isLong": {
      "type": "boolean"
    },
    "decreasedAtTime": {
      "type": "string"
    },
    "increasedAtTime": {
      "type": "string"
    },
    "pendingBorrowingFeesUsd": {
      "type": "string"
    },
    "collateralAmount": {
      "type": "string"
    },
    "sizeInTokens": {
      "type": "string"
    },
    "sizeInUsd": {
      "type": "string"
    },
    "collateralTokenAddress": {
      "type": "string"
    },
    "marketAddress": {
      "type": "string"
    },
    "account": {
      "type": "string"
    },
    "contractKey": {
      "type": "string"
    },
    "key": {
      "type": "string"
    }
  },
  "required": [
    "pendingClaimableFundingFeesUsd",
    "pendingFundingFeesUsd",
    "uiFeeUsd",
    "closingFeeUsd",
    "netValue",
    "closePriceImpactDeltaUsd",
    "pendingImpactUsd",
    "priceImpactDiffUsd",
    "netPriceImapctDeltaUsd",
    "pnlAfterAllFeesPercentage",
    "pnlAfterAllFees",
    "netValueAfterAllFees",
    "pnlAfterFeesPercentage",
    "pnlAfterFees",
    "pnlPercentage",
    "hasLowCollateral",
    "remainingCollateralAmount",
    "remainingCollateralUsd",
    "collateralUsd",
    "markPrice",
    "poolName",
    "indexName",
    "data",
    "pendingImpactAmount",
    "uiFeeAmount",
    "traderDiscountAmount",
    "positionFeeAmount",
    "pnl",
    "claimableShortTokenAmount",
    "claimableLongTokenAmount",
    "fundingFeeAmount",
    "isLong",
    "decreasedAtTime",
    "increasedAtTime",
    "pendingBorrowingFeesUsd",
    "collateralAmount",
    "sizeInTokens",
    "sizeInUsd",
    "collateralTokenAddress",
    "marketAddress",
    "account",
    "contractKey",
    "key"
  ],
  "type": "object"
}