SpectraFastDialect
Spectra FAST dialect.
Inherits: BaseUdpDialect
Constructors
public SpectraFastDialect()
spectraFastDialect = SpectraFastDialect()
Initializes a new instance of the SpectraFastDialect.
Properties
public override string FeatureName { get; }
value = spectraFastDialect.FeatureName
Feature name.
public UdpFeedGroup FODepth20 { get; }
value = spectraFastDialect.FODepth20
Futures and options: 20 quotes deep market depth.
public UdpFeedGroup FODepth5 { get; }
value = spectraFastDialect.FODepth5
Futures and options: 5 quotes deep market depth.
public UdpFeedGroup FODepth50 { get; }
value = spectraFastDialect.FODepth50
Futures and options: 50 quotes deep market depth.
public UdpFeedGroup FOTrades { get; }
value = spectraFastDialect.FOTrades
Futures and options: trades log.
public UdpFeedGroup FutInfo { get; }
value = spectraFastDialect.FutInfo
Futures: general session information.
public override bool IsNativeIdentifiers { get; }
value = spectraFastDialect.IsNativeIdentifiers
Identify security in messages by native identifier Native.
public UdpFeedGroup OptInfo { get; }
value = spectraFastDialect.OptInfo
Options: general session information.
public UdpFeedGroup OrderLog { get; }
value = spectraFastDialect.OrderLog
Order log. Anonymous order_log.
public override string StorageName { get; }
value = spectraFastDialect.StorageName
The storage name, associated with the adapter.
public override IEnumerable<int> SupportedOrderBookDepths { get; }
value = spectraFastDialect.SupportedOrderBookDepths
Available options for MaxDepth.
Methods
public override IUdpSettingsParser CreateParser()
result = spectraFastDialect.CreateParser()
Create a new instance of the IUdpSettingsParser class.
Returns: IUdpSettingsParser
public override IAsyncEnumerable<DataType> GetSupportedMarketDataTypesAsync(SecurityId securityId, DateTime? from, DateTime? to)
result = spectraFastDialect.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.
public override void Load(SettingsStorage storage)
spectraFastDialect.Load(storage)
Load settings.
- storage
- Settings storage.
public override void LoadSettingsFromFile(IDictionary<string, UdpFeedGroup> feeds)
spectraFastDialect.LoadSettingsFromFile(feeds)
Load settings from specified file.
- feeds
- UDP settings.
protected override ValueTask MarketDataAsync(MarketDataMessage mdMsg, CancellationToken cancellationToken)
result = spectraFastDialect.MarketDataAsync(mdMsg, cancellationToken)
public override void Save(SettingsStorage storage)
spectraFastDialect.Save(storage)
Save settings.
- storage
- Settings storage.
protected override ValueTask SecurityLookupAsync(SecurityLookupMessage lookupMsg, CancellationToken cancellationToken)
result = spectraFastDialect.SecurityLookupAsync(lookupMsg, cancellationToken)