Click or drag to resize

RiskRule Class

Базовое риск-правило.
Inheritance Hierarchy

Namespace:  StockSharp.Algo.Risk
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public abstract class RiskRule : BaseLogReceiver, 
	IRiskRule, ILogSource, IDisposable, IPersistable, INotifyPropertyChanged

The RiskRule type exposes the following members.

Constructors
  NameDescription
Protected methodRiskRule
Инициализировать RiskRule.
Top
Properties
  NameDescription
Public propertyAction
Действие, которое необходимо совершить в случае активации правило.
Public propertyCurrentTime
Текущее время, которое будет передано в Time.
(Inherited from BaseLogSource.)
Public propertyId
Уникальный идентификатор источника.
(Inherited from BaseLogSource.)
Public propertyIsDisposed (Inherited from Disposable.)
Public propertyIsRoot
Является ли источник корнем (даже при Parent не равным ).
(Inherited from BaseLogSource.)
Public propertyLogLevel
Уровень логирования для источника.
(Inherited from BaseLogSource.)
Public propertyName
Имя источника.
(Inherited from BaseLogSource.)
Public propertyParent
Родительский источник логов.
(Inherited from BaseLogSource.)
Public propertyTitle
Заголовок.
Top
Methods
  NameDescription
Public methodDispose (Inherited from Disposable.)
Protected methodDisposeManaged (Inherited from Disposable.)
Protected methodDisposeNative (Inherited from Disposable.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from Disposable.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Загрузить настройки.
(Overrides BaseLogSourceLoad(SettingsStorage).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessMessage
Обработать торговое сообщение.
Protected methodRaiseLog
Вызвать событие Log.
(Inherited from BaseLogSource.)
Public methodReset
Сбросить состояние.
Public methodSave
Сохранить настройки.
(Overrides BaseLogSourceSave(SettingsStorage).)
Protected methodThrowIfDisposed (Inherited from Disposable.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseLogSource.)
Top
Events
  NameDescription
Public eventLog
Событие нового отладочного сообщения.
(Inherited from BaseLogSource.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetLogLevel
Получить LogLevel для источника. Если значение равно Inherit, то берется уровень родительского источника.
(Defined by LoggingHelper.)
Top
See Also
Inheritance Hierarchy
SystemObject
  Disposable
    StockSharp.LoggingBaseLogSource
      StockSharp.LoggingBaseLogReceiver
        StockSharp.Algo.RiskRiskRule
          StockSharp.Algo.RiskRiskCommissionRule
          StockSharp.Algo.RiskRiskOrderFreqRule
          StockSharp.Algo.RiskRiskOrderPriceRule
          StockSharp.Algo.RiskRiskOrderVolumeRule
          StockSharp.Algo.RiskRiskPnLRule
          StockSharp.Algo.RiskRiskPositionSizeRule
          StockSharp.Algo.RiskRiskPositionTimeRule
          StockSharp.Algo.RiskRiskSlippageRule
          StockSharp.Algo.RiskRiskTradeFreqRule
          StockSharp.Algo.RiskRiskTradePriceRule
          StockSharp.Algo.RiskRiskTradeVolumeRule