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
Methods
CreateParser()
Create a new instance of the IUdpSettingsParser class.
public override IUdpSettingsParser CreateParser()
Returns
GetSupportedMarketDataTypes(SecurityId, DateTimeOffset?, DateTimeOffset?)
Get supported by adapter message types.
public override IEnumerable<DataType> GetSupportedMarketDataTypes(SecurityId securityId, DateTimeOffset? from, DateTimeOffset? to)
Parameters
securityId
SecurityIdfrom
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
SettingsStorageSettings 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
SettingsStorageSettings storage.
SendInMessage(Message)
Send message.
public override bool SendInMessage(Message message)
Parameters
message
MessageMessage.