post https://api.bitfinex.com/v2/auth/r/positions
Get active positions
Fields
Term | Type | Description |
---|---|---|
SYMBOL | string | Pair (tBTCUSD, …). |
STATUS | string | Status (ACTIVE, CLOSED). |
±AMOUNT | float | Size of the position. A positive value indicates a long position; a negative value indicates a short position. |
BASE_PRICE | float | Base price of the position. (Average traded price of the previous orders of the position) |
FUNDING | float | Funding amount |
FUNDING_TYPE | int | 0 for daily, 1 for term. |
PL | float | Profit & Loss (Includes the maximum fee to close the position (0.2%)) |
PL_PERC | float | Profit & Loss Percentage |
PRICE_LIQ | float | Liquidation price |
LEVERAGE | float | Leverage used for the position |
POSITION_ID | int64 | Position ID |
MTS_CREATE | int | Millisecond timestamp of creation |
MTS_UPDATE | int | Millisecond timestamp of update |
TYPE | int | Identifies the type of position, 0 = Margin position, 1 = Derivatives position |
COLLATERAL | float | The amount of collateral applied to the open position |
COLLATERAL_MIN | float | The minimum amount of collateral required for the position |
META | json string | Additional meta information about the position |
Ratelimit: 90 req/min