Table of Contents

Class StrategyParamHelper

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

The auxiliary class for StrategyParam<T>.

public static class StrategyParamHelper
Inheritance
StrategyParamHelper
Inherited Members

Methods

CanOptimize(Type)

Check can optimize parameter.

public static bool CanOptimize(this Type type)

Parameters

type Type

The type of the parameter value.

Returns

bool

true, if can optimize the parameter, otherwise, false.

CreateParam(Type, string)

Create parameter.

public static IStrategyParam CreateParam(Type type, string id)

Parameters

type Type

Type

id string

Id

Returns

IStrategyParam

IStrategyParam

GetName(IStrategyParam)

Get the parameter name.

public static string GetName(this IStrategyParam param)

Parameters

param IStrategyParam

IStrategyParam

Returns

string

Display name.