AstsFastDialect
StockSharp.Fix.Dialects.Moex.Asts
ASTS FAST dialect.
Inherits: BaseUdpDialect
Constructors
AstsFastDialect
public AstsFastDialect()
astsFastDialect = AstsFastDialect()
Initializes a new instance of the AstsFastDialect.
Properties
FeatureName
public override string FeatureName { get; }
value = astsFastDialect.FeatureName
Feature name.
Methods
CreateParser
public override IUdpSettingsParser CreateParser()
result = astsFastDialect.CreateParser()
Create a new instance of the IUdpSettingsParser class.
Returns: IUdpSettingsParser
GetSupportedMarketDataTypesAsync
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = astsFastDialect.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)
astsFastDialect.Load(storage)
Load settings.
- storage
- Settings storage.
LoadSettingsFromFile
public override void LoadSettingsFromFile(IDictionary<string, UdpFeedGroup> feeds)
astsFastDialect.LoadSettingsFromFile(feeds)
Load settings from specified file.
- feeds
- UDP settings.
MarketDataAsync
protected override ValueTask MarketDataAsync(MarketDataMessage mdMsg, CancellationToken cancellationToken)
result = astsFastDialect.MarketDataAsync(mdMsg, cancellationToken)
Save
public override void Save(SettingsStorage storage)
astsFastDialect.Save(storage)
Save settings.
- storage
- Settings storage.
SecurityLookupAsync
protected override ValueTask SecurityLookupAsync(SecurityLookupMessage lookupMsg, CancellationToken cancellationToken)
result = astsFastDialect.SecurityLookupAsync(lookupMsg, cancellationToken)