List Positions
Retrieve all current positions in your account.Endpoint
Parameters
RSA public key identifier for authentication
Base64-encoded RSA signature of the request payload.
Payload format:
GET:/api/v1/positions?query_params
Instrument type (e.g., “perpetual”)
Trading symbol symbol (e.g., “US500-BTC”, “GOLD-BTC”, “OIL-BTC”)
Unit format for values: “sats” or “btc”
Example Request
Response
Array of current position objects
Position Types
Long Positions (is_buy: true)
Long Positions (is_buy: true)
Long positions profit when price increases:
- Entry: Buy at lower price
- Profit: Current price > Entry price
- Loss: Current price < Entry price
- Liquidation: Price falls to liquidation level
Short Positions (is_buy: false)
Short Positions (is_buy: false)
Short positions profit when price decreases:
- Entry: Sell at higher price
- Profit: Current price < Entry price
- Loss: Current price > Entry price
- Liquidation: Price rises to liquidation level
Understanding Values
Price Format
Price Format
All prices are in satoshis (0.00000001 BTC):
avg_entry: 50000000
= 0.5 BTCmark_price: 50125000
= 0.50125 BTCliquidation_price: 42500000
= 0.425 BTC
P&L Calculation
P&L Calculation
Unrealized P&L = (Mark Price - Entry Price) × Size × Direction
- Long: Positive when mark > entry
- Short: Positive when mark < entry
- Values in satoshis:
12500000
= 0.125 BTC profit
Position Lifecycle
Position Lifecycle
Open Position:
close_date
is null, avg_exit
is nullClosed Position: Both close_date
and avg_exit
have valuesPartially Closed: exit_amount
> 0 but position still has sizeRisk Management
Monitor your positions for:- Unrealized P&L: Track profit/loss changes
- Liquidation Distance: How close current price is to liquidation
- Position Size: Ensure appropriate risk per position
- Mark Price Movement: Real-time position valuation