GainFuturesFixDialect
StockSharp.Fix.Dialects.GainFutures
Gain Futures FIX protocol dialect.
継承元: BaseFixDialect
コンストラクター
GainFuturesFixDialect(IdGenerator)
Initializes a new instance of the GainFuturesFixDialect.
- transactionIdGenerator
- Transaction id generator.
プロパティ
PossibleSupportedMessages : IEnumerable<MessageTypeInfo>
Possible supported message types.
メソッド
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.
InitSecId(SecurityMessage, string, string, string, string)
Init security id information.
- message
- A message containing info about the security.
- symbol
- Symbol.
- securityExchange
- Security exchange.
- idSource
- Id source.
- idValue
- Id value.
IsAllDownloadingSupported(DataType) : bool
Is for the specified all securities downloading enabled.
- dataType
- Data type info.
戻り値: Check result.
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.
ProcessExecutionReportAsync(ExecutionReport, ExecutionMessage, CancellationToken) : IAsyncEnumerable<ExecutionMessage>
Process ExecutionReport instance.
- report
- ExecutionReport instance.
- message
- ExecutionMessage
- cancellationToken
- CancellationToken
ProcessExecutionReportExtraTagAsync(FixTags, IFixReader, ExecutionReport, CancellationToken) : ValueTask<bool>
Process extra tags for ExecutionReport.
- tag
- Tag.
- reader
- The reader of data recorded in the FIX protocol format.
- report
- Execution report.
- cancellationToken
- CancellationToken
戻り値: Result.
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.