Combination Positions
Provides all positions held in the account acquired as a combination, including values such as ratios, size, and market value.
GET /portfolio/{accountId}/combo/positions
Request Object
Path Params
accountId: String. Required
The account ID for which account should place the order.
Query Param
nocache: Boolean
Set if request should be made without caching.
Defaults to false
Python
Abap
Response Object
name: String.
This is an internal name used to distinguish between combinations.
description: String.
Provides the ratio and leg conIds for the combo.
legs: array.
An array containing all legs in the specific combination.
conid: String.
Returns the conid of one leg of the combo.
ratio:integer
Returns the ratio value for the combo. This can be either positive or negative.
positions: array.
Provides an array including the leg information in the combo.
acctId: String.
Returns the accountId holding the leg.
conid: integer.
Returns the contract ID for the specific leg.
contractDesc: String.
Returns the long name for the given contract.
position: integer.
Returns the total size of the specific leg in the combination.
mktPrice: integer.
Returns the current market price of each share for the leg in the combo.
mktValue: integer.
Returns the total value of the position in the combo.
currency: String.
Returns the base currency of the leg.
avgCost: integer.
Returns the average cost of each share in the position times the multiplier.
avgPrice: integer.
Returns the average cost of each share in the position when purchased.
realizedPnl: integer.
Returns the total profit made today through trades.
unrealizedPnl: integer.
Returns the total potential profit if you were to trade.
exchs: null.
Deprecated value.
Always returns null.
expiry: null.
Deprecated value.
Always returns null.
putOrCall: null.
Deprecated value.
Always returns null.
multiplier: null.
Deprecated value.
Always returns null.
strike: integer.
Deprecated value.
Always returns 0.0.
exerciseStyle: null.
Deprecated value.
Always returns null.
conExchMap: array.
Deprecated value.
Returns an empty array.
assetClass: String.
Returns the security type of the leg.
undConid: integer
Deprecated value.
Always returns 0.

