Click or drag to resize

IRiskRule Interface

The interface, describing risk-rule.

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

The IRiskRule type exposes the following members.

Properties
  NameDescription
Public propertyAction
Action.
Public propertyCurrentTime
Current time, which will be passed to the Time.
(Inherited from ILogSource.)
Public propertyId
The unique identifier of the source.
(Inherited from ILogSource.)
Public propertyIsRoot
Whether the source is the root (even if Parent is not equal to ).
(Inherited from ILogSource.)
Public propertyLogLevel
The logging level for the source.
(Inherited from ILogSource.)
Public propertyName
The source name.
(Inherited from ILogSource.)
Public propertyParent
Parental logs source.
(Inherited from ILogSource.)
Public propertyTitle
Header.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodLoad (Inherited from IPersistable.)
Public methodProcessMessage
To process the trade message.
Public methodReset
To reset the state.
Public methodSave (Inherited from IPersistable.)
Top
Events
  NameDescription
Public eventLog
New debug message event.
(Inherited from ILogSource.)
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