Table of Contents

Class MoexLchiMessageAdapter

Namespace
StockSharp.MoexLchi
Assembly
StockSharp.MoexLchi.dll

The message adapter for StockSharp.MoexLchi.

[MediaIcon("MoexLchi_logo.png")]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Lchi", Description = "MarketDataConnector", GroupName = "Russia")]
[MessageAdapterCategory(MessageAdapterCategories.Russia|MessageAdapterCategories.History|MessageAdapterCategories.Free|MessageAdapterCategories.OrderLog)]
public class MoexLchiMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged
Inheritance
MoexLchiMessageAdapter
Implements
ICloneable<IMessageChannel>
IPersistable
Inherited Members
Extension Methods

Constructors

MoexLchiMessageAdapter(IdGenerator)

Initializes a new instance of the MoexLchiMessageAdapter.

public MoexLchiMessageAdapter(IdGenerator transactionIdGenerator)

Parameters

transactionIdGenerator IdGenerator

Transaction id generator.

Properties

AllYears

All years when the contest held.

public static IEnumerable<DateTime> AllYears { get; }

Property Value

IEnumerable<DateTime>

Methods

GetHistoryStepSize(SecurityId, DataType, out TimeSpan)

Get maximum size step allowed for historical download.

public override TimeSpan GetHistoryStepSize(SecurityId securityId, DataType dataType, out TimeSpan iterationInterval)

Parameters

securityId SecurityId

SecurityId

dataType DataType

Data type info.

iterationInterval TimeSpan

Interval between iterations.

Returns

TimeSpan

Step.

OnSendInMessage(Message)

Send message.

protected override bool OnSendInMessage(Message message)

Parameters

message Message

Message.

Returns

bool

true if the specified message was processed successfully, otherwise, false.