Get All Positions
GET
https://api.sfox.com/v1/post-trade-settlement/positions
Retrieve a list of your account's positions.
Rate Limit: 10 requests per 10 seconds
Query Parameters
Name | Type | Description |
---|---|---|
| String | Filter response by position status
|
| String | Filter response by currency pair associated with the position i.e. |
| String | Filter response by loan currency i.e. |
| String | Filter response by collateral currency i.e. |
| String | Filter response by margin type
|
| String | Starting UNIX timestamp (in millis) |
| String | Ending UNIX timestamp (in millis) |
| String | The number of positions sent in the request. Default/Max = 100 |
| String | The last Position Id of the previous page. The request will contain orders following the cursor. |
Response Body
Key | Description |
---|---|
| Position ID |
| The status of the position
|
| Date and time the position was opened |
| The date and time the position was settled ( |
| Currency borrowed |
| The amount currently awaiting settlement including interest if applicable |
| Order proceeds currency |
| Currency pair traded to open the position |
| The annualized interest rate of the borrowed currency |
| The amount of interest that has been charged to this position in terms of the currency borrowed |
| Long or short |
| The ID of the order that opened the position |
| The ID of the order that closed/settled the position, if applicable ( |
| Proceeds of the collateral currency as a result of this position |
| Open Price. The fill price of the order that opened the position |
Responses
Example Requests
Last updated