Class XOpenHubFixDialect
- Namespace
- StockSharp.Fix.Dialects
- Assembly
- StockSharp.Fix.dll
XOpenHub FIX protocol dialect.
[MediaIcon("XOpenHub_logo.png")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "XOpenHub", GroupName = "Stock")]
public class XOpenHubFixDialect : BaseFixDialect, IFixDialect, IMessageAdapter, ICloneable<IMessageAdapter>, IMessageChannel, IMessageTransport, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, IDemoAdapter
- Inheritance
-
XOpenHubFixDialect
- Implements
- Inherited Members
- Extension Methods
Constructors
XOpenHubFixDialect(IdGenerator)
Initializes a new instance of the XOpenHubFixDialect.
public XOpenHubFixDialect(IdGenerator transactionIdGenerator)
Parameters
transactionIdGeneratorIdGeneratorTransaction id generator.
Properties
FeatureName
Feature name.
public override string FeatureName { get; }
Property Value
LoginAsPortfolioName
Use Login as portfolio name.
protected override bool LoginAsPortfolioName { get; }
Property Value
PossibleSupportedMessages
Possible supported by adapter message types.
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
Property Value
Methods
GetSupportedMarketDataTypes(SecurityId, DateTimeOffset?, DateTimeOffset?)
public override IEnumerable<DataType> GetSupportedMarketDataTypes(SecurityId securityId, DateTimeOffset? from, DateTimeOffset? to)
Parameters
securityIdSecurityIdfromDateTimeOffset?toDateTimeOffset?
Returns
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.
SendInMessage(Message)
public override bool SendInMessage(Message message)
Parameters
messageMessage