Click or drag to resize

IMarketEmulator Interface

The interface, describing paper trading.

Namespace:  StockSharp.Algo.Testing
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public interface IMarketEmulator : IMessageChannel, 
	IDisposable, ICloneable<IMessageChannel>, ICloneable, ILogSource

The IMarketEmulator type exposes the following members.

Properties
  NameDescription
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 propertyIsOpened
Is channel opened.
(Inherited from IMessageChannel.)
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 propertySettings
Emulator settings.
Top
Methods
  NameDescription
Public methodClone (Inherited from ICloneableIMessageChannel.)
Public methodClose
Close channel.
(Inherited from IMessageChannel.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodOpen
Open channel.
(Inherited from IMessageChannel.)
Public methodSendInMessage
Send message.
(Inherited from IMessageChannel.)
Top
Events
  NameDescription
Public eventLog
New debug message event.
(Inherited from ILogSource.)
Public eventNewOutMessage
New message event.
(Inherited from IMessageChannel.)
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