Table of Contents

Class GainFuturesFastDialect

Namespace
StockSharp.Fix.Dialects.GainFutures
Assembly
StockSharp.FAST.dll

Gain Futures FAST dialect.

[MediaIcon("OpenECry_logo.png")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "OpenECry", GroupName = "Stock")]
public class GainFuturesFastDialect : BaseUdpDialect, IUdpDialect, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable
Inheritance
GainFuturesFastDialect
Implements
Inherited Members
Extension Methods

Constructors

GainFuturesFastDialect()

Initializes a new instance of the GainFuturesFastDialect.

public GainFuturesFastDialect()

Properties

Address

Server address.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Address", Description = "ServerAddressDot", GroupName = "Connection", Order = 0)]
[ItemsSource(typeof(GainFuturesFastDialect.GainFuturesAddressSource))]
public EndPoint Address { get; set; }

Property Value

EndPoint

Methods

CreateParser()

Create a new instance of the IUdpSettingsParser class.

public override IUdpSettingsParser CreateParser()

Returns

IUdpSettingsParser

IUdpSettingsParser

GetSupportedMarketDataTypes(SecurityId, DateTimeOffset?, DateTimeOffset?)

Get supported by adapter message types.

public override IEnumerable<DataType> GetSupportedMarketDataTypes(SecurityId securityId, DateTimeOffset? from, DateTimeOffset? to)

Parameters

securityId SecurityId

SecurityId

from DateTimeOffset?

Start date for request. If null, then all available messages will be returned.

to DateTimeOffset?

End date for request. If null, then all available messages will be returned.

Returns

IEnumerable<DataType>

Supported by adapter market data types.

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

LoadSettingsFromFile(IDictionary<string, UdpFeedGroup>)

Load settings from specified file.

public override void LoadSettingsFromFile(IDictionary<string, UdpFeedGroup> feeds)

Parameters

feeds IDictionary<string, UdpFeedGroup>

UDP settings.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

SendInMessage(Message)

Send message.

public override bool SendInMessage(Message message)

Parameters

message Message

Message.

Returns

bool

true if the specified message was processed successfully, otherwise, false.