Class VolumeValuationExtensions
- Namespace
- ATAS.Indicators
- Assembly
- ATAS.Indicators.dll
Helpers for indicators that show volumes in money (PLAT-5080).
Not in ATAS 8.0.15 yet: available from the next version.
public static class VolumeValuationExtensions
- Inheritance
-
objectVolumeValuationExtensions
Methods
TryGetDisplayFactor(IVolumeValuation?, out VolumeValueFactor)
Gets the factor that converts the instrument's volume into the currency selected in the platform settings, or into the instrument currency when none is selected or its exchange rate is unknown.
public static bool TryGetDisplayFactor(this IVolumeValuation? valuation, out VolumeValueFactor factor)
Parameters
valuationIVolumeValuationValuation of the instrument; null when the platform provides none.
factorVolumeValueFactorThe factor when available.
Returns
- bool
False when the instrument cannot be valued.