Table of Contents

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, IMessageChannel, 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

transactionIdGenerator IdGenerator

Transaction id generator.

Properties

FeatureName

Feature name.

public override string FeatureName { get; }

Property Value

string

LoginAsPortfolioName

Use Login as portfolio name.

protected override bool LoginAsPortfolioName { get; }

Property Value

bool

PossibleSupportedMessages

Possible supported by adapter message types.

public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }

Property Value

IEnumerable<MessageTypeInfo>

Methods

GetSupportedMarketDataTypes(SecurityId, DateTimeOffset?, DateTimeOffset?)

Get supported by adapter message types.

public override IEnumerable<DataType> GetSupportedMarketDataTypes(SecurityId securityId, DateTimeOffset? from, DateTimeOffset? to)

Parameters

securityId SecurityId

SecurityId

from DateTimeOffset?

Start date for request. If null, then all available messages will be returned.

to DateTimeOffset?

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

text string

Text message.

Returns

bool

true if the specified text contains error message, otherwise, false.

OnWrite(IFixWriter, Message)

Write the specified message into FIX protocol.

protected override string OnWrite(IFixWriter writer, Message message)

Parameters

writer IFixWriter

The recorder of data in the FIX protocol format.

message Message

The message.

Returns

string

FixMessages value.

SendInMessage(Message)

Send message.

public override bool SendInMessage(Message message)

Parameters

message Message

Message.

Returns

bool

true if the specified message was processed successfully, otherwise, false.