MarketEmulatorAdapter
StockSharp.Algo.Testing
Adapter wrapping IMarketEmulator to provide IMessageAdapter interface.
継承元: MessageAdapter
コンストラクター
MarketEmulatorAdapter(IMarketEmulator, IdGenerator)
Initializes a new instance.
- emulator
- The market emulator.
- transactionIdGenerator
- Transaction id generator.
プロパティ
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.
メソッド
Clone() : IMessageAdapter
Creates a deep copy of a DataSeries
DisposeManaged()
Release resources.
OnSendInMessageAsync(Message, CancellationToken) : ValueTask
Send message.