Interface IVolumeValuation
- Namespace
- ATAS.Indicators
- Assembly
- ATAS.Indicators.dll
Values traded volumes of one instrument in money (PLAT-5080). Provided by the platform through Valuation.
Not in ATAS 8.0.15 yet: available from the next version.
public interface IVolumeValuation
- Extension Methods
Properties
DisplayCurrency
Currency selected in the platform settings for money values; null means the instrument currency.
string? DisplayCurrency { get; }
Property Value
- string
InstrumentCurrency
Currency the instrument's notional value is denominated in (USDT for BTCUSDT, USD for ES, EUR for FDAX); null when the platform cannot value the instrument.
string? InstrumentCurrency { get; }
Property Value
- string
ReferencePrice
Last known price of the instrument, used to show volume thresholds in money and back; null when unknown.
decimal? ReferencePrice { get; }
Property Value
- decimal?
Version
Incremented whenever an exchange rate, the display currency or the instrument model changes. Lets callers cache factors cheaply.
int Version { get; }
Property Value
- int
Methods
TryGetFactor(string?, out VolumeValueFactor)
Gets the factor that converts the instrument's volume into money of currency.
bool TryGetFactor(string? currency, out VolumeValueFactor factor)
Parameters
currencystringTarget currency code; null or empty means the instrument currency (no exchange rate).
factorVolumeValueFactorThe factor when available.
Returns
- bool
False when the instrument cannot be valued or no exchange rate to the currency is known.
Events
Changed
Raised after Version changes. May be raised on any thread.
event EventHandler? Changed
Event Type
- EventHandler