Class InteractiveBrokersFixDialect
- Namespace
- StockSharp.Fix.Dialects
- Assembly
- StockSharp.Fix.dll
Interactive Brokers FIX protocol dialect.
[MediaIcon("interactivebrokers_logo.svg")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "InteractiveBrokers", GroupName = "Stock")]
public class InteractiveBrokersFixDialect : BaseFixDialect, IFixDialect, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, IDemoAdapter
- Inheritance
-
InteractiveBrokersFixDialect
- Implements
- Inherited Members
- Extension Methods
Constructors
InteractiveBrokersFixDialect(IdGenerator)
Initializes a new instance of the InteractiveBrokersFixDialect.
public InteractiveBrokersFixDialect(IdGenerator transactionIdGenerator)
Parameters
transactionIdGeneratorIdGeneratorTransaction id generator.
Properties
FeatureName
Feature name.
public override string FeatureName { get; }
Property Value
OrderConditionType
Type of OrderCondition.
public override Type OrderConditionType { get; }
Property Value
Remarks
If the connection does not support the order type Conditional, it will be returned null.
PossibleSupportedMessages
Possible supported by adapter message types.
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
Property Value
Methods
GetSupportedMarketDataTypes(SecurityId, DateTimeOffset?, DateTimeOffset?)
Get supported by adapter message types.
public override IEnumerable<DataType> GetSupportedMarketDataTypes(SecurityId securityId, DateTimeOffset? from, DateTimeOffset? to)
Parameters
securityIdSecurityIdfromDateTimeOffset?Start date for request. If null, then all available messages will be returned.
toDateTimeOffset?End date for request. If null, then all available messages will be returned.
Returns
- IEnumerable<DataType>
Supported by adapter market data types.
IsLogoutError(string)
Check Logout contains error message.
protected override bool IsLogoutError(string text)
Parameters
textstringText message.
Returns
OnWrite(IFixWriter, Message)
Write the specified message into FIX protocol.
protected override string OnWrite(IFixWriter writer, Message message)
Parameters
writerIFixWriterThe recorder of data in the FIX protocol format.
messageMessageThe message.
Returns
- string
FixMessages value.