Determines if the asset class can be traded.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public static bool IsTradeableAssetClass( AssetClass assetClass ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function IsTradeableAssetClass ( _ assetClass As AssetClass _ ) As Boolean |
| Visual C++ |
|---|
public: static bool IsTradeableAssetClass( AssetClass assetClass ) |
Parameters
- assetClass
- Type: RightEdge.Common..::.AssetClass
The asset class to evaluate.
Return Value
true if the asset class can be traded, otherwise false.
Remarks
Each symbol is assigned an asset class. An asset class can be equities, bonds, futures, option, etc.
These assigned classes are largely tradeable with the exception of InterestRate. Arguably,
an index is also not tradeable, however, for purposes of simulation, we have includes the Index asset class in the tradeable
list of asset classes.