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
Methods
AddChangedOrder(Order)
To add the changed order.
void AddChangedOrder(Order order)
Parameters
order
OrderThe changed order.
AddFailedOrderCancel(OrderFail)
To add the order cancelling error.
void AddFailedOrderCancel(OrderFail fail)
Parameters
fail
OrderFailThe order error.
AddMyTrade(PnLInfo)
To add information about new trade.
void AddMyTrade(PnLInfo info)
Parameters
info
PnLInfoInformation on new trade.
AddNewOrder(Order)
To add new order.
void AddNewOrder(Order order)
Parameters
order
OrderNew order.
AddPnL(DateTimeOffset, decimal, decimal?)
To add the new profit-loss value.
void AddPnL(DateTimeOffset time, decimal pnl, decimal? commission)
Parameters
time
DateTimeOffsetThe change time
pnl
.pnl
decimalNew profit-loss value.
commission
decimal?Commission.
AddPosition(DateTimeOffset, decimal)
To add the new position value.
void AddPosition(DateTimeOffset time, decimal position)
Parameters
time
DateTimeOffsetThe change time
position
.position
decimalThe new position value.
AddRegisterFailedOrder(OrderFail)
To add the order registration error.
void AddRegisterFailedOrder(OrderFail fail)
Parameters
fail
OrderFailError registering order.
Reset()
To clear data on equity.
void Reset()