ofx4js
Version:
A javascript OFX library, ported from OFX4J
37 lines (36 loc) • 1 kB
TypeScript
/**
* Asset class for debt.
* @see "Section 13.8.5.7, OFX Spec"
*/
export declare enum AssetClass {
/**
* Government or corporate bonds issued in the United States.
*/
DOMESTIC_BOND = 0,
/**
* Government or corporate bonds issued in foreign countries or the United States.
*/
INTL_BOND = 1,
/**
* Stocks for US companies with market caps of $2B or more.
*/
LARGE_STOCK = 2,
/**
* Stocks for US companies with market caps of ~$100M to $2B.
*/
SMALL_STOCK = 3,
/**
* Publicallt traded stocks for companies based in foreign countries.
*/
INTL_STOCK = 4,
/**
* Stable, short-term investments which provide income that rises and falls with short-term
* interest rates.
*/
MONEY_MARKET = 5,
/**
* Investments which do not fit into any of the other types.
*/
OTHER = 6
}
export declare function AssetClass_fromOfx(ofxVal: string): AssetClass;