Table of Contents

Class CommissionGroup

Namespace
ATAS.DataFeedsCore.Commissions
Assembly
ATAS.DataFeedsCore.dll

A named set of commission rules assigned to accounts through Commission. The ATAS trading server charges the rules of the group on the trades of the account; see CommissionRulesGroup.

public class CommissionGroup : IEntity
Inheritance
object
CommissionGroup
Implements
Extension Methods

Constructors

CommissionGroup()

Creates a group with no rules.

public CommissionGroup()

Properties

EntityType

[Browsable(false)]
public EntityType EntityType { get; }

Property Value

EntityType

GroupId

Identifier of the user group that owns this commission group.

[Browsable(false)]
public long GroupId { get; set; }

Property Value

long

Id

Database identifier of the group; CommissionId refers to it.

[Browsable(false)]
public long Id { get; set; }

Property Value

long

Name

Name of the group, shown when the group is chosen.

public string Name { get; set; }

Property Value

string

Rules

The rules of the group, each saved as its type name and settings. Empty by default.

public List<CommissionGroupItem> Rules { get; set; }

Property Value

List<CommissionGroupItem>

Methods

OnPropertyChanged(string)

protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName string

The name of the changed property.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Events

PropertyChanged

Occurs when Id, Name or Rules is replaced.

Added in ATAS 8.0.15.

public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler