Show / Hide Table of Contents

Interface IPositionControllerProvider

Interface described position controller provider.

Namespace: StockSharp.Algo.Matching
Assembly: StockSharp.Algo.dll
Syntax
public interface IPositionControllerProvider

Properties

CommissionManager

Commission manager.

Declaration
ICommissionManager CommissionManager { get; }
Property Value
Type Description
ICommissionManager

Controllers

All controllers.

Declaration
IEnumerable<IPositionController> Controllers { get; }
Property Value
Type Description
IEnumerable<IPositionController>

Methods

GetController(String)

Get controller for the specified portfolio name.

Declaration
IPositionController GetController(string portfolioName)
Parameters
Type Name Description
String portfolioName

Имя портфеля.

Returns
Type Description
IPositionController

Controller.

Reset()

Reset state.

Declaration
void Reset()

TryGetController(String, out IPositionController)

Try get controller for the specified portfolio name.

Declaration
bool TryGetController(string portfolioName, out IPositionController controller)
Parameters
Type Name Description
String portfolioName

Имя портфеля.

IPositionController controller

Controller.

Returns
Type Description
Boolean

true if controller was found, otherwise, false.

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾