Get ADL List

Get ADL list (Authentication type: NONE, See Interface Permission)

Request Format

GET https://api-cloud.bitmart.com/contract/v1/ifcontract/pnls

Request Limit

See Detailed Rate Limit

Request Parameter

Field Type Required? Description
contractID long Yes Contract ID

Request example

curl https://api-cloud.bitmart.com/contract/v1/ifcontract/pnls?contractID=1

Response Data

Field Type Description
contract_id int Contract ID
min_pnl string Minimum position PnL
max_pnl string Maximum position PnL
quan_tile int Quintiles, with 20, 40, 60, 80, 100, respectively. The greater value of quan_tile, the higher possibility that the position will be automatically reduced

Instruction

Example of returned data format

{
  "code": 1000,
  "trace":"886fb6ae-456b-4654-b4e0-d681ac05cea1",
  "message": "OK",
  "data": {
    "pnls": [
      {
        "contract_id": 1,
        "long_pnls": [
          {
            "min_pnl": "-0.0379107725788900979",
            "max_pnl": "-0.0103298131866111136",
            "quan_tile": 40
          },
          {
            "min_pnl": "-0.0103298131866111136",
            "max_pnl": "0",
            "quan_tile": 60
          }
        ],
        "short_pnls": [
          {
            "min_pnl": "-49962.3980439671407168788",
            "max_pnl": "0",
            "quan_tile": 20
          }
        ]
      }
    ]
  }
}

results matching ""

    No results matching ""