Field name (REST)

Field tag (WS)


Possible values

Description

msgType

35

M

MAP


posReqId

710

O

string

Request ID, if provided by the client

account

1

M

ulong


transactTime

60

M

timestamp


openPositions

727

M

Array of PositionReport (AP)


positionHistory

726

M

Array of PositionReport (AP)

Last 30 closed positions

rejectReason

380

C

4 — ApplicationNotAvailable

8 — ThrottleLimitExceeded

In case the list of positions cannot be loaded due to any error, Reject Reason will contain the description of the error. In this case OpenPositions and PositionHistory arrays will be empty (independently on the real number of positions on the account).

text

58

C

string

Samples

WS

{
"35":"MAP",
"1":1012838720,
"60":1593792319265501624,
"727":[
{
"35":"AP",
"1":1012838720,
"2618":131609194,
"60":1593792329265001656,
"55":"XBTUSD",
"1805":1593783222140553232,
"6":"9107.47",
"53":"1",
"54":"1",
"734":"9101.1",
"1643":[
{
"1645":"0.0000055",
"1644":"11",
"1646":"BTC"
},
{
"1645":"0.00000138",
"1644":"7",
"1646":"BTC"
}
],
"40212":[
{
"40213":"40",
"40216":"BTC",
"40217":"0.00000005"
},
{
"40213":"42",
"40216":"BTC",
"40217":"-0.00000008"
},
{
"40213":"41",
"40216":"BTC",
"40217":"-0.00000003"
}
],
"1855":[
{
"1856":"7176f61b5db9bbec78097f8e1d66bdd452877361",
"1857":"1"
}
]
},
{
"35":"AP",
"1":1012838720,
"2618":131610287,
"60":1593792349265021074,
"55":"XBTUSD",
"1805":1593786625367724733,
"6":"9099.18",
"53":"1",
"54":"1",
"734":"9101.1",
"1643":[
{
"1645":"0.0000055",
"1644":"11",
"1646":"BTC"
},
{
"1645":"0.00000138",
"1644":"7",
"1646":"BTC"
}
],
"40212":[
{
"40213":"40",
"40216":"BTC",
"40217":"0.00000005"
},
{
"40213":"42",
"40216":"BTC",
"40217":"0.00000002"
},
{
"40213":"41",
"40216":"BTC",
"40217":"-0.00000001"
}
],
"1855":[
{
"1856":"aa9a6f8d1c6fef5855312a4f54141d429984f0cb",
"1857":"1"
}
]
}
],
"726":[
{
"35":"AP",
"1":1012838720,
"2618":131341107,
"60":1593792329274163956,
"55":"XBTUSD",
"1805":1583925734154256000,
"6":"7851.76",
"53":"1",
"54":"1",
"64":1584098314041070000,
"730":"5311.52",
"734":"5642.1",
"40212":[
{
"40213":"40",
"40216":"BTC",
"40217":"0.00000015"
},
{
"40213":"42",
"40216":"BTC",
"40217":"-0.00006091"
},
{
"40213":"41",
"40216":"BTC",
"40217":"-0.00000076"
}
],
"1855":[
{
"1856":"342a51bf81fd97ca218e32b72830155feaa1cfa6",
"1857":"1"
},
{
"1856":"b549e2152a317ad4548e64966d8d26737cedc31d",
"1857":"2"
}
]
},