Table of Contents

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
object
VolumeValuationExtensions

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

valuation IVolumeValuation

Valuation of the instrument; null when the platform provides none.

factor VolumeValueFactor

The factor when available.

Returns

bool

False when the instrument cannot be valued.