SecAssetClass Property
Asset Class for the security (at most one).
Syntax
invstatement.getSecAssetClass(index, [callback])
Default Value
""
Callback
The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).
The callback for the getSecAssetClass([callback]) method is defined as:
function(err, data){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'data' is the value returned by the method.
The callback for the setSecAssetClass([callback]) method is defined as:
function(err){ }
'err' is the error that occurred. If there was no error, then 'err' is 'null'.
'err' has 2 properties which hold detailed information:
err.code err.message
Remarks
Asset Class for the security (at most one). The possible values and their meanings are as follows:
DOMESTICBOND | The Domestic Bonds asset class consists of government or corporate bonds issued in the United States. |
INTLBOND | The International Bonds asset class consists of government or corporate bonds issued in foreign countries or the United States. |
LARGESTOCK | The Large Cap Stocks asset class consists of stocks for U.S. companies with market capitalizations of $2 billion or more. |
SMALLSTOCK | The Small Cap Stocks asset class consists of stocks for U.S. companies with market capitalizations of approximately $100 million to $2 billion. |
INTLSTOCK | The International Stocks asset class consists of publicly traded stocks for companies based in foreign countries. |
MONEYMRKT | The Money Market asset class consists of stable, short-term investments, which provide income that rises and falls with short-term interest rates. |
OTHER | The Other asset class consists of investments that do not fit in any of the other asset classes. |
The index parameter specifies the index of the item in the array. The size of the array is controlled by the SecCount property.
This property is read-only and not available at design time.
Data Type
String