Class TrueFXMessageAdapter
Адаптер сообщений для StockSharp.TrueFX.
Inherited Members
Namespace: StockSharp.TrueFX
Assembly: StockSharp.TrueFX.dll
Syntax
[MessageAdapterCategory]
[DisplayNameLoc("TrueFX")]
[MediaIcon("TrueFX_logo.png")]
[DescriptionLoc("Str1770", "TrueFX")]
[CategoryLoc("Forex")]
public class TrueFXMessageAdapter : MessageAdapter, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanged, ILoginPasswordAdapter
Constructors
TrueFXMessageAdapter(IdGenerator)
Создать TrueFXMessageAdapter.
Declaration
public TrueFXMessageAdapter(IdGenerator transactionIdGenerator)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Common.IdGenerator | transactionIdGenerator | Генератор транзакций. |
Properties
Login
Login.
Declaration
public string Login { get; set; }
Property Value
Type | Description |
---|---|
String |
Password
Password.
Declaration
public SecureString Password { get; set; }
Property Value
Type | Description |
---|---|
SecureString |
Methods
GetHistoryStepSize(DataType, out TimeSpan)
Получить максимальный размер шага, доступный для скачивания истории.
Declaration
public override TimeSpan GetHistoryStepSize(DataType dataType, out TimeSpan iterationInterval)
Parameters
Type | Name | Description |
---|---|---|
DataType | dataType | Тип данных. |
TimeSpan | iterationInterval | Interval between iterations. |
Returns
Type | Description |
---|---|
TimeSpan | Step. |
Overrides
IsAllDownloadingSupported(DataType)
Доступно ли для указанного dataType
загрузка всех инструментов.
Declaration
public override bool IsAllDownloadingSupported(DataType dataType)
Parameters
Type | Name | Description |
---|---|---|
DataType | dataType | Тип данных. |
Returns
Type | Description |
---|---|
Boolean | Результат проверки. |
Overrides
Load(SettingsStorage)
Загрузить настройки.
Declaration
public override void Load(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
OnSendInMessage(Message)
Отправить сообщение.
Declaration
protected override bool OnSendInMessage(Message message)
Parameters
Type | Name | Description |
---|---|---|
Message | message | Message. |
Returns
Type | Description |
---|---|
Boolean | true если переданное сообщение было обработано успешно, иначе, false. |
Overrides
Save(SettingsStorage)
Сохранить настройки.
Declaration
public override void Save(SettingsStorage storage)
Parameters
Type | Name | Description |
---|---|---|
Ecng.Serialization.SettingsStorage | storage | Хранилище настроек. |
Overrides
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |
Overrides
Implements
Ecng.Common.ICloneable<>
Ecng.Serialization.IPersistable