Skip to content

Invitee's Current Position

Get the invitee's detail

Http Request

GET
/api/usdt/affiliate/invitee/current-positions

This Api should follow Signature rules for ACCESS-SIGN.

Request Frequency Restriction:

  • 3times / 1second

Request Parameters

Name Type Mandatory Description
uid string YES UID of the invitee.

Response fields description

Name Type Description
uid string User ID
nickName string Nickname set by the partners
userNickName string User’s own nickname
inviterName string Inviter name
userType string Partners or Directs
currentPositons array as following:

currentPositons fields description

Name Type Description
symbol string Symbol
side string Side
currency string Trading currency, usually USDT
tradeMode string Normal :0,Copy Trade:1 , Leading Trade:2
openTime string Position creation timestamp
holdingCont string Holding(Cont)
holdingUsdt string Holding(USDT)
entryPrice string Position average price
leverage string Leverage
marginMode string Fixed:0, Crossed:1
liquidationPrice string Liquidation price
margin string Margin
frozenQuantity string Frozen quantity
unrealizedPnl string Use mark price to calculate unrealized profit & loss
roe string Return on equity
realized string Realized profit & loss

Response

{
  "code": 200,
  "message": null,
  "data": {
    "uid": "12345678",
    "nickName": "abcdedf",
    "userNickName": "himhdkg",
    "userType": "Partners",
    "inviterName": "zhkdkek",
    "currentPositons": [
      {
        "symbol": "BTC-SWAP",
        "leverage": "100",
        "side": "long",
        "margin": "9.38",
        "liquidationPrice": "88121.5",
        "roe": "-5.2354",
        "realized": "-0.47",
        "marginMode": "crossed",
        "entryPrice": "93707.0",
        "holdingCont": "10",
        "frozenQuantity": "10",
        "unrealizedPnl": "-49.08",
        "currency": "USDT",
        "tradeMode": "Copy Trade",
        "openTime": 1767665702000,
        "holdingUsdt": "887.98"
      }
    ]
  }
}