/api/prime/trading/v1/accounts/{accountID}/margin/netopenpositions
Returns the net open positions for the specified account.
accountID
stringRequiredcurrency
array[string]netOpenPositions
array[object] {"currency":"BTC","enterpriseId":"63925f940c259a00061853808ffea830","netOpenPosition":-2.3242,"netOpenPositionValue":-124017.22,"shortMarginPositionNotionalLimit":{"quantity":1000000,"currency":"USD"},"longMarginPositionNotionalLimit":{"quantity":1000000,"currency":"USD"},"unrealizedPnL":{"quantity":1200,"currency":"USD"},"lastModified":"2024-07-29T21:13:09.000Z"}
currency
string required enterpriseId
string <uuid>
required netOpenPosition
number <decimal>
required netOpenPositionValue
number <decimal>
required shortMarginPositionNotionalLimit
object required {"quantity":"100.0","currency":"USD"}
longMarginPositionNotionalLimit
object required {"quantity":"100.0","currency":"USD"}
unrealizedPnL
object required {"quantity":"100.0","currency":"USD"}
lastModified
string <date-time>
required