InteractiveBrokersFixDialect
StockSharp.Fix.Dialects
Interactive Brokers FIX protocol dialect.
Inherits: BaseFixDialect
Constructors
InteractiveBrokersFixDialect
public InteractiveBrokersFixDialect(IdGenerator transactionIdGenerator)
interactiveBrokersFixDialect = InteractiveBrokersFixDialect(transactionIdGenerator)
Initializes a new instance of the InteractiveBrokersFixDialect.
- transactionIdGenerator
- Transaction id generator.
Properties
FeatureName
public override string FeatureName { get; }
value = interactiveBrokersFixDialect.FeatureName
Feature name.
OrderConditionType
public override Type OrderConditionType { get; }
value = interactiveBrokersFixDialect.OrderConditionType
Type of OrderCondition.
PossibleSupportedMessages
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
value = interactiveBrokersFixDialect.PossibleSupportedMessages
Possible supported by adapter message types.
Methods
GetSupportedMarketDataTypesAsync
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = interactiveBrokersFixDialect.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.
IsLogoutError
protected override bool IsLogoutError(string text)
result = interactiveBrokersFixDialect.IsLogoutError(text)
Check Logout contains error message.
- text
- Text message.
Returns: if the specified text contains error message, otherwise, .
OnWriteAsync
protected override ValueTask<string> OnWriteAsync(IFixWriter writer, Message message, CancellationToken cancellationToken)
result = interactiveBrokersFixDialect.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.