Table of Contents

Class BasketStrategy

Namespace
StockSharp.Algo.Strategies
Assembly
StockSharp.Algo.dll

The batch strategy, containing subsidiary strategies, affecting each other by their execution.

public class BasketStrategy : Strategy, IPersistable, INotifyPropertyChangedEx, INotifyPropertyChanged, IMarketRuleContainer, ILogReceiver, ILogSource, IDisposable, ICloneable<Strategy>, ICloneable, IMarketDataProvider, ISubscriptionProvider, ISecurityProvider, ISecurityMessageProvider, ITransactionProvider, IPositionProvider, IPortfolioProvider, IScheduledTask
Inheritance
BasketStrategy
Implements
IPersistable
INotifyPropertyChangedEx
ICloneable<Strategy>
Derived
Inherited Members
Extension Methods

Constructors

BasketStrategy(BasketStrategyFinishModes)

Initializes a new instance of the BasketStrategy.

public BasketStrategy(BasketStrategyFinishModes finishMode)

Parameters

finishMode BasketStrategyFinishModes

The condition of subsidiary strategies operation end.

Properties

FinishMode

The condition of subsidiary strategies operation end.

public BasketStrategyFinishModes FinishMode { get; }

Property Value

BasketStrategyFinishModes

FirstFinishStrategy

First stopped subsidiary strategy. The property is filled at FinishMode equals to First.

public Strategy FirstFinishStrategy { get; }

Property Value

Strategy

Methods

DisposeManaged()

Release resources.

protected override void DisposeManaged()

OnStarted(DateTimeOffset)

The method is called when the Start() method has been called and the ProcessState state has been taken the Started value.

protected override void OnStarted(DateTimeOffset time)

Parameters

time DateTimeOffset