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
-
objectCommissionGroup
- Implements
- Extension Methods
Constructors
CommissionGroup()
Creates a group with no rules.
public CommissionGroup()
Properties
EntityType
Always CommissionGroup.
[Browsable(false)]
public EntityType EntityType { get; }
Property Value
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)
Raises PropertyChanged.
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyNamestringThe 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
public event PropertyChangedEventHandler? PropertyChanged
Event Type
- PropertyChangedEventHandler