Class MoexLchiMessageAdapter
- Namespace
- StockSharp.MoexLchi
- Assembly
- StockSharp.MoexLchi.dll
The message adapter for StockSharp.MoexLchi.
[MediaIcon("MoexLchi_logo.png")]
[Doc("topics/api/connectors/russia/lci.html")]
[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
- Inherited Members
- Extension Methods
Constructors
MoexLchiMessageAdapter(IdGenerator)
Initializes a new instance of the MoexLchiMessageAdapter.
public MoexLchiMessageAdapter(IdGenerator transactionIdGenerator)
Parameters
transactionIdGeneratorIdGeneratorTransaction id generator.
Properties
AllYears
All years when the contest held.
public static IEnumerable<DateTime> AllYears { get; }
Property Value
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
securityIdSecurityIddataTypeDataTypeData type info.
iterationIntervalTimeSpanInterval between iterations.
Returns
- TimeSpan
Step.
OnSendInMessage(Message)
Send message.
protected override bool OnSendInMessage(Message message)
Parameters
messageMessageMessage.