OOBuyType Property
Type of purchase for this open order.
Syntax
ANSI (Cross Platform) char* GetOOBuyType(int iOOIndex); Unicode (Windows) LPWSTR GetOOBuyType(INT iOOIndex);
- (NSString*)OOBuyType:(int)oOIndex;
#define PID_INVSTATEMENT_OOBUYTYPE 47 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
Type of purchase for this open order. Possible values are: BUY and BUYTOCOVER (used to close short sales).
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