XOpenHubFixDialect

StockSharp.Fix.Dialects

XOpenHub FIX protocol dialect.

Inherits: BaseFixDialect

Constructors

XOpenHubFixDialect
public XOpenHubFixDialect(IdGenerator transactionIdGenerator)
xOpenHubFixDialect = XOpenHubFixDialect(transactionIdGenerator)

Initializes a new instance of the XOpenHubFixDialect.

transactionIdGenerator
Transaction id generator.

Properties

FeatureName
public override string FeatureName { get; }
value = xOpenHubFixDialect.FeatureName

Feature name.

LoginAsPortfolioName
protected override bool LoginAsPortfolioName { get; }
value = xOpenHubFixDialect.LoginAsPortfolioName

Use Login as portfolio name.

PossibleSupportedMessages
public override IEnumerable<MessageTypeInfo> PossibleSupportedMessages { get; }
value = xOpenHubFixDialect.PossibleSupportedMessages

Possible supported by adapter message types.

Methods

GetSupportedMarketDataTypesAsync
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = xOpenHubFixDialect.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 = xOpenHubFixDialect.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 = xOpenHubFixDialect.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.

SecurityLookupAsync
protected override ValueTask SecurityLookupAsync(SecurityLookupMessage lookupMsg, CancellationToken cancellationToken)
result = xOpenHubFixDialect.SecurityLookupAsync(lookupMsg, cancellationToken)