cURL
curl --request GET \ --url http://localhost:14400/api/positions \ --header 'Authorization: Bearer <token>'
[ { "symbol": "<string>", "side": "long", "size": 123, "entryPrice": 123, "markPrice": 123, "pnl": 123, "pnlPercent": 123 } ]
Get all open positions for the authenticated user
Dynamic authentication JWT token
List of positions
long
short