Table of Contents

Interface IStatisticsParameterGroup

Namespace
ATAS.DataFeedsCore.Statistics
Assembly
ATAS.DataFeedsCore.dll

One metric calculated over all round trips, over the long ones and over the short ones.

public interface IStatisticsParameterGroup
Extension Methods

Properties

Long

The metric over the long round trips.

Added in ATAS 8.0.15.

IStatisticsParameter Long { get; }

Property Value

IStatisticsParameter

Name

Display name of the metric.

string Name { get; }

Property Value

string

Short

The metric over the short round trips.

Added in ATAS 8.0.15.

IStatisticsParameter Short { get; }

Property Value

IStatisticsParameter

Total

The metric over all round trips.

Added in ATAS 8.0.15.

IStatisticsParameter Total { get; }

Property Value

IStatisticsParameter

Type

Type of the metric (a StatisticsParameter descendant).

Type Type { get; }

Property Value

Type

Methods

Clear()

Resets the total, long and short values.

void Clear()

Process(HistoryMyTrade)

Updates Total and either Long or Short with a round trip.

void Process(HistoryMyTrade trade)

Parameters

trade HistoryMyTrade

The round trip.