Table of Contents

Class SpectraFastDialect

Namespace
StockSharp.Fix.Dialects.Moex.Spectra
Assembly
StockSharp.FAST.dll

Spectra FAST dialect.

[MediaIcon("moex_logo.svg")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Spectra", GroupName = "Russia")]
public class SpectraFastDialect : BaseUdpDialect, IUdpDialect, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable
Inheritance
SpectraFastDialect
Implements
Inherited Members
Extension Methods

Constructors

SpectraFastDialect()

Initializes a new instance of the SpectraFastDialect.

public SpectraFastDialect()

Properties

FODepth20

Futures and options: 20 quotes deep market depth.

[Display(ResourceType = typeof(LocalizedStrings), Name = "FODepth20", Description = "FODepth20", GroupName = "General", Order = 2)]
public UdpFeedGroup FODepth20 { get; }

Property Value

UdpFeedGroup

FODepth5

Futures and options: 5 quotes deep market depth.

[Display(ResourceType = typeof(LocalizedStrings), Name = "FODepth5", Description = "FODepth5", GroupName = "General", Order = 1)]
public UdpFeedGroup FODepth5 { get; }

Property Value

UdpFeedGroup

FODepth50

Futures and options: 50 quotes deep market depth.

[Display(ResourceType = typeof(LocalizedStrings), Name = "FODepth50", Description = "FODepth50", GroupName = "General", Order = 3)]
public UdpFeedGroup FODepth50 { get; }

Property Value

UdpFeedGroup

FOTrades

Futures and options: trades log.

[Display(ResourceType = typeof(LocalizedStrings), Name = "FOTrades", Description = "FOTrades", GroupName = "General", Order = 4)]
public UdpFeedGroup FOTrades { get; }

Property Value

UdpFeedGroup

FeatureName

Feature name.

public override string FeatureName { get; }

Property Value

string

FutInfo

Futures: general session information.

[Display(ResourceType = typeof(LocalizedStrings), Name = "FutInfo", Description = "FutInfo", GroupName = "General", Order = 5)]
public UdpFeedGroup FutInfo { get; }

Property Value

UdpFeedGroup

Index

Indexes.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Indecies", Description = "Indecies", GroupName = "General", Order = 12)]
public UdpFeedGroup Index { get; }

Property Value

UdpFeedGroup

IsNativeIdentifiers

Identify security in messages by native identifier Native.

public override bool IsNativeIdentifiers { get; }

Property Value

bool

News

News.

[Display(ResourceType = typeof(LocalizedStrings), Name = "News", Description = "NewsDot", GroupName = "General", Order = 13)]
public UdpFeedGroup News { get; }

Property Value

UdpFeedGroup

NewsSkrin

News (SKRIN).

[Display(ResourceType = typeof(LocalizedStrings), Name = "NewsSkrin", Description = "NewsSkrinDot", GroupName = "General", Order = 14)]
public UdpFeedGroup NewsSkrin { get; }

Property Value

UdpFeedGroup

OptInfo

Options: general session information.

[Display(ResourceType = typeof(LocalizedStrings), Name = "OptInfo", Description = "OptInfo", GroupName = "General", Order = 11)]
public UdpFeedGroup OptInfo { get; }

Property Value

UdpFeedGroup

OrderLog

Order log. Anonymous order_log.

[Display(ResourceType = typeof(LocalizedStrings), Name = "OrderLog", Description = "AnonymOrderLog", GroupName = "General", Order = 15)]
public UdpFeedGroup OrderLog { get; }

Property Value

UdpFeedGroup

StorageName

The storage name, associated with the adapter.

public override string StorageName { get; }

Property Value

string

SupportedOrderBookDepths

Available options for MaxDepth.

public override IEnumerable<int> SupportedOrderBookDepths { get; }

Property Value

IEnumerable<int>

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.