Click or drag to resize

RiskManager Class

The risks control manager.
Inheritance Hierarchy

Namespace:  StockSharp.Algo.Risk
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public class RiskManager : BaseLogReceiver, 
	IRiskManager, IRiskRule, ILogSource, IDisposable, IPersistable

The RiskManager type exposes the following members.

Constructors
  NameDescription
Public methodRiskManager
Initializes a new instance of the RiskManager.
Top
Properties
  NameDescription
Public propertyCurrentTime
Current time, which will be passed to the Time.
(Inherited from BaseLogSource.)
Public propertyId
The unique identifier of the source.
(Inherited from BaseLogSource.)
Public propertyIsDisposed (Inherited from Disposable.)
Public propertyIsRoot
Whether the source is the root (even if Parent is not equal to ).
(Inherited from BaseLogSource.)
Public propertyLogLevel
The logging level. The default is set to Inherit.
(Inherited from BaseLogSource.)
Public propertyName
Source name (to distinguish in log files).
(Inherited from BaseLogSource.)
Public propertyParent
Parent.
(Inherited from BaseLogSource.)
Public propertyRules
Rule list.
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
Load settings.
(Overrides BaseLogSourceLoad(SettingsStorage).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessRules
To process the trade message.
Protected methodRaiseLog
To call the event Log.
(Inherited from BaseLogSource.)
Public methodReset
To reset the state.
Public methodSave
Save settings.
(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
New debug message event.
(Inherited from BaseLogSource.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetLogLevel
Get LogLevel for the source. If the value is equal to Inherit, then parental source level is taken.
(Defined by LoggingHelper.)
Top
See Also