Table of Contents

Class WatchlistColumnAttribute

Namespace
ATAS.Indicators.Watchlist
Assembly
ATAS.Indicators.dll

Marks a class derived from WatchlistColumn as a Watchlist column and supplies its discovery metadata. The platform lists only columns that carry this attribute.

Not in ATAS 8.0.15 yet: available from the next version.

[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class WatchlistColumnAttribute : Attribute
Inheritance
object
Attribute
WatchlistColumnAttribute
Extension Methods

Constructors

WatchlistColumnAttribute(string)

Marks the class as a Watchlist column.

public WatchlistColumnAttribute(string id)

Parameters

id string

The stable identifier of the column (Id).

Properties

DisplayName

The column header and its name in the column chooser. If omitted, the class name is used.

public string? DisplayName { get; init; }

Property Value

string

Id

Stable column identifier, e.g. "mycompany.spread-ticks": <vendor>.<column-name> in lowercase letters, digits and dashes. The platform saves the column in workspaces and watchlists under this identifier, so it must never change once the column is released. The vendor atas is reserved.

public string Id { get; }

Property Value

string