BovespaFixDialect

StockSharp.Fix.Dialects.Bovespa

B3 BM&F Bovespa FIX协议方言.

继承自: BaseFixDialect

构造函数

BovespaFixDialect
public BovespaFixDialect(IdGenerator transactionIdGenerator)
bovespaFixDialect = BovespaFixDialect(transactionIdGenerator)

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

transactionIdGenerator
交易ID生成器。

属性

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

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

IsPositionsEmulationRequired
public override bool? IsPositionsEmulationRequired { get; }
value = bovespaFixDialect.IsPositionsEmulationRequired

需要模拟PositionChangeMessage的适配器。

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

使用登录作为组合名 。

OrderConditionType
public override Type OrderConditionType { get; }
value = bovespaFixDialect.OrderConditionType

Type of OrderCondition.

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

可能支持的信息类型 。

方法

GetBoardCode
protected override string GetBoardCode(string destination, string exchange, string tradingSession)
result = bovespaFixDialect.GetBoardCode(destination, exchange, tradingSession)

获取机板代码。

destination
ExDestination.
exchange
SecurityGroup.
tradingSession
TradingSessionID.

返回值: 董事会代码。

GetOrderType
protected override OrderTypes GetOrderType(ExecutionReport report, OrderCondition condition)
result = bovespaFixDialect.GetOrderType(report, condition)

获取命令类型。

report
执行报告.
condition
基础订单条件(例如,对于停止订单 algo 命令).

返回值: 秩序类型。

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

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

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

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

OnReadAsync
protected override IAsyncEnumerable<Message> OnReadAsync(IFixReader reader, string msgType, CancellationToken cancellationToken)
result = bovespaFixDialect.OnReadAsync(reader, msgType, cancellationToken)

读取 FIX 协议的下一封信件 。

reader
以FIX协议格式记录的数据的读取器.
msgType
消息类型 。
cancellationToken
CancellationToken

返回值: 消息的顺序.

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

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

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

返回值: FixMessages值 。

ProcessExecutionReportAsync
protected override IAsyncEnumerable<ExecutionMessage> ProcessExecutionReportAsync(ExecutionReport report, ExecutionMessage message, CancellationToken cancellationToken)
result = bovespaFixDialect.ProcessExecutionReportAsync(report, message, cancellationToken)

Process ExecutionReport instance.

report
ExecutionReport例.
message
ExecutionMessage
cancellationToken
CancellationToken
ProcessExecutionReportExtraTagAsync
protected override ValueTask<bool> ProcessExecutionReportExtraTagAsync(FixTags tag, IFixReader reader, ExecutionReport report, CancellationToken cancellationToken)
result = bovespaFixDialect.ProcessExecutionReportExtraTagAsync(tag, reader, report, cancellationToken)

处理 & #% ExecutionReport > 的额外标记 。

tag
标记。
reader
以FIX协议格式记录的数据的读取器.
report
执行报告.
cancellationToken
CancellationToken

返回值: 结果。

ProcessParties
protected override void ProcessParties(ExecutionReport report)
bovespaFixDialect.ProcessParties(report)

加工缔约方。

report
执行报告.
ProcessSequenceResetExtraTagAsync
protected override ValueTask<bool> ProcessSequenceResetExtraTagAsync(FixTags tag, IFixReader reader, FixSeqResetMessage message, CancellationToken cancellationToken)
result = bovespaFixDialect.ProcessSequenceResetExtraTagAsync(tag, reader, message, cancellationToken)

处理 & #% FixSeqResetMessage > 的额外标记 。

tag
标记。
reader
以FIX协议格式记录的数据的读取器.
message
序列重置消息.
cancellationToken
CancellationToken

返回值: 结果。