GainFuturesFastDialect

StockSharp.Fix.Dialects.GainFutures

Получите диалект Futures FAST.

Наследует: BaseUdpDialect

Конструкторы

GainFuturesFastDialect
public GainFuturesFastDialect()
gainFuturesFastDialect = GainFuturesFastDialect()

Инициализирует новый экземпляр GainFuturesFastDialect.

Свойства

Address
public EndPoint Address { get; set; }
value = gainFuturesFastDialect.Address
gainFuturesFastDialect.Address = value

Адрес сервера.

Методы

ConnectAsync
protected override ValueTask ConnectAsync(ConnectMessage connectMsg, CancellationToken cancellationToken)
result = gainFuturesFastDialect.ConnectAsync(connectMsg, cancellationToken)
CreateParser
public override IUdpSettingsParser CreateParser()
result = gainFuturesFastDialect.CreateParser()

Создайте новый экземпляр класса IUdpSettingsParser.

Возвращает: IUdpSettingsParser

DisconnectAsync
protected override ValueTask DisconnectAsync(DisconnectMessage disconnectMsg, CancellationToken cancellationToken)
result = gainFuturesFastDialect.DisconnectAsync(disconnectMsg, cancellationToken)
GetSupportedMarketDataTypesAsync
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = gainFuturesFastDialect.GetSupportedMarketDataTypesAsync(securityId, from, to)

Получите поддержку от типов сообщений адаптера.

securityId
SecurityId
from
Дата начала запроса. Если , то будут возвращены все доступные сообщения.
to
Дата окончания запроса. Если , то будут возвращены все доступные сообщения.

Возвращает: Поддерживается типами рыночных данных адаптера.

Load
public override void Load(SettingsStorage storage)
gainFuturesFastDialect.Load(storage)

Загрузить настройки.

storage
Хранилище настроек.
LoadSettingsFromFile
public override void LoadSettingsFromFile(IDictionary<string, UdpFeedGroup> feeds)
gainFuturesFastDialect.LoadSettingsFromFile(feeds)

Загрузить настройки из указанного файла.

feeds
Настройки UDP.
MarketDataAsync
protected override ValueTask MarketDataAsync(MarketDataMessage mdMsg, CancellationToken cancellationToken)
result = gainFuturesFastDialect.MarketDataAsync(mdMsg, cancellationToken)
ResetAsync
protected override ValueTask ResetAsync(ResetMessage resetMsg, CancellationToken cancellationToken)
result = gainFuturesFastDialect.ResetAsync(resetMsg, cancellationToken)
Save
public override void Save(SettingsStorage storage)
gainFuturesFastDialect.Save(storage)

Сохраните настройки.

storage
Хранилище настроек.
TimeAsync
protected override ValueTask TimeAsync(TimeMessage timeMsg, CancellationToken cancellationToken)
result = gainFuturesFastDialect.TimeAsync(timeMsg, cancellationToken)