XOpenHubFixDialect

StockSharp.Fix.Dialects

XOpenHubFIX协议方言.

继承自: BaseFixDialect

构造函数

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

初始化了 & ##XOpenHubFixDialect+#的新实例.

transactionIdGenerator
交易ID生成器。

属性

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

地物名相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相相

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

使用登录作为组合名 。

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

可能支持的信息类型 。

方法

GetSupportedMarketDataTypesAsync
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = xOpenHubFixDialect.GetSupportedMarketDataTypesAsync(securityId, from, to)

获得适配器消息类型支持 。

securityId
SecurityId
from
请求的起始日期。 如果 , 那么所有可用的信件都会被返回 。
to
请求结束日期。 如果 , 那么所有可用的信件都会被退回 。

返回值: 由适配器市场数据类型支持.

IsLogoutError
protected override bool IsLogoutError(string text)
result = xOpenHubFixDialect.IsLogoutError(text)

检查日志包含错误消息 。

text
腾讯网.

返回值: 如果指定的文本包含错误信息,则不在此限,

OnWriteAsync
protected override ValueTask<string> OnWriteAsync(IFixWriter writer, Message message, CancellationToken cancellationToken)
result = xOpenHubFixDialect.OnWriteAsync(writer, message, cancellationToken)

将指定的消息写入 FIX 协议 。

writer
FIX协议格式的数据记录器.
message
腾讯.
cancellationToken
取消的代币。

返回值: FixMessages值 。

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