Skip to main content

Position Summary

Retrieve detail for a position

POST
/account-api/v1/position-summary

Request Body

When using the position-detail endpoint you are always required to send the below attributes. The remainder of the payload should only include data blocks which are being updated.

AttributesData TypeLengthDescription
accountNumberString8StoneX Account Number

Response

Successful Response

The response for a Successful request will look like:

AttributesData TypeLengthDescription
statusCodeInteger3Code identifies success of request
messageStringOutcome of request
dataData BlockMain field containing information of request
errorsErrorsAPI errors
traceIdStringUnique identifier
hasErrorsBooleanTrue or False

A successful request will respond with a result containing the account number, account status & all the current account data.

AttributesData TypeLengthDescription
acctNoString8StoneX Account Number
dateStringDate
totalShortMarketNumberTotal short value for the account including non-marginable positions, options, and below-firm-minimum positions
totalLongMarketNumberTotal long value for the account including non-marginable positions, options, and below-firm-minimum positions
totalCashNumberAmount of cash in account
totalMoneyMarketNumberCustomer's combined money market fund balance
netMarketNumberValue of the assets a person or corporation owns minus the liabilities they owe
netCustodiedNumberValue of the assets held by a financial institution that holds customers' securities for sakekeeping
assetsHeldAwayNumberAssets outside the range of your management as an advsior
totalAccountValueNumberValue of the account
freeCashNumberToday's free cash for margin purposes
industrySummary
nameStringName of position
longMarketValueNumberValue calculated using the prior trading day's closing prices
shortMarketValueNumberCurrent market value of securities that have been sold short in a margin account
totalMarketValueNumberTotal price assets would fetch in the market
quantityNumberQuantity
assetsummary
nameStringName of position
longMarketValueNumberValue calculated using the prior trading day's closing prices
shortMarketValueNumberCurrent market value of securities that have been sold short in a margin account
totalMarketValueNumberTotal price assets would fetch in the market
quantityNumberQuantity
accountTypeSummary
nameStringName of position
longMarketValueNumberValue calculated using the prior trading day's closing prices
shortMarketValueNumberCurrent market value of securities that have been sold short in a margin account
totalMarketValueNumberTotal price assets would fetch in the market
quantityNumberQuantity
currencyTypeSummary
nameStringName of position
longMarketValueNumberValue calculated using the prior trading day's closing prices
shortMarketValueNumberCurrent market value of securities that have been sold short in a margin account
totalMarketValueNumberTotal price assets would fetch in the market
quantityNumberQuantity
portfolios
dateStringDate
acctTypeCodeInteger1Account Type indicator
acctTypeStringCash, Margin, Short
acctNo String8StoneX Account Number
accountNameStringAccount Name
currencyCodeInteger3Code assigned to a currency
currencyString5Currency
marketValueNumberPrice an asset gets in a marketplace
marketUsdeValueNumberPrice an asset gets in a marketplace with the exchange rate for another currency
quantityNumberQuantity
gainLossNumberAn increase or loss in the value of an asset
fxRate NumberRate at which one currency will be exchanged for another currency
priceNumberPrice
priceTypeStringCurrentSnap, DelayedSnap, LastClose
marketValueFactorNumber
marketUsdeValueFactorNumber
priceDateStringDate on which the position was last priced
symbolIdStringLogic based on different security identifiers
secNoStringBETA internal security number
isinString12Identifies a specific security
sedolString7Code assigned to securities that trade on the London Stock Exchange and various smaller exchanges in the United Kingdom
cusip String9ID for a security
symbolString10Security symbol
descriptionStringDescription
secTypeCodeString1The Original security type code
secTypeNameStringName of security type
industryGroupNameStringName of industry group
industryGroupCodeInteger3Industry group indicator used to group securities together
isOffShoreBoolean1Indicating if the position is offshore
offshoreShareClass StringDifferent pricing arrangements
currentFactorNumberThe amount calculated by dividing the current face value by original value
unitQuantityNumberNumber of shares to be used as a unit of trade
newSecCodeString2New security type code
typeClassCodeString3Security class code used to further specify security type, bond type, or security number range
unrealizedGainLoss
symbolIDStringLogic based on different security identifiersLogic based on different security identifiers
description StringDescription
acctTypeInteger1Account Type indicator
openTypeString
termString
longShortIndStringLong or short indicator
secNoStringBETA internal security number
reconString
quantityNumberNumber of shares, option contracts, or face value of bonds
unitQuantityNumberNumber of shares to be used as a unit of trade
displayQuantityNumber
costNumberThe amount of money for the position
unitCostStringCost of one unit of a position bought or sold
summaryLevelUnitCostNumber
valueNumberTotal market value of the position
noCostString
noCostLotString
trueZero String
portfolioPercentNumberThe weight of a specific asset or type of asset
gainLossNumberAn increase or loss in the value of an asset
gainLossPercentNumber
closePriceNumberPrice per share for the sale of a closed tax lot
currentPriceNumberMost recent price at which a unit was sold on an exchange
yieldNumberIncome returned on an investment
washDisallowedAmt Number
washString
totalCostNumber
totalValueNumberTotal market value of the position
totalUnrealizedAmountNumber
totalUnrealizedPercentNumber
glNoWashNumber
unrealizedGainPercentageNumber
totalGlNoWashNumber
totalGlNoWashPercentageNumber
transactionQuantityNumberAmount of a position associated with a transaction
safekeepFirmQuantityNumberNumber of shares or face value of bonds in safekeeping firm name
transferTypeStringPartialTransfer or FullTransfer
gainLossNumberAn increase or loss in the value of an asset
gainLossPercentageNumber
fundsAvailableNumber
fedCallAmountNumberIf there is an outstanding Federal call for the account or a Federal call was created for the account today, the amount of the call
maintCallAmountNumberMaximum debit for the account.
marginCashAvailableNumber
buyingPowerNumberTotal cash held in the brokerage account plus all available margin
accumFedAmountNumberAccumulated dollar amount of all Federal calls currently outstanding for the account
accruedInterestNumber
totalCashUsdOnlyNumber