ListResult<NetPositionResponse>
Represents a feed of entities that includes additional information that Open API Query support.
-
Name |
Type |
Description |
__count
|
Long |
The total count of items in the feed.
|
__next
|
Uri |
The link for the next page of items in the feed.
|
Data
|
NetPositionResponse [] |
The collection of entities for this feed.
|
MaxRows
|
Int |
The maximum number of rows that can be returned (if applicable).
|
Example
{
"__next": "/openapi/port/....../?$top=1&$skip=1",
"Data": [
{
"NetPositionBase": {
"AccountId": "192134INET",
"Amount": 100000.0,
"AssetType": "FxSpot",
"CanBeClosed": true,
"ClientId": "654321",
"HasForceOpenPositions": false,
"IsMarketOpen": false,
"NonTradableReason": "None",
"NumberOfRelatedOrders": 0,
"OpeningDirection": "Buy",
"OpenIpoOrdersCount": 0,
"OpenOrdersCount": 0,
"OpenTriggerOrdersCount": 0,
"PositionsAccount": "192134INET",
"SinglePositionStatus": "Open",
"Uic": 31,
"ValueDate": "2017-05-04T00:00:00Z"
},
"NetPositionId": "GPBUSD_FXSpot",
"NetPositionView": {
"AverageOpenPrice": 1.32167,
"AverageOpenPriceIncludingCosts": 1.32172,
"CalculationReliability": "Ok",
"CurrentPrice": 1.29188,
"CurrentPriceDelayMinutes": 15,
"CurrentPriceType": "Mid",
"Exposure": 100000.0,
"ExposureInBaseCurrency": 129205.0,
"InstrumentPriceDayPercentChange": 0.27,
"PositionCount": 1,
"PositionsNotClosedCount": 0,
"ProfitLossOnTrade": -2979.0,
"Status": "Open",
"TradeCostsTotal": 0.0,
"TradeCostsTotalInBaseCurrency": 0.0
}
}
]
}