Skip to content

Trading:QueryHoldings

Requests the current holdings for the given Account.

To uniquely identify a Holding, combine the Exchange and Code fields, along with the Account field if you care about cross-Account uniqueness.

Controller: Trading
Topic: QueryHoldings
Action: Publish
Permissions: Zenith/Trading

NameTypeExpectDescription
AccountStringAlwaysThe Account to request holdings for.
ExchangeStringOptionalAn Exchange to filter Holdings by.
CodeStringOptionalA symbol code to filter Holdings by. If provided, Exchange must also be provided.

An array of Holding Change objects. See the Holdings topic for more information.