MarketEmulatorAdapter

StockSharp.Algo.Testing

Adapter wrapping IMarketEmulator to provide IMessageAdapter interface.

Herda de: MessageAdapter

Construtores

MarketEmulatorAdapter(IMarketEmulator, IdGenerator)

Initializes a new instance.

emulator
The market emulator.
transactionIdGenerator
Transaction id generator.

Propriedades

CurrentTime : DateTime

Current UTC time.

Emulator : IMarketEmulator

The market emulator.

IsAutoReplyOnTransactonalUnsubscription : bool

Send auto response for OrderStatusMessage and PortfolioLookupMessage unsubscribes.

IsPositionsEmulationRequired : bool?

Adapter required emulation PositionChangeMessage.

IsSupportExecutionsPnL : bool

Adapter fills PnL.

IsSupportTransactionLog : bool

Adapter translates orders changes on reply of OrderStatusMessage.

Métodos

Clone() : IMessageAdapter

Creates a deep copy of a DataSeries

DisposeManaged()

Release resources.