Table of Contents

Interface ICommissionRule

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

The commission calculating rule interface.

public interface ICommissionRule : IPersistable
Extension Methods

Properties

Title

Title.

string Title { get; }

Property Value

string

Value

Commission value.

Unit Value { get; }

Property Value

Unit

Methods

Process(ExecutionMessage)

To calculate commission.

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.

Reset()

To reset the state.

void Reset()