Class RtsHistoryMessageAdapter
- Namespace
- StockSharp.RtsHistory
- Assembly
- StockSharp.RtsHistory.dll
The message adapter for StockSharp.RtsHistory.
[MediaIcon("moex_logo.svg")]
[MessageAdapterCategory(MessageAdapterCategories.Russia|MessageAdapterCategories.History|MessageAdapterCategories.Free|MessageAdapterCategories.Ticks)]
public class RtsHistoryMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged, ILoginPasswordAdapter, IAddressAdapter<string>
- Inheritance
-
RtsHistoryMessageAdapter
- Implements
-
ICloneable<IMessageChannel>IPersistable
- Inherited Members
- Extension Methods
Constructors
RtsHistoryMessageAdapter(IdGenerator)
Initializes a new instance of the RtsHistoryMessageAdapter.
public RtsHistoryMessageAdapter(IdGenerator transactionIdGenerator)
Parameters
transactionIdGenerator
IdGeneratorTransaction id generator.
Fields
RtsMinAvailableTime
The earliest date in RTS, for which there are historical data.
public static readonly DateTime RtsMinAvailableTime
Field Value
UxMinAvailableTime
The earliest date in UX, for which there are historical data.
public static readonly DateTime UxMinAvailableTime
Field Value
Properties
Address
Server address.
public string Address { get; set; }
Property Value
DbfDirectory
The path to the folder with historical data in the DBF format.
public string DbfDirectory { get; set; }
Property Value
Remarks
If the value is an empty string, the data in the DBF format are not processed.
ExchangeBoard
Board info.
public string ExchangeBoard { get; set; }
Property Value
IsSystemOnly
To save only system trades. The default is enabled.
public bool IsSystemOnly { get; set; }
Property Value
LoadEveningSession
Download evening session data.
public bool LoadEveningSession { get; set; }
Property Value
Login
Login.
public string Login { get; set; }
Property Value
Password
Password.
public SecureString Password { get; set; }
Property Value
SaveRtsStdCombinedOnly
To merge trades for RTS Standard instruments (trades for T+N are not divided by folders). The default is off.
public bool SaveRtsStdCombinedOnly { get; set; }
Property Value
SaveRtsStdTrades
To save trades for RTS Standard instruments. The default is off.
public bool SaveRtsStdTrades { get; set; }
Property Value
TimeZone
Market-data time zone.
public TimeZoneInfo TimeZone { get; set; }
Property Value
TxtDirectory
The path to the folder with historical data in CSV and Excel formats.
public string TxtDirectory { get; set; }
Property Value
Remarks
If the value is an empty string, the data in CSV and Excel formats are not processed.
Methods
GetHistoryStepSize(DataType, out TimeSpan)
public override TimeSpan GetHistoryStepSize(DataType dataType, out TimeSpan iterationInterval)
Parameters
Returns
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnSendInMessage(Message)
Send message.
protected override bool OnSendInMessage(Message message)
Parameters
message
MessageMessage.
Returns
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.