DukasCopyFixDialect
StockSharp.Fix.Dialects
DukasCopy FIX protocol dialect.
Наследует: BaseFixDialect
Конструкторы
DukasCopyFixDialect(IdGenerator)
Initializes a new instance of the DukasCopyFixDialect.
- transactionIdGenerator
- Transaction id generator.
Свойства
FeatureName : string
Feature name.
LoginAsPortfolioName : bool
Use Login as portfolio name.
PossibleSupportedMessages : IEnumerable<MessageTypeInfo>
Possible supported message types.
SupportedOrderBookDepths : IEnumerable<int>
Available options for MaxDepth.
Методы
GetOrderType(ExecutionReport, OrderCondition) : OrderTypes
Get order type.
- report
- Execution report.
- condition
- Base order condition (for example, for stop order algo orders).
Возвращает: Order type.
GetSupportedMarketDataTypesAsync(SecurityId, DateTime?, DateTime?) : IAsyncEnumerable<DataType>
Get supported by adapter message types.
- securityId
- SecurityId
- from
- Start date for request. If , then all available messages will be returned.
- to
- End date for request. If , then all available messages will be returned.
Возвращает: Supported by adapter market data types.
IsLogoutError(string) : bool
Check Logout contains error message.
- text
- Text message.
Возвращает: if the specified text contains error message, otherwise, .
OnReadAsync(IFixReader, string, CancellationToken) : IAsyncEnumerable<Message>
Read next message from FIX protocol.
- reader
- The reader of data recorded in the FIX protocol format.
- msgType
- Message type.
- cancellationToken
- CancellationToken
Возвращает: The sequence of messages.
OnReset()
Reset state.
OnWriteAsync(IFixWriter, Message, CancellationToken) : ValueTask<string>
Write the specified message into FIX protocol.
- writer
- The recorder of data in the FIX protocol format.
- message
- The message.
- cancellationToken
- Cancellation token.
Возвращает: FixMessages value.