GainFuturesFastDialect

StockSharp.Fix.Dialects.GainFutures

Gain Futures FAST dialect.

Inherits: BaseUdpDialect

Constructors

GainFuturesFastDialect
public GainFuturesFastDialect()
gainFuturesFastDialect = GainFuturesFastDialect()

Initializes a new instance of the GainFuturesFastDialect.

Properties

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

Server address.

Methods

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

Create a new instance of the IUdpSettingsParser class.

Returns: 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)

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.

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

Loads the state of the object from the specified SettingsStorage.

storage
The SettingsStorage instance from which to load the data.
LoadSettingsFromFile
public override void LoadSettingsFromFile(IDictionary<string, UdpFeedGroup> feeds)
gainFuturesFastDialect.LoadSettingsFromFile(feeds)

Load settings from specified file.

feeds
UDP settings.
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)

Saves the state of the object to the specified SettingsStorage.

storage
The SettingsStorage instance to which to save the data.
TimeAsync
protected override ValueTask TimeAsync(TimeMessage timeMsg, CancellationToken cancellationToken)
result = gainFuturesFastDialect.TimeAsync(timeMsg, cancellationToken)