MarketEmulatorAdapter

StockSharp.Algo.Testing

Adapter wrapping IMarketEmulator to provide IMessageAdapter interface.

Erbt von: MessageAdapter

Konstruktoren

MarketEmulatorAdapter(IMarketEmulator, IdGenerator)

Initializes a new instance.

emulator
The market emulator.
transactionIdGenerator
Transaction id generator.

Eigenschaften

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.

Methoden

Clone() : IMessageAdapter

Creates a deep copy of a DataSeries

DisposeManaged()

Release resources.