OOSubAccountType Property
This identifies the type of a sub-account.
Syntax
ANSI (Cross Platform) char* GetOOSubAccountType(int iOOIndex); Unicode (Windows) LPWSTR GetOOSubAccountType(INT iOOIndex);
- (NSString*)OOSubAccountType:(int)oOIndex;
#define PID_INVSTATEMENT_OOSUBACCOUNTTYPE 56 IPWORKSOFX_EXTERNAL void* IPWORKSOFX_CALL IPWorksOFX_InvStatement_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSOFX_EXTERNAL int IPWORKSOFX_CALL IPWorksOFX_InvStatement_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
This identifies the type of a sub-account.
Many Financial Institutions (FIs) distinguish between activity and positions in cash, margin, and short accounts, with some FIs having many other types of 'sub-accounts'. Open Financial Exchange (OFX) defines four standard sub-account types: CASH, MARGIN, SHORT, and OTHER.
This property is always returned with the open order information if such an information is requested to be included (IncludeOpenOrders was set to True) in the investment statement download request (when calling the GetStatement method).
The OOIndex parameter specifies the index of the item in the array. The size of the array is controlled by the OOCount property.
This property is read-only and not available at design time.
Data Type
String