Portfolio

Position by Conid

Returns a list of all positions matching the conid. For portfolio models the conid could be in more than one model, returning an array with the name of the model it belongs to. /portfolio/accounts or /portfolio/subaccounts must be called prior to this endpoint.

get/portfolio/{accountId}/position/{conid}

Path parameters

accountIdstring required

account id

conidinteger required

contract id

Response

returns a list containing only one position for the conid

acctIdstring
conidinteger
contractDescstring
assetClassstring
positionnumber
mktPricenumber
mktValuenumber
currencystring
avgCostnumber
avgPricenumber
realizedPnlnumber
unrealizedPnlnumber
exchsstring
expirystring
putOrCallstring
multipliernumber
strikenumber
exerciseStylestring
undConidinteger
conExchMapstring[]
baseMktValuenumber
baseMktPricenumber
baseAvgCostnumber
baseAvgPricenumber
baseRealizedPnlnumber
baseUnrealizedPnlnumber
namestring
lastTradingDaystring
groupstring
sectorstring
sectorGroupstring
tickerstring
undCompstring
undSymstring
fullNamestring
pageSizeinteger
modelstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.