IPWorks OFX 2020 Python Edition

Questions / Feedback?

pos_units Property

Quantity of positions.

Syntax

def get_pos_units(pos_index: int) -> str: ...

Default Value

""

Remarks

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 (include_positions was set to True) in the investment statement download request (when calling the on_get_statement method).

The pos_index parameter specifies the index of the item in the array. The size of the array is controlled by the pos_count property.

This property is read-only.

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