cURL
curl --request GET \ --url https://mainnetapiserver.logx.network/api/v1/user/positions \ --header 'Broker-Id: <broker-id>' \ --header 'Logx-Key: <logx-key>' \ --header 'Logx-Secret: <logx-secret>'
{ "positions": [ { "InitialMarginFraction": "<string>", "MaintenanceMarginFraction": "<string>", "amount": "<string>", "lastFundingRate": "<string>", "productID": 123, "vQuoteBalance": "<string>" } ], "tradeHistory": [ { "amountx18": "<string>", "feex18": "<string>", "pnl": "<string>", "pricex18": "<string>", "productId": 123, "timestamp": "2023-11-07T05:31:56Z", "type": "<string>" } ] }
API key for authenticating requests to the LogX Network.
API secret for securing requests to the LogX Network.
Unique identifier for the broker.
User positions and trade history were retrieved successfully.
The response is of type object.
object