Class AstsFastDialect
- Namespace
- StockSharp.Fix.Dialects.Moex.Asts
- Assembly
- StockSharp.FAST.dll
ASTS FAST dialect.
[MediaIcon("moex_logo.svg")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Asts", GroupName = "Russia")]
public class AstsFastDialect : BaseUdpDialect, IUdpDialect, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable
- Inheritance
-
AstsFastDialect
- Implements
- Inherited Members
- Extension Methods
Constructors
AstsFastDialect()
Initializes a new instance of the AstsFastDialect.
public AstsFastDialect()
Properties
Curr
Currency market.
[Display(ResourceType = typeof(LocalizedStrings), Name = "CurrencyMarket", Description = "CurrencyMarketDot", GroupName = "General", Order = 0)]
public AstsFastDialect.Config Curr { get; }
Property Value
FeatureName
Feature name.
public override string FeatureName { get; }
Property Value
Fond
Fond market.
[Display(ResourceType = typeof(LocalizedStrings), Name = "FondMarket", Description = "FondMarketDot", GroupName = "General", Order = 1)]
public AstsFastDialect.Config Fond { get; }
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.