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, IMessageTransport, IPersistable, ILogReceiver, ILogSource, IDisposable, ICloneable<IMessageAdapter>, ICloneable, 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)
public override TimeSpan GetHistoryStepSize(SecurityId securityId, DataType dataType, out TimeSpan iterationInterval)
Parameters
securityIdSecurityIddataTypeDataTypeiterationIntervalTimeSpan
Returns
OnSendInMessage(Message)
protected override bool OnSendInMessage(Message message)
Parameters
messageMessage