Table of Contents

Interface ITradingVolumeInfo

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

Interface for providing information about the volume selector.

public interface ITradingVolumeInfo
Extension Methods

Properties

ActualVolume

Actual selected volume

decimal ActualVolume { get; }

Property Value

decimal

Currency

Selected currency (mode) of trading volume

string Currency { get; }

Property Value

string

CurrentVolumeItem

Selected volume template

IVolumeSelectorItem? CurrentVolumeItem { get; }

Property Value

IVolumeSelectorItem

IsCustomVolumeSelected

Shows whether custom volume is entered or volume template is selected

bool IsCustomVolumeSelected { get; }

Property Value

bool

VolumeFormat

Get format volume for display

string VolumeFormat { get; }

Property Value

string

VolumeItems

Collection of volume templates

IVolumeSelectorItem[]? VolumeItems { get; }

Property Value

IVolumeSelectorItem[]

Methods

SetCurrentVolumeItem(IVolumeSelectorItem?)

Method that allows to set particular volume template as selected

void SetCurrentVolumeItem(IVolumeSelectorItem? settings)

Parameters

settings IVolumeSelectorItem

Events

TradingVolumeInfoChanged

Event is raised when volume settings changed.

event Action TradingVolumeInfoChanged

Event Type

Action