Table of Contents

Class CommissionBoardCodeRule

Namespace
StockSharp.Algo.Commissions
Assembly
StockSharp.Algo.dll

Board commission.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Board", Description = "BoardCommission", GroupName = "Board")]
public class CommissionBoardCodeRule : CommissionRule, ICommissionRule, IPersistable
Inheritance
CommissionBoardCodeRule
Implements
IPersistable
Inherited Members
Extension Methods

Constructors

CommissionBoardCodeRule()

public CommissionBoardCodeRule()

Properties

Board

Board code.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Board", Description = "BoardCode", GroupName = "General")]
public ExchangeBoard Board { get; set; }

Property Value

ExchangeBoard

Methods

GetTitle()

Get title.

protected override string GetTitle()

Returns

string

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

Process(ExecutionMessage)

To calculate commission.

public override decimal? Process(ExecutionMessage message)

Parameters

message ExecutionMessage

The message containing the information about the order or own trade.

Returns

decimal?

The commission. If the commission cannot be calculated then null will be returned.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.