PosUnits Property

Quantity of positions.

Object Oriented Interface

public function getPosUnits($posindex);

Procedural Interface

ipworksofx_invstatement_get($res, 71 , $posindex);

Default Value



Quantity of positions. Depending on the type of sub-account where this position takes place, this indicates the following:

Stocks, Market Funds, Other,Number of shares held
BondsThe face value
OptionsNumber of contracts

This property is always returned with the positions information if such an information is requested to be included (IncludePositions was set to True) in the investment statement download request (when calling the GetStatement method).

The $posindex parameter specifies the index of the item in the array. The size of the array is controlled by the PosCount property.

This property is read-only and not available at design time.

Data Type


Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks OFX 2020 PHP Edition - Version 20.0 [Build 7941]