List all currently open collateral trading positions on a WhiteBIT account via the V4 API.
The public WhiteBIT API key.
Base64-encoded JSON request body.
HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).
Successful response - returns array of open positions
Unique position identifier
527
Market name
"BTC_USDT"
Position amount
"0.1"
Base price of position
"45658.349"
Realized profit and loss accumulated from partial position closes, in money currency. Zero for newly opened positions that have not been partially closed.
"-168.42"
Unrealized profit and loss in percentage
"-0.43"
Amount of funds in open position money
"8316.74"
Free funds for trading
"619385.67"
Cumulative funding fees paid over the entire lifetime of the position, in money currency. For futures markets (e.g., BTC_PERP and other _PERP pairs), the value is always "0" — futures funding is applied via periodic balance updates rather than being tracked per position.
"0"
Floating (mark-to-market) unrealized profit and loss in money currency. Updates continuously as the market price changes.
"0.0019142920201966"
Position side
LONG, SHORT, BOTH "LONG"
Date of position opening in Unix timestamp format
1651568067.789679
Date of position modifying (current event) in Unix timestamp format
1651568067.789679
Liquidation price according to current state of position
null
State of liquidation
margin_call, liquidation null
Take profit and stop loss configuration
Funding fees accrued since the last position state change and not yet realized. For margin positions, the value accumulates continuously and is settled into the funding field when the position state changes (e.g., on partial or full close). For futures markets (BTC_PERP and other _PERP pairs), always "0" — futures funding is applied via periodic balance updates, not tracked per position.
"0.0019142920201966"