Table of Contents

Interface ICommissionManager

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

The commission calculating manager interface.

public interface ICommissionManager : IPersistable
Extension Methods

Properties

Commission

Total commission.

decimal Commission { get; }

Property Value

decimal

Rules

The list of commission calculating rules.

ISynchronizedCollection<ICommissionRule> Rules { get; }

Property Value

ISynchronizedCollection<ICommissionRule>

Methods

Process(Message)

To calculate commission.

decimal? Process(Message message)

Parameters

message Message

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.

Reset()

To reset the state.

void Reset()