QuikDropCopyFixDialect

StockSharp.Fix.Dialects

QUIK DropCopy FIX protocol dialect.

继承自: BaseFixDialect

构造函数

QuikDropCopyFixDialect(IdGenerator)

Initializes a new instance of the QuikDropCopyFixDialect.

transactionIdGenerator
Transaction id generator.

属性

FeatureName : string

Feature name.

PossibleSupportedMessages : IEnumerable<MessageTypeInfo>

Possible supported message types.

SupportedOrderBookDepths : IEnumerable<int>

Available options for MaxDepth.

方法

FromSecurityTradingStatus(int?) : SecurityStates?

Convert SecurityTradingStatus to SecurityStates value.

status
SecurityTradingStatus value.

返回值: SecurityStates value.

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.

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.

ProcessSecurityDefinitionAsync(FixTags, IFixReader, SecurityMessage, CancellationToken) : ValueTask<bool>

Process SecurityDefinition message.

tag
Tag.
reader
The reader of data recorded in the FIX protocol format.
message
A message containing info about the security.
cancellationToken
CancellationToken

返回值: Processing result.