BrvmFixDialect
StockSharp.Fix.Dialects
BRVM FIX protocol dialect.
Inherits: BaseFixDialect
Constructors
BrvmFixDialect
public BrvmFixDialect(IdGenerator transactionIdGenerator)
brvmFixDialect = BrvmFixDialect(transactionIdGenerator)
Initializes a new instance of the BrvmFixDialect.
- transactionIdGenerator
- Transaction id generator.
Properties
FeatureName
public override string FeatureName { get; }
value = brvmFixDialect.FeatureName
Feature name.
PossibleSupportedMessages
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
value = brvmFixDialect.PossibleSupportedMessages
Possible supported by adapter message types.
SupportedOrderBookDepths
public override IEnumerable<int> SupportedOrderBookDepths { get; }
value = brvmFixDialect.SupportedOrderBookDepths
Available options for MaxDepth.
Methods
GetSupportedMarketDataTypesAsync
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = brvmFixDialect.GetSupportedMarketDataTypesAsync(securityId, from, to)
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.
Returns: Supported by adapter market data types.
OnWriteAsync
protected override ValueTask<string> OnWriteAsync(IFixWriter writer, Message message, CancellationToken cancellationToken)
result = brvmFixDialect.OnWriteAsync(writer, message, cancellationToken)
Write the specified message into FIX protocol.
- writer
- The recorder of data in the FIX protocol format.
- message
- The message.
- cancellationToken
- Cancellation token.
Returns: FixMessages value.