Table of Contents

Interface IStatisticManager

Namespace
StockSharp.Algo.Statistics
Assembly
StockSharp.Algo.dll

The statistics manager.

public interface IStatisticManager : IPersistable
Extension Methods

Properties

Parameters

Calculated parameters.

IStatisticParameter[] Parameters { get; }

Property Value

IStatisticParameter[]

Methods

AddChangedOrder(Order)

To add the changed order.

void AddChangedOrder(Order order)

Parameters

order Order

The changed order.

AddFailedOrderCancel(OrderFail)

To add the order cancelling error.

void AddFailedOrderCancel(OrderFail fail)

Parameters

fail OrderFail

The order error.

AddMyTrade(PnLInfo)

To add information about new trade.

void AddMyTrade(PnLInfo info)

Parameters

info PnLInfo

Information on new trade.

AddNewOrder(Order)

To add new order.

void AddNewOrder(Order order)

Parameters

order Order

New order.

AddPnL(DateTimeOffset, decimal, decimal?)

To add the new profit-loss value.

void AddPnL(DateTimeOffset time, decimal pnl, decimal? commission)

Parameters

time DateTimeOffset

The change time pnl.

pnl decimal

New profit-loss value.

commission decimal?

Commission.

AddPosition(DateTimeOffset, decimal)

To add the new position value.

void AddPosition(DateTimeOffset time, decimal position)

Parameters

time DateTimeOffset

The change time position.

position decimal

The new position value.

AddRegisterFailedOrder(OrderFail)

To add the order registration error.

void AddRegisterFailedOrder(OrderFail fail)

Parameters

fail OrderFail

Error registering order.

Reset()

To clear data on equity.

void Reset()