latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Margin
Get net open positions snapshot
Returns the net open positions snapshot as of a given time for the specified account.
get/api/prime/trading/v1/accounts/{accountId}/margin/netopenpositions/snapshot
Path parameters
accountIdstring required
The ID of the account
Query parameters
transactionDateLtstring date-time required
Returns unsettled positions based on transactions that occurred before this timestamp.
currencystring[]
Filter results to specific currencies. If omitted, returns unsettled positions for all currencies with non-zero balances.
useFutureTransfersboolean
If true, applies position transfers sent after transactionDateLt to cover short positions as of transactionDateLt.
Response
Net open positions snapshot
Example response
{
"netOpenPositions": [
{
"currency": "BTC",
"enterpriseId": "63925f940c259a00061853808ffea830",
"accountId": "f230fdebfa084ffebc7e00515f54603f",
"netOpenPosition": "-2.5",
"appliedFutureTransfers": "1.5",
"earliestTransactionDate": "2025-12-01T01:30:00.000Z",
"latestTransactionDate": "2025-12-01T23:45:00.000Z",
"latestFutureTransferDate": "2025-12-02T10:00:00.000Z"
}
]
}